Template:Infobox test: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 41: Line 41:
{{#while:
{{#while:
|{{#if:{{#var:SettingName}}|true}}
|{{#if:{{#var:SettingName}}|true}}
|[[Category:{{#var:SettingName}} Deities]]{{#vardefine:SettingNumber|{{#expr:{{#var:SettingNumber}}+1}}}}{{#vardefine:SettingName|{{#replace:{{#replace:{{#explode:{{{settings}}}|{{•}}|{{#var:SettingNumber}}}}|[|}}|]|}}}}
|[[Category:{{#var:SettingName}} Deities]]{{#vardefine:SettingNumber|{{#expr:{{#var:SettingNumber}}+1}}}}{{#vardefine:SettingName|{{#replace:{{#replace:{{#explode:{{{setting}}}|{{•}}|{{#var:SettingNumber}}}}|[|}}|]|}}}}
{{#if:{{{alignment|}}}|[[Category:{{{alignment}}} Deities]]}}
{{#if:{{{alignment|}}}|[[Category:{{{alignment}}} Deities]]}}
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>

Revision as of 19:11, 20 May 2022