Difference between revisions of "Template:Quote2"
From Twinsuniverse
J McKalling (Talk | contribs) |
J McKalling (Talk | contribs) (added infobox) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>This template is used to display a short quotation from | + | <noinclude>{{Infobox Template |
+ | |purpose=formatting | ||
+ | |singletag=no | ||
+ | |multiline=yes | ||
+ | |gamerelated=yes | ||
+ | |suppressible= | ||
+ | |choice= | ||
+ | |cat1= | ||
+ | |var1= | ||
+ | }} | ||
+ | |||
+ | This template is used to display a short quotation from a character from one of the games. It may be used anywhere within an article. It shows additional information about the quote and has a slightly less obtrusive formatting than its {{templatelink|quote}} counterpart. | ||
+ | |||
+ | 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 5: | Line 18: | ||
* '''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) | ||
− | * ''' | + | * '''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 14: | Line 27: | ||
|character= | |character= | ||
|text= | |text= | ||
− | |||
|building= | |building= | ||
− | | | + | |island= |
+ | |gamequote= | ||
}}</nowiki> | }}</nowiki> | ||
Line 25: | Line 38: | ||
|character=Twinsen | |character=Twinsen | ||
|text=talking to Zoé | |text=talking to Zoé | ||
− | |||
|building=Jerome Baldino's House | |building=Jerome Baldino's House | ||
− | | | + | |island=Desert Island |
+ | |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" | ||
|- | |- | ||
| style="border-left: 5px solid #cccccc;" | | | style="border-left: 5px solid #cccccc;" | | ||
− | | "<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|}}} |  {{{text}}} }}{{ | #if: {{{text|}}} |  {{{text}}} }}{{ | ||
− | #if: {{{ | + | #if: {{{building|}}} |  - [[{{{building}}}]] }}{{ |
− | + | #if: {{{island|}}} |   ([[{{{island}}}]]) }}''{{ | |
− | #if: {{{ | + | #if: {{{gamequote|}}} |   {{gamequote|{{{gamequote}}}}} }}</includeonly><noinclude>'''''[[Twinsen]]''' talking to Zoé - [[Jerome Baldino's House]] ([[Desert Island]])'' {{gamequote|1427}} |
− | + | </noinclude> |
Latest revision as of 09:19, 4 June 2014
Quote2 | |
---|---|
Purpose |
Formatting [list all] |
Single tag |
No [list all] |
Multi-line |
Yes [list all] |
Protected |
No [list all] |
Game related |
Yes [list all] |
Categorization | |
Categories |
none [list all] |
Variables | |
Names |
none [list all] |
Subpages |
This template is used to display a short quotation from a character from one of the games. It may be used anywhere within an article. It shows additional information about the quote and has a slightly less obtrusive formatting than its {{quote}} counterpart.
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]