< Template:PC
Revision as of 15:52, 4 May 2023 by Arcology Expert Program (talk | contribs)
Template:PC eases creating references to player cahracters.
Usage
It has one mandatory parameter that controls which of two ways it is being used:
List Mode
If the first parameter is s, it creates a semi-colon delimited list of the player character names, intended to be parsed by Template:SplitLink as used in Template:Episode and Template:Scene.
In those mode, 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.
Rename Mode
Return
List Mode
{{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!