Difference between revisions of "Template:Quote2"

From Twinsuniverse
Jump to: navigation, search
Line 7: Line 7:
 
* '''building''': The name of the building the character is in when they say this 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)
 
* '''island''': The name of the island the character is on when they say this quote (case sensitive, optional)
* '''uri''': The URI of an external link to this quote like <tt><nowiki>http://www.magicball.net/gamequotes</nowiki></tt> (case sensitive, optional)
+
* '''gamequote''': The ID of the gamequote from the MBN, like [http://www.magicball.net/gamequotes this one] (positive numeric, optional, see the <nowiki>{{</nowiki>[[Template:gamequote|gamequote]]<nowiki>}}</nowiki> template)
  
 
==Syntax==
 
==Syntax==
Line 16: Line 16:
 
  |building=
 
  |building=
 
  |island=
 
  |island=
  |uri=
+
  |gamequote=
 
}}</nowiki>
 
}}</nowiki>
  
Line 27: Line 27:
 
  |building=Jerome Baldino's House
 
  |building=Jerome Baldino's House
 
  |island=Desert Island
 
  |island=Desert Island
  |uri=http://www.magicball.net/gamequotes/1427
+
  |gamequote=1427
 
}}</nowiki>
 
}}</nowiki>
 
</noinclude>{| style="text-align: left; margin-top: 5px;" cellpadding="3" cellspacing="1"
 
</noinclude>{| style="text-align: left; margin-top: 5px;" cellpadding="3" cellspacing="1"
Line 39: Line 39:
 
     #if: {{{building|}}} | &#32;- [[{{{building}}}]] }}{{
 
     #if: {{{building|}}} | &#32;- [[{{{building}}}]] }}{{
 
     #if: {{{island|}}} | &#32;- [[{{{island}}}]] }}''{{
 
     #if: {{{island|}}} | &#32;- [[{{{island}}}]] }}''{{
     #if: {{{uri|}}} | &#32;- [{{{uri}}}] }}</includeonly><noinclude>'''''[[Twinsen]]''' talking to Zoé - [[Jerome Baldino's House]] - [[Desert Island]] - [http://www.magicball.net/gamequotes/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 18:01, 23 December 2012

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 (=).

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]