Difference between revisions of "Template:Quote"

From Twinsuniverse
Jump to: navigation, search
(added infobox)
 
(23 intermediate revisions by 5 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: 4px solid #CCCCCC; " | "{{{Quote}}}"  
+
|purpose=formatting
|}
+
|singletag=no
:~ ''{{{Character}}}''
+
|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, but preferably at the top/bottom of a page section. It uses a style similar to the ingame subtitles of the second adventure, with the addition of the character name. To show additional information about the quote, use {{templatelink|quote2}} instead.
 +
 
 +
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)
 +
 
 +
==Syntax==
 +
<nowiki>{{Quote
 +
|quote=
 +
|character=
 +
}}</nowiki>
 +
 
 +
==Example==
 +
<nowiki>{{Quote
 +
|quote=Could you help me treat my injured Dino-Fly?
 +
|character=Twinsen
 +
}}</nowiki>
 +
</noinclude>
 +
{| class="quote" border="0" cellpadding="10" cellspacing="0"
 +
| class="quote-open" | “
 +
| class="quote-body" |  
 +
<includeonly>{{{quote|}}}</includeonly><noinclude>Could you help me treat my injured Dino-Fly?</noinclude>
 +
| class="quote-close" | ”
 +
|-
 +
| colspan="3" class="quote-cite" |- <includeonly>{{#if:{{{character|}}}|[[{{{character}}}]]|unknown}}</includeonly><noinclude>[[Twinsen]]</noinclude>
 +
|}<noinclude>
 +
 
 +
</noinclude>

Latest revision as of 10:17, 4 June 2014

Quote
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, but preferably at the top/bottom of a page section. It uses a style similar to the ingame subtitles of the second adventure, with the addition of the character name. To show additional information about the quote, use {{quote2}} instead.

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)

Syntax

{{Quote
 |quote=
 |character=
}}

Example

{{Quote
 |quote=Could you help me treat my injured Dino-Fly?
 |character=Twinsen
}}

Could you help me treat my injured Dino-Fly?

- Twinsen