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 9: Line 9:
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.
===Rename Mode===
===Rename Mode===
If the first parameter is one of {{code|fraulien}}, {{code|garbo}}, {{code|liam}}, or {{code|shirayuri}}, it operates in rename mode.
==Return==
==Return==
===List Mode===
===List Mode===

Revision as of 15:52, 4 May 2023

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

If the first parameter is one of fraulien, garbo, liam, or shirayuri, it operates in 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!

Rename Mode