Template:Infobox test: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 30: Line 30:
|rowclass6 = mergedbottomrow
|rowclass6 = mergedbottomrow
|rowclass7 = mergedtoprow mergedbottomrow
|rowclass7 = mergedtoprow mergedbottomrow
 
}}[[Category:All Deities]]
[[Category:All Deities]]
{{#vardefine:DomainNumber|0}}
{{#vardefine:DomainNumber|0}}
{{#vardefine:DomainName|{{#replace:{{#replace:{{#replace:{{#explode:{{{domains}}}|{{•}}|{{#var:DomainNumber}}}}|[|}}|]|}}|<br />|}}}}
{{#vardefine:DomainName|{{#replace:{{#replace:{{#replace:{{#explode:{{{domains}}}|{{•}}|{{#var:DomainNumber}}}}|[|}}|]|}}|<br />|}}}}
Line 44: Line 43:
|[[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:{{{settings}}}|{{•}}|{{#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:10, 20 May 2022