Template:Infobox PC: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 65: | Line 65: | ||
[[Category:All Player Characters]] | [[Category:All Player Characters]] | ||
{{#vardefine:CampaignNumber|1}} | {{#vardefine:CampaignNumber|1}} | ||
{{#vardefine:CampaignName|{{#replace:{{#replace:{{#explode:{{{campaigns}}}| | {{#vardefine:CampaignName|{{#replace:{{#replace:{{#explode:{{{campaigns}}}|{{•}}|{{#var:CampaignNumber}}}}|[|}}|]|}}}} | ||
{{#while: | {{#while: | ||
|{{#if:{{#var:CampaignName}}|true}} | |{{#if:{{#var:CampaignName}}|true}} | ||
|[[Category:{{#var:CampaignName}} PCs]]{{#vardefine:CampaignNumber|{{#expr:{{#var:CampaignNumber}}+1}}}}{{#vardefine:CampaignName|{{#replace:{{#replace:{{#explode:{{{campaigns}}}| | |[[Category:{{#var:CampaignName}} PCs]]{{#vardefine:CampaignNumber|{{#expr:{{#var:CampaignNumber}}+1}}}}{{#vardefine:CampaignName|{{#replace:{{#replace:{{#explode:{{{campaigns}}}|{{•}}|{{#var:CampaignNumber}}}}|[|}}|]|}}}} | ||
}} | }} | ||
</includeonly> | </includeonly> |
Revision as of 21:49, 22 March 2021