Difference between revisions of "Template:Quote2"
From Twinsuniverse
J McKalling (Talk | contribs) |
J McKalling (Talk | contribs) m (added use of template:templatelink + corrected italics glitch in example) |
||
Line 1: | Line 1: | ||
− | <noinclude>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 <tt><nowiki><nowiki></nowiki></nowiki></tt> tags, if it contains special characters like the pipe (<tt>|</tt>), curly braces (<tt>{}</tt>) or equals-sign (<tt>=</tt>). | + | <noinclude>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 <tt><nowiki><nowiki></nowiki></nowiki></tt> tags, if it contains special characters like the pipe (<tt>|</tt>), curly braces (<tt>{}</tt>) or equals-sign (<tt>=</tt>). Alternatively, for the pipe- and equals signs, the formatting templates {{templatelink|!}} and {{templatelink|{{=}}}} may be used instead for convenience. | ||
==Parameters== | ==Parameters== | ||
Line 7: | Line 9: | ||
* '''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) | ||
− | * '''gamequote''': The ID of the gamequote from the MBN, like [http://www.magicball.net/gamequotes this one] (positive numeric, optional, see the | + | * '''gamequote''': The ID of the gamequote from the MBN, like [http://www.magicball.net/gamequotes this one] (positive numeric, optional, see the {{templatelink|gamequote}} template) |
==Syntax== | ==Syntax== | ||
Line 39: | Line 41: | ||
#if: {{{building|}}} |  - [[{{{building}}}]] }}{{ | #if: {{{building|}}} |  - [[{{{building}}}]] }}{{ | ||
#if: {{{island|}}} |  - [[{{{island}}}]] }}''{{ | #if: {{{island|}}} |  - [[{{{island}}}]] }}''{{ | ||
− | #if: {{{gamequote|}}} |  - {{gamequote|{{{gamequote}}}}} }}</includeonly><noinclude>'''''[[Twinsen]]''' talking to Zoé - [[Jerome Baldino's House]] - [[Desert Island]] - {{gamequote|1427}} | + | #if: {{{gamequote|}}} |  - {{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 21:26, 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]