From Dark and Darker Wiki
m (Adding parameter functionality.) |
m (Removed unwanted linebreaks) |
||
Line 37: | Line 37: | ||
|{{#vardefine:current|{{ #arrayindex:monsters | {{ #var:i }}}}}}<!-- | |{{#vardefine:current|{{ #arrayindex:monsters | {{ #var:i }}}}}}<!-- | ||
-->{{#if:{{#var:current}}|<li>[[{{#var:current}}]]</li>}} | -->{{#if:{{#var:current}}|<li>[[{{#var:current}}]]</li>}} | ||
}}</ul></includeonly> | }}</ul></includeonly><noinclude> | ||
<noinclude> | |||
Example: <pre> {{GenerateMonsterRace|Skeleton}} </pre> | Example: <pre> {{GenerateMonsterRace|Skeleton}} </pre> | ||
{{GenerateRacePage|Skeleton}} | {{GenerateRacePage|Skeleton}} | ||
</noinclude> | </noinclude> |
Revision as of 20:54, 20 February 2024
Example:
{{GenerateMonsterRace|Skeleton}}