Template:Infobox Deity: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 44: | Line 44: | ||
|[[Category:{{#var:DomainName}} Deities]]{{#vardefine:DomainNumber|{{#expr:{{#var:DomainNumber}}+1}}}}{{#vardefine:DomainName|{{#replace:{{#replace:{{#explode:{{{domains}}}|{{•}}|{{#var:DomainNumber}}}}|[|}}|]|}}}} | |[[Category:{{#var:DomainName}} Deities]]{{#vardefine:DomainNumber|{{#expr:{{#var:DomainNumber}}+1}}}}{{#vardefine:DomainName|{{#replace:{{#replace:{{#explode:{{{domains}}}|{{•}}|{{#var:DomainNumber}}}}|[|}}|]|}}}} | ||
}} | }} | ||
{{#vardefine:SettingNumber|0}} | |||
{{#vardefine:SettingName|{{#replace:{{#replace:{{#replace:{{#explode:{{{settings}}}|{{•}}|{{#var:SettingNumber}}}}|[|}}|]|}}|<br />|}}}} | |||
{{#while: | |||
|{{#if:{{#var:SettingName}}|true}} | |||
|[[Category:{{#var:SettingName}} Deities]]{{#vardefine:SettingNumber|{{#expr:{{#var:SettingNumber}}+1}}}}{{#vardefine:SettingName|{{#replace:{{#replace:{{#explode:{{{settings}}}|{{•}}|{{#var:SettingNumber}}}}|[|}}|]|}}}} | |||
}} | |||
}}</includeonly><noinclude>[[Category:Templates]]</noinclude> | }}</includeonly><noinclude>[[Category:Templates]]</noinclude> |