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|{{ | {{code|<nowiki>{{PC|s}}</nowiki>}} returns: {{Return|{{PC|s}}}} | ||
{{code|<nowiki>{{PC|s|fraulein=}}</nowiki>}} returns: {{Return|{{ | {{code|<nowiki>{{PC|s|fraulein=}}</nowiki>}} returns: {{Return|{{PC|s|fraulein=}}}} | ||
{{code|<nowiki>{{PC|s|garbo=|shirayuri=}}</nowiki>}} returns: {{Return|{{ | {{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!