Difference between revisions of "Template:Quote2"

From Twinsuniverse
Jump to: navigation, search
m (added use of template:templatelink + corrected italics glitch in example)
m (updated formatting of output)
Line 40: Line 40:
 
     #if: {{{text|}}} |  {{{text}}} }}{{
 
     #if: {{{text|}}} |  {{{text}}} }}{{
 
     #if: {{{building|}}} |  - [[{{{building}}}]] }}{{
 
     #if: {{{building|}}} |  - [[{{{building}}}]] }}{{
     #if: {{{island|}}} |  - [[{{{island}}}]] }}''{{
+
     #if: {{{island|}}} |   ([[{{{island}}}]]) }}''{{
     #if: {{{gamequote|}}} | &#32;- {{gamequote|{{{gamequote}}}}} }}</includeonly><noinclude>'''''[[Twinsen]]''' talking to Zoé - [[Jerome Baldino's House]] - [[Desert Island]]'' - {{gamequote|1427}}
+
     #if: {{{gamequote|}}} | &#32; {{gamequote|{{{gamequote}}}}} }}</includeonly><noinclude>'''''[[Twinsen]]''' talking to Zoé - [[Jerome Baldino's House]] ([[Desert Island]])'' {{gamequote|1427}}
  
 
[[Category:Twinsuniverse - Templates]]</noinclude>
 
[[Category:Twinsuniverse - Templates]]</noinclude>

Revision as of 22:35, 23 May 2014

This template is used to display a short quotation from someone. It may be used anywhere within an article.

It's best to put the quote text between <nowiki></nowiki> tags, if it contains special characters like the pipe (|), curly braces ({}) or equals-sign (=). Alternatively, for the pipe- and equals signs, the formatting templates {{!}} and {{=}} may be used instead for convenience.

Parameters

  • quote: The quote from the game. No need to add quotation marks, as these are a part of the template (case sensitive)
  • character: The character who said the quote, should be an article from the Characters category (case sensitive, defaults to "Unknown")
  • text: Some custom text to display after the character's name below the quote (case sensitive, optional)
  • building: The name of the building the character is in when they say this quote (case sensitive, optional)
  • island: The name of the island the character is on when they say this quote (case sensitive, optional)
  • gamequote: The ID of the gamequote from the MBN, like this one (positive numeric, optional, see the {{gamequote}} template)

Syntax

{{Quote2
 |quote=
 |character=
 |text=
 |building=
 |island=
 |gamequote=
}}

Example

With all parameters specified:

{{Quote2
 |quote=No, not yet.
 |character=Twinsen
 |text=talking to Zoé
 |building=Jerome Baldino's House
 |island=Desert Island
 |gamequote=1427
}}
  "No, not yet."
- Twinsen talking to Zoé - Jerome Baldino's House (Desert Island)  [Gamequote 1427]