Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown

Template:PC/Documentation: Difference between revisions

No edit summary
No edit summary
Line 5: Line 5:
If any of the parameters is supplied with a null string, the character is removed from the returned list.
If any of the parameters is supplied with a null string, the character is removed from the returned list.
==Return==
==Return==
{{code|<nowiki>{{PC|s}}</nowiki>}} returns: {{Return|{{PCs}}}}
{{code|<nowiki>{{PC|s}}</nowiki>}} returns: {{Return|{{PC|s}}}}


{{code|<nowiki>{{PC|s|fraulein=}}</nowiki>}} returns: {{Return|{{PCs|fraulein=}}}}
{{code|<nowiki>{{PC|s|fraulein=}}</nowiki>}} returns: {{Return|{{PC|s|fraulein=}}}}
{{code|<nowiki>{{PC|s|garbo=|shirayuri=}}</nowiki>}} returns: {{Return|{{PCs|garbo=|shirayuri=}}}}
{{code|<nowiki>{{PC|s|garbo=|shirayuri=}}</nowiki>}} returns: {{Return|{{PC|s|garbo=|shirayuri=}}}}

Revision as of 15:43, 4 May 2023

Template:PCs to ease use of Template:SplitLink within Template:Episode. It creates a semi-colon delimited list of the player characters.

Usage

It accepts four optional parameters, one for each player character: fraulien, garbo, liam, or shirayuri.

If any of the parameters is supplied with a null string, the character is removed from the returned list.

Return

{{PC|s}} returns:

Error! Template:PC has 1 mandatory parameters!

{{PC|s|fraulein=}} returns:

Error! Template:PC has 1 mandatory parameters!

{{PC|s|garbo=|shirayuri=}} returns:

Error! Template:PC has 1 mandatory parameters!