Difference between revisions of "Template:Quote2"

From Twinsuniverse
Jump to: navigation, search
m
Line 1: Line 1:
{| style="text-align: left; margin-top: 5px;" cellpadding="3" cellspacing="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>).
! colspan="2" style="font-weight: normal; border-left: 5px solid #CCCCCC; " | "{{{Quote}}}"  
+
 
 +
==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)
 +
* '''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)
 +
 
 +
==Syntax==
 +
<nowiki>{{Quote2
 +
|quote=
 +
|character=
 +
|text=
 +
|island=
 +
|building=
 +
|uri=
 +
}}</nowiki>
 +
 
 +
==Example==
 +
With all parameters specified:
 +
<nowiki>{{Quote2
 +
|quote=No, not yet.
 +
|character=Twinsen
 +
|text=talking to Zoé
 +
|island=Desert Island
 +
|building=Jerome Baldino's House
 +
|uri=http://www.magicball.net/gamequotes/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>"  
 
|}
 
|}
:- '''''{{ #ifeq: {{{Character|}}} | Unknown | Unknown | [[{{{Character}}}]] }}'''{{ #if: {{{CustomText|}}} | &#32;{{{CustomText}}} }}{{ #if: {{{DetailedLocation|}}} | , [[{{{DetailedLocation}}}]] }}{{ #if: {{{Location|}}} | , [[{{{Location}}}]] }}''{{ #if: {{{URI|}}} | &#32;[{{{URI}}}] }}
+
:- <includeonly>'''''{{
<noinclude>[[Category:Twinsuniverse - Templates]]</noinclude>
+
    #if: {{{character|}}} | [[{{{character}}}]] | Unknown }}'''{{
 +
    #if: {{{text|}}} | &#32;{{{text}}} }}{{
 +
    #if: {{{island|}}} | &#32;- [[{{{island}}}]] {{
 +
        #if: {{{building|}}} | &#32;- [[{{{building}}}]] }}}}''{{
 +
    #if: {{{uri|}}} | &#32;- [{{{uri}}}] }}</includeonly><noinclude>'''''[[Twinsen]]''' talking to Zoé - [[Desert Island]] - [[Jerome Baldino's House]] - [http://www.magicball.net/gamequotes/1427]
 +
 
 +
[[Category:Twinsuniverse - Templates]]</noinclude>

Revision as of 17:24, 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)
  • 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 http://www.magicball.net/gamequotes (case sensitive, optional)

Syntax

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

Example

With all parameters specified:

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