Difference between revisions of "Template:EnemyAttributes"
Jump to navigation
Jump to search
(Created page with "<includeonly><!-- --- If Enemy name is provided as second parameter, use the parameter instead of root page. --- -->{{#vardefine:Page|{{#if:{{{2|}}}|{{{2|}}}|{{ROOTPAGENAME}}}}}}<!-- --- Load complete datastring into a variable - to only load from the Enemy data page once. --- -->{{#vardefine:Datastring|{{:Enemy_data|{{#var:Page}}}}}}<!-- --- Return one attribute as specified by parameter, otherwise return 0 --- -->{{#switch: {{{1|}}} |STR = {{#explode: {{#var:Datastring...") |
|||
Line 11: | Line 11: | ||
|VIT = {{#explode: {{#var:Datastring}}|;|44}} | |VIT = {{#explode: {{#var:Datastring}}|;|44}} | ||
|WIL = {{#explode: {{#var:Datastring}}|;|46}} | |WIL = {{#explode: {{#var:Datastring}}|;|46}} | ||
|#default = 0 }} | |#default = 0 }}</includeonly> |