Template:Starring
Template documentation (for the above template, sometimes hidden or invisible)[view] [edit] [history] [refresh]
Description
- This template is used to standardize the "Starring" and "Guest Starring" sections of Template:Infobox Episode. It can accommodate up to twenty actor/character pairings.
Syntax
- Format:
{{Starring|<param1>|<param2>|<param3>|<param4>|<etc.>}}
- Every two parameters are considered an actor/character pairing, accepting as many such pairings as you need to include.
- Required: param1 is the actor name, with wiki markup for a link if desired: [[Matthew Mercer]]
- Required: param2 is the character name (or "-self" designation), and this parameter accepts one of three options:
- Any custom text, including wiki markup or HTML;
- The letters DM or dm for a Dungeon Master line; or
- A single letter from the table below, allowing editors to quickly pick a gendered "-self":
Gender Parameter | Purpose | Produces Text |
---|---|---|
female | Herself | |
male | Himself | |
gender-neutral singular | Zirself | |
inanimate singular | Itself | |
gender-neutral plural | Themselves |
Example
'''Starring:''' {{Starring | [[Versa]] | f | [[Pine]] | m | [[Malice]] | i | [[BBESM|]] | z | Orphans | t | [[Gandalf]] | An Adorable Companion | [[Bunnies]] | dm }}
results in...
Starring:
Versa – Herself
Pine – Himself
Malice – Itself
BBESM – z
Orphans – Themselves
Gandalf – An Adorable Companion
and
Bunnies as the Dungeon Master
Versa – Herself
Pine – Himself
Malice – Itself
BBESM – z
Orphans – Themselves
Gandalf – An Adorable Companion
and
Bunnies as the Dungeon Master
See Also
History
The original format of this template was limited due to the code specifying a limited number of parameters with repetitive #if statements and #switches. Revision 19215 marked the transition to new code using Extension:Variables and Extension:Loops.
Author
- This template was created by VeganCritter. Feedback is welcome, as this template can surely be improved.
The above text is transcluded from Template:Starring/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to Template:Starring/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to Template:Starring/doc. (View all subpages of this page.)