Template:Infobox PC: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 62: | Line 62: | ||
|belowclass = mergedrowtop mergedrowbottom | |belowclass = mergedrowtop mergedrowbottom | ||
|below = {{#if:{{{charactersheet|}}}|[{{{charactersheet|}}} Character Sheet]}} | |below = {{#if:{{{charactersheet|}}}|[{{{charactersheet|}}} Character Sheet]}} | ||
}} | }}[[Category:All Player Characters]]{{#vardefine:CampaignNumber|0}}{{#vardefine:CampaignName|{{#replace:{{#replace:{{#explode:{{{campaigns}}}|{{•}}|{{#var:CampaignNumber}}}}|[|}}|]|}}}}{{#while:|{{#if:{{#var:CampaignName}}|true}}|[[Category:{{#var:CampaignName}} PCs]]{{#vardefine:CampaignNumber|{{#expr:{{#var:CampaignNumber}}+1}}}}{{#vardefine:CampaignName|{{#replace:{{#replace:{{#explode:{{{campaigns}}}|{{•}}|{{#var:CampaignNumber}}}}|[|}}|]|}}}}}} | ||
[[Category:All Player Characters]] | |||
{{#vardefine:CampaignNumber|0}} | |||
{{#vardefine:CampaignName|{{#replace:{{#replace:{{#explode:{{{campaigns}}}|{{•}}|{{#var:CampaignNumber}}}}|[|}}|]|}}}} | |||
{{#while: | |||
|{{#if:{{#var:CampaignName}}|true}} | |||
|[[Category:{{#var:CampaignName}} PCs]]{{#vardefine:CampaignNumber|{{#expr:{{#var:CampaignNumber}}+1}}}}{{#vardefine:CampaignName|{{#replace:{{#replace:{{#explode:{{{campaigns}}}|{{•}}|{{#var:CampaignNumber}}}}|[|}}|]|}}}} | |||
}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 21:50, 22 March 2021