Difference between revisions of "Template:Quote"

From Twinsuniverse
Jump to: navigation, search
(added infobox)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template is used to display a quotation from someone. It may be used anywhere within an article, but preferably at the top/bottom. It's best to put the quote text between <tt><nowiki><nowiki></nowiki></nowiki></tt> tags.
+
<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, 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==
 
==Parameters==
Line 17: Line 30:
 
}}</nowiki>
 
}}</nowiki>
 
</noinclude>
 
</noinclude>
{| border="0" cellpadding="10" cellspacing="0" style="border:solid 0px; width:800px"
+
{| class="quote" border="0" cellpadding="10" cellspacing="0"
| width="20" valign="top" style="color:#b2b7f2;font-size:36px;font-family:'Times New Roman',serif;font-weight:bold;text-align:left;border:solid #b2b7f2;border-top-left-radius:10px; border-width:2px 0px 0px 2px; background-color:#ebeff3;" | “
+
| class="quote-open" | “
| valign="top" style="padding:4px 0px 0px; border-top:solid 2px #b2b7f2; background-color:#ebeff3;" |  
+
| class="quote-body" |  
 
<includeonly>{{{quote|}}}</includeonly><noinclude>Could you help me treat my injured Dino-Fly?</noinclude>
 
<includeonly>{{{quote|}}}</includeonly><noinclude>Could you help me treat my injured Dino-Fly?</noinclude>
| width="20" valign="bottom" style="color:#b2b7f2;font-size:36px;font-family:'Times New Roman',serif;font-weight:bold;text-align:right;padding-bottom:0px; border-top:solid 2px #b2b7f2; border-top-right-radius:10px; border-right:solid 2px #4c615d; background-color:#ebeff3;" | ”
+
| class="quote-close" | ”
 
|-
 
|-
| colspan="3" style="padding-top: 0px; padding-bottom: 4px; border:solid 2px #4c615d; border-top-width:0px; border-radius:0px 0px 10px 10px; border-left-color:#b2b7f2;" |- '''''<includeonly>{{#if:{{{character|}}}|[[{{{character}}}]]|unknown}}</includeonly><noinclude>[[Twinsen]]</noinclude>'''''
+
| colspan="3" class="quote-cite" |- <includeonly>{{#if:{{{character|}}}|[[{{{character}}}]]|unknown}}</includeonly><noinclude>[[Twinsen]]</noinclude>
 
|}<noinclude>
 
|}<noinclude>
  
[[Category:Twinsuniverse - Templates]]</noinclude>
+
</noinclude>

Latest revision as of 09: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