Template:StageQuoteCharacter: Difference between revisions

From Inkipedia, the Splatoon wiki
(Created helper template to make Template:StageQuotes more readable and robust)
 
m (The template would generate trailing whitespace by accident)
Line 11: Line 11:
| "Eng" <!-- fall through -->
| "Eng" <!-- fall through -->
| #default = Marina
| #default = Marina
}} <!-- Language -->
}}<!-- Language -->
| "L" <!-- fall through -->
| "L" <!-- fall through -->
| #default = {{#switch:"{{{3|Eng}}}" <!-- S2 L = Pearl -->
| #default = {{#switch:"{{{3|Eng}}}" <!-- S2 L = Pearl -->
Line 23: Line 23:
| "Eng" <!-- fall through -->
| "Eng" <!-- fall through -->
| #default = Pearl
| #default = Pearl
}} <!-- Language -->
}}<!-- Language -->
}} <!-- L/R -->
}}<!-- L/R -->
| "Splatoon" <!-- fall through -->
| "Splatoon" <!-- fall through -->
| #default = {{#switch:"{{{2|L}}}"
| #default = {{#switch:"{{{2|L}}}"
Line 37: Line 37:
| "Eng" <!-- fall through -->
| "Eng" <!-- fall through -->
| #default = Marie
| #default = Marie
}} <!-- Language -->
}}<!-- Language -->
| "L" <!-- fall through -->
| "L" <!-- fall through -->
| #default = {{#switch:"{{{3|Eng}}}" <!-- S L = Callie -->
| #default = {{#switch:"{{{3|Eng}}}" <!-- S L = Callie -->
Line 49: Line 49:
| "Eng" <!-- fall through -->
| "Eng" <!-- fall through -->
| #default = Callie
| #default = Callie
}} <!-- Language -->
}}<!-- Language -->
}} <!-- L/R -->
}}<!-- L/R -->
}} <!-- Splatoon / Splatoon 2 --></includeonly><noinclude>
}}<!-- Splatoon / Splatoon 2 --></includeonly><noinclude>
A helper template that chooses a character by the game, side (L/R) and language. This template is intended only for use in [[Template:StageQuotes]].
A helper template that chooses a character by the game, side (L/R) and language. This template is intended only for use in [[Template:StageQuotes]].
Usage: {{t|StageQuoteCharacter|game|side|language}}
Usage: {{t|StageQuoteCharacter|game|side|language}}

Revision as of 17:34, 23 January 2018

A helper template that chooses a character by the game, side (L/R) and language. This template is intended only for use in Template:StageQuotes. Usage: {{StageQuoteCharacter|<game>|<side>|<language>}}

Parameters

All parameters are unnamed.

Parameter Explanation Possible values (Default value in bold)
game 
The game the character is from.
  • Splatoon
  • Splatoon 2
side
Does the character appear on the left or right side of the screen.
  • L
  • R
language
Language / localization to get the character's name from. These are the same abbreviations as in Template:Foreignname
  • Eng
  • Jap
  • Dut
  • Fre
  • Ger
  • Ita
  • Rus
  • Spa

Markup

*{{StageQuoteCharacter}}
*{{StageQuoteCharacter|Splatoon 2}}
*{{StageQuoteCharacter|Splatoon|R}}
*{{StageQuoteCharacter|Splatoon 2|L|Rus}}

Result

  • Callie
  • Pearl
  • Marie
  • Жемчик