|
|
Line 31: |
Line 31: |
| |rowclass7 = mergedtoprow mergedbottomrow | | |rowclass7 = mergedtoprow mergedbottomrow |
| }}[[Category:All Deities]] | | }}[[Category:All Deities]] |
| {{#vardefine:DomainNumber|0}}
| | </includeonly><noinclude>[[Category:Templates]]</noinclude> |
| {{#vardefine:DomainName|{{#replace:{{#replace:{{#replace:{{#explode:{{{domains}}}|{{•}}|{{#var:DomainNumber}}}}|[|}}|]|}}|<br />|}}}}
| |
| {{#while:
| |
| |{{#if:{{#var:DomainName}}|true}}
| |
| |[[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:{{{setting}}}|{{•}}|{{#var:SettingNumber}}}}|[|}}|]|}}}}
| |
| {{#if:{{{alignment|}}}|[[Category:{{{alignment}}} Deities]]}}
| |
| }}</includeonly><noinclude>[[Category:Templates]]</noinclude>
| |