Template:Infobox Deity: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
|caption2 = {{#if:{{{imagecaption2|}}}|{{{imagecaption2|}}}}} | |caption2 = {{#if:{{{imagecaption2|}}}|{{{imagecaption2|}}}}} | ||
|imagerowclass3 = mergedtoprow mergedbottomrow | |imagerowclass3 = mergedtoprow mergedbottomrow | ||
|image3 = {{#if:{{{image-tab|}}}|{{{image-tab|}}} | |image3 = {{#if:{{{image-tab|}}}|{{{image-tab|}}}}} | ||
|rowclass1 = mergedtoprow | |rowclass1 = mergedtoprow | ||
|label1 = Domain(s) | |label1 = Domain(s) | ||
Line 36: | Line 36: | ||
|below = | |below = | ||
[[Category:All Deities]] | [[Category:All Deities]] | ||
{{#vardefine:DomainNumber|0}} | |||
{{#vardefine:DomainName|{{#replace:{{#replace:{{#replace:{{#explode:{{{domains}}}|{{•}}|{{#var:DomainNumber}}}}|[|}}|]|}}|<br />|}}}} | |||
{{#while: | |||
|{{#if:{{#var:DomainName}}|true}} | |||
|[[Category:{{#var:DomainName}} PCs]]{{#vardefine:DomainNumber|{{#expr:{{#var:DomainNumber}}+1}}}}{{#vardefine:DomainName|{{#replace:{{#replace:{{#explode:{{{domains}}}|{{•}}|{{#var:DomainNumber}}}}|[|}}|]|}}}} | |||
}} | |||
}}</includeonly><noinclude>[[Category:Templates]]</noinclude> | }}</includeonly><noinclude>[[Category:Templates]]</noinclude> |