Difference between revisions of "Template:Quote"

From Twinsuniverse
Jump to: navigation, search
m
(added infobox)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| 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
:- ''{{{Character}}}''</includeonly><noinclude>This template is used to display quotes from the two LBA games. It is used on top of each article, as well as in the "Additional quotes" section of the articles. It's best to put the quote text between <tt><nowiki><nowiki></nowiki></nowiki></tt> tags.
+
|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==
* '''Quote''': The quote from the game. No need to add quotation marks, as these are a part of the template.
+
* '''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.
+
* '''character''': The character who said the quote, should be an article from the [[:Category:Characters|Characters]] category (case sensitive)
  
 
==Syntax==
 
==Syntax==
<pre><nowiki>{{Quote|
+
<nowiki>{{Quote
Quote=|
+
|quote=
Character=}}</nowiki></pre>
+
|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>
  
[[Category:Twinsunica - Templates|{{PAGENAME}}]]</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