From Dark and Darker Wiki

m (class base attributes to HF42)
((test2) Automated edit for hotfix HF42)
Line 3: Line 3:
|all_attributes=Strength,Vigor,Agility,Dexterity,Knowledge,Will,Resourcefulness
|all_attributes=Strength,Vigor,Agility,Dexterity,Knowledge,Will,Resourcefulness
|barbarian={{#switch:{{lc:{{{2|}}}}}
|barbarian={{#switch:{{lc:{{{2|}}}}}
  |attributes={{#switch:{{lc:{{{3|}}}}}
|name=Barbarian
    |strength=20
|attributes={{#switch:{{lc:{{{3|}}}}}
    |vigor=25
|strength=20
    |agility=13
|vigor=25
    |dexterity=12
|agility=13
    |knowledge=5
|dexterity=12
    |will=18
|will=18
    |resourcefulness=12
|knowledge=5
    |#default=
|resourcefulness=12
    }}
|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness
  |#default=
}}
  }}
|#default=
}}
|bard={{#switch:{{lc:{{{2|}}}}}
|bard={{#switch:{{lc:{{{2|}}}}}
  |attributes={{#switch:{{lc:{{{3|}}}}}
|name=Bard
    |strength=13
|attributes={{#switch:{{lc:{{{3|}}}}}
    |vigor=13
|strength=13
    |agility=13
|vigor=13
    |dexterity=20
|agility=13
    |knowledge=20
|dexterity=20
    |will=11
|will=11
    |resourcefulness=15
|knowledge=20
    |#default=
|resourcefulness=15
    }}
|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness
  |#default=
}}
  }}
|#default=
}}
|cleric={{#switch:{{lc:{{{2|}}}}}
|cleric={{#switch:{{lc:{{{2|}}}}}
  |attributes={{#switch:{{lc:{{{3|}}}}}
|name=Cleric
    |strength=11
|attributes={{#switch:{{lc:{{{3|}}}}}
    |vigor=13
|strength=11
    |agility=12
|vigor=13
    |dexterity=14
|agility=12
    |knowledge=20
|dexterity=14
    |will=23
|will=23
    |resourcefulness=12
|knowledge=20
    |#default=
|resourcefulness=12
    }}
|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness
  |#default=
}}
  }}
|#default=
}}
|fighter={{#switch:{{lc:{{{2|}}}}}
|fighter={{#switch:{{lc:{{{2|}}}}}
  |attributes={{#switch:{{lc:{{{3|}}}}}
|name=Fighter
    |strength=15
|attributes={{#switch:{{lc:{{{3|}}}}}
    |vigor=15
|strength=15
    |agility=15
|vigor=15
    |dexterity=15
|agility=15
    |knowledge=15
|dexterity=15
    |will=15
|will=15
    |resourcefulness=15
|knowledge=15
    |#default=
|resourcefulness=15
    }}
|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness
  |#default=
}}
  }}
|#default=
}}
|ranger={{#switch:{{lc:{{{2|}}}}}
|ranger={{#switch:{{lc:{{{2|}}}}}
  |attributes={{#switch:{{lc:{{{3|}}}}}
|name=Ranger
    |strength=10
|attributes={{#switch:{{lc:{{{3|}}}}}
    |vigor=10
|strength=10
    |agility=20
|vigor=10
    |dexterity=18
|agility=20
    |knowledge=12
|dexterity=18
    |will=10
|will=10
    |resourcefulness=25
|knowledge=12
    |#default=
|resourcefulness=25
    }}
|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness
  |#default=
}}
  }}
|#default=
}}
|rogue={{#switch:{{lc:{{{2|}}}}}
|rogue={{#switch:{{lc:{{{2|}}}}}
  |attributes={{#switch:{{lc:{{{3|}}}}}
|name=Rogue
    |strength=9
|attributes={{#switch:{{lc:{{{3|}}}}}
    |vigor=6
|strength=9
    |agility=25
|vigor=6
    |dexterity=25
|agility=25
    |knowledge=10
|dexterity=25
    |will=10
|will=10
    |resourcefulness=20
|knowledge=10
    |#default=
|resourcefulness=20
    }}
|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness
  |#default=
}}
  }}
|#default=
}}
|warlock={{#switch:{{lc:{{{2|}}}}}
|warlock={{#switch:{{lc:{{{2|}}}}}
  |attributes={{#switch:{{lc:{{{3|}}}}}
|name=Warlock
    |strength=11
|attributes={{#switch:{{lc:{{{3|}}}}}
    |vigor=14
|strength=11
    |agility=14
|vigor=14
    |dexterity=15
|agility=14
    |knowledge=15
|dexterity=15
    |will=22
|will=22
    |resourcefulness=14
|knowledge=15
    |#default=
|resourcefulness=14
    }}
|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness
  |#default=
}}
  }}
|#default=
}}
|wizard={{#switch:{{lc:{{{2|}}}}}
|wizard={{#switch:{{lc:{{{2|}}}}}
  |attributes={{#switch:{{lc:{{{3|}}}}}
|name=Wizard
    |strength=6
|attributes={{#switch:{{lc:{{{3|}}}}}
    |vigor=7
|strength=6
    |agility=15
|vigor=7
    |dexterity=17
|agility=15
    |knowledge=25
|dexterity=17
    |will=20
|will=20
    |resourcefulness=15
|knowledge=25
    |#default=
|resourcefulness=15
    }}
|all=Strength,Vigor,Agility,Dexterity,Will,Knowledge,Resourcefulness
  |#default=
}}
  }}
|#default=
|#default=
}}
}}</includeonly><noinclude>
|#default=}}</includeonly><noinclude>
Can call
==Usage==
* any class name
<pre>{{Class_Data|<variable1>|<variable2>|...}}</pre>
** attributes|any attribute name
* all_classes
* all_attributes




Example <pre>{{Class_Data|fighter|attributes|strength}} </pre>
==Variables==
*all_classes
*all_attributes
*<class name>
**attributes
***<attribute name>
 
 
==Examples==
===Example 1===
<pre>{{Class_Data|fighter|attributes|strength}} </pre>
{{Class_Data|fighter|attributes|strength}}
{{Class_Data|fighter|attributes|strength}}
 
===Example 2===
<pre>{{Class_Data|all_classes}}</pre>
<pre>{{Class_Data|all_classes}}</pre>
{{Class_Data|all_classes}}
{{Class_Data|all_classes}}
 
===Example 3===
<pre>{{Class_Data|all_attributes}}</pre>
<pre>{{Class_Data|all_attributes}}</pre>
{{Class_Data|all_attributes}}
{{Class_Data|all_attributes}}"
 
</noinclude>
<noinclude>

Revision as of 02:25, 23 April 2024

Usage

{{Class_Data|<variable1>|<variable2>|...}}


Variables

  • all_classes
  • all_attributes
  • <class name>
    • attributes
      • <attribute name>


Examples

Example 1

{{Class_Data|fighter|attributes|strength}} 

15

Example 2

{{Class_Data|all_classes}}

Barbarian,Bard,Cleric,Fighter,Ranger,Rogue,Warlock,Wizard

Example 3

{{Class_Data|all_attributes}}

Strength,Vigor,Agility,Dexterity,Knowledge,Will,Resourcefulness"