Template:Magia Record Character Cell: Difference between revisions
Jump to navigation
Jump to search
(Use a non-breaking space to avoid a blank doppel cell collapsing) |
(Add description parameter) |
||
Line 5: | Line 5: | ||
|style="border-width:1px 0px 1px 0px"|[[{{{link|{{{name}}}}}}|{{{name}}}]] | |style="border-width:1px 0px 1px 0px"|[[{{{link|{{{name}}}}}}|{{{name}}}]] | ||
|- style="height:calc((100% - 120px) / 2)" | |- style="height:calc((100% - 120px) / 2)" | ||
|style="font-size:x-small;border-width:1px 0px 0px 0px"|{{#switch:{{{doppel|}}}| | |style="font-size:x-small;border-width:1px 0px 0px 0px"|{{#if:{{{description|}}}|{{{description}}}|{{#switch:{{{doppel|}}}| | ||
none=''Character does not have a Doppel''| | none=''Character does not have a Doppel''| | ||
nodisplay=''Character does not display a doppel''| | nodisplay=''Character does not display a doppel''| | ||
Line 12: | Line 12: | ||
unplayable=''Character currently unplayable''| | unplayable=''Character currently unplayable''| | ||
blank= | | blank= | | ||
[[{{{witch|{{{link|{{{name}}}}}}#Doppel Description}}}|{{{doppel}}}]] | [[{{{witch|{{{link|{{{name}}}}}}#Doppel Description}}}|{{{doppel}}}]]}} | ||
}} | }} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
Line 33: | Line 33: | ||
* '''doppel''' - Name of the character's doppel | * '''doppel''' - Name of the character's doppel | ||
* '''witch''' - Optional; if provided, the doppel links to this page instead of the character's page | * '''witch''' - Optional; if provided, the doppel links to this page instead of the character's page | ||
* '''description''' - Overrides doppel if provided, giving a short description with no link | |||
The '''doppel''' parameter supports several special values which won't create a link: | The '''doppel''' parameter supports several special values which won't create a link: |
Latest revision as of 23:43, 8 April 2023
Creates a cell for a Magia Record character to be included on the characters page.
Parameters:
- name - The character's name
- link - The character's page (defaults to name if omitted)
- image - The character's image; do not use File: prefix
- doppel - Name of the character's doppel
- witch - Optional; if provided, the doppel links to this page instead of the character's page
- description - Overrides doppel if provided, giving a short description with no link
The doppel parameter supports several special values which won't create a link:
- none - Character does not have a doppel
- nodisplay - Character does not display a doppel
- nodisplays - Characters do not display a doppel
- unreleased - Doppel unreleased
- unplayable - Character currently unplayable
- blank - leaves the doppel space blank (eg for a character who is not a magical girl)