Difference between revisions of "Template:Quote2"

From Twinsuniverse
Jump to: navigation, search
Line 5: Line 5:
 
* '''character''': The character who said the quote, should be an article from the [[:Category:Characters|Characters]] category (case sensitive, defaults to "Unknown")
 
* '''character''': The character who said the quote, should be an article from the [[:Category:Characters|Characters]] category (case sensitive, defaults to "Unknown")
 
* '''text''': Some custom text to display after the character's name below the quote (case sensitive, optional)
 
* '''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)
 
* '''island''': The name of the island the character is on 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, requires '''island''')
 
 
* '''uri''': The URI of an external link to this quote like <tt><nowiki>http://www.magicball.net/gamequotes</nowiki></tt> (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)
  
Line 14: Line 14:
 
  |character=
 
  |character=
 
  |text=
 
  |text=
|island=
 
 
  |building=
 
  |building=
 +
|island=
 
  |uri=
 
  |uri=
 
}}</nowiki>
 
}}</nowiki>
Line 25: Line 25:
 
  |character=Twinsen
 
  |character=Twinsen
 
  |text=talking to Zoé
 
  |text=talking to Zoé
|island=Desert Island
 
 
  |building=Jerome Baldino's House
 
  |building=Jerome Baldino's House
 +
|island=Desert Island
 
  |uri=http://www.magicball.net/gamequotes/1427
 
  |uri=http://www.magicball.net/gamequotes/1427
 
}}</nowiki>
 
}}</nowiki>
Line 32: Line 32:
 
|-
 
|-
 
| style="border-left: 5px solid #cccccc;" | &nbsp;
 
| style="border-left: 5px solid #cccccc;" | &nbsp;
| "<includeonly>{{{quote}}}</includeonly><noinclude>No, not yet.</noinclude>"  
+
| "<includeonly>{{{quote|}}}</includeonly><noinclude>No, not yet.</noinclude>"  
 
|}
 
|}
 
:- <includeonly>'''''{{
 
:- <includeonly>'''''{{
 
     #if: {{{character|}}} | [[{{{character}}}]] | Unknown }}'''{{
 
     #if: {{{character|}}} | [[{{{character}}}]] | Unknown }}'''{{
 
     #if: {{{text|}}} | &#32;{{{text}}} }}{{
 
     #if: {{{text|}}} | &#32;{{{text}}} }}{{
     #if: {{{island|}}} | &#32;- [[{{{island}}}]] {{
+
     #if: {{{building|}}} | &#32;- [[{{{building}}}]] }}{{
        #if: {{{building|}}} | &#32;- [[{{{building}}}]] }}}}''{{
+
    #if: {{{island|}}} | &#32;- [[{{{island}}}]] }}''{{
     #if: {{{uri|}}} | &#32;- [{{{uri}}}] }}</includeonly><noinclude>'''''[[Twinsen]]''' talking to Zoé - [[Desert Island]] - [[Jerome Baldino's House]] - [http://www.magicball.net/gamequotes/1427]
+
     #if: {{{uri|}}} | &#32;- [{{{uri}}}] }}</includeonly><noinclude>'''''[[Twinsen]]''' talking to Zoé - [[Jerome Baldino's House]] - [[Desert Island]] - [http://www.magicball.net/gamequotes/1427]
  
 
[[Category:Twinsuniverse - Templates]]</noinclude>
 
[[Category:Twinsuniverse - Templates]]</noinclude>

Revision as of 17:34, 29 November 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)
  • uri: The URI of an external link to this quote like http://www.magicball.net/gamequotes (case sensitive, optional)

Syntax

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

Example

With all parameters specified:

{{Quote2
 |quote=No, not yet.
 |character=Twinsen
 |text=talking to Zoé
 |building=Jerome Baldino's House
 |island=Desert Island
 |uri=http://www.magicball.net/gamequotes/1427
}}
  "No, not yet."
- Twinsen talking to Zoé - Jerome Baldino's House - Desert Island - [1]