Difference between revisions of "Template:Quote2"

From Twinsuniverse
Jump to: navigation, search
(added infobox)
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style="text-align: left; margin-top: 5px;" cellpadding="3" cellspacing="1"
+
<noinclude>{{Infobox Template
! colspan="2" style="font-weight: normal; border-left: 5px solid #CCCCCC; " | "{{{Quote}}}"  
+
|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==
 +
* '''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 [[: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)
 +
* '''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 [http://www.magicball.net/gamequotes this one] (positive numeric, optional, see the {{templatelink|gamequote}} template)
 +
 
 +
==Syntax==
 +
<nowiki>{{Quote2
 +
|quote=
 +
|character=
 +
|text=
 +
|building=
 +
|island=
 +
|gamequote=
 +
}}</nowiki>
 +
 
 +
==Example==
 +
With all parameters specified:
 +
<nowiki>{{Quote2
 +
|quote=No, not yet.
 +
|character=Twinsen
 +
|text=talking to Zoé
 +
|building=Jerome Baldino's House
 +
|island=Desert Island
 +
|gamequote=1427
 +
}}</nowiki>
 +
</noinclude>{| style="text-align: left; margin-top: 5px;" cellpadding="3" cellspacing="1"
 +
|-
 +
| style="border-left: 5px solid #cccccc;" | &nbsp;
 +
| "<includeonly>{{{quote|}}}</includeonly><noinclude>No, not yet.</noinclude>"  
 
|}
 
|}
:- '''''[[{{{Character}}}]]'''{{ #if:{{{CustomText|}}}| {{{CustomText}}}, |}}{{ #if:{{{DetailedLocation|}}}| [[{{{DetailedLocation}}}]], |}}{{ #if:{{{Location|}}}| [[{{{Location}}}]], |}}''{{ #if:{{{URI}}}| [{{{URI}}}]|}}
+
:- <includeonly>'''''{{
 +
    #if: {{{character|}}} | [[{{{character}}}]] | Unknown }}'''{{
 +
    #if: {{{text|}}} | &#32;{{{text}}} }}{{
 +
    #if: {{{building|}}} | &#32;- [[{{{building}}}]] }}{{
 +
    #if: {{{island|}}} | &#32; ([[{{{island}}}]]) }}''{{
 +
    #if: {{{gamequote|}}} | &#32; {{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]