Difference between revisions of "Template:Description"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created for adding the Tech Tree node descriptions to their articles.)
 
m (*renamed Parameter Table to Parameter table;)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="max-width:60%;"
+
{{Quote|{{{1<noinclude>|Description by Squad for a node in the Tech Tree or some other UI element, NOT game world fiction like manufacturer descriptions of products.</noinclude>}}}|trans={{{2|<noinclude>Translation of the description by Squad for an out-of-game / UI game text into the language of the article.</noinclude>}}}}}<noinclude>
{{#if: {{{trans<includeonly>|</includeonly>}}}|
+
{{Box|type=warning|Do not use this template anymore. It can be replaced by using {{Tl|Quote}} directly.}}
{{!}} style="vertical-align:middle; color: silver;font-family:Droid Serif, Times New Roman, Georgia, serif; font-size:5em;" {{!}} {{Quote/startsign|{{{src lang|}}}}}
 
{{!}} ''{{{1<noinclude>|Description by Squad for a node in the Tech Tree or some other UI element, NOT game world fiction like manufacturer descriptions of products.</noinclude>}}}''
 
{{!}} style="vertical-align:middle; color: silver;font-family:Droid Serif, Times New Roman, Georgia, serif; font-size:5em;" {{!}} {{Quote/endsign|{{{src lang|}}}}}
 
{{!}}-}}
 
| style="vertical-align:middle; color: silver;font-family:Droid Serif, Times New Roman, Georgia, serif; font-size:5em;" | {{Quote/startsign|{{#if: {{{trans|}}}|{{{trans lang|}}}|{{{src lang|}}}}}}}
 
| ''{{#if: {{{trans|}}}|{{{trans}}}|{{{1<noinclude>|Translation of the description by Squad for an out-of-game / UI game text into the language of the article.</noinclude>}}}}}''
 
| style="vertical-align:middle; color: silver;font-family:Droid Serif, Times New Roman, Georgia, serif; font-size:5em;" | {{Quote/endsign|{{#if: {{{trans|}}}|{{{trans lang|}}}|{{{src lang|}}}}}}}
 
|}{{#if: {{{4|}}}{{{5|}}}|[[Category:Quote with to many parameters]]}}<noinclude>
 
 
 
  
 
Shows a description from a UI element or the Tech Tree -- something other than in-game fiction like the manufacturer part descriptions.
 
Shows a description from a UI element or the Tech Tree -- something other than in-game fiction like the manufacturer part descriptions.
  
 
== Parameters ==
 
== Parameters ==
{{Parameter Table|name=both|parameters=
+
{{Parameter table|name=both|parameters=
{{Parameter Row|1|The original quote.}}
+
{{Parameter row|1|The original quote.}}
{{Parameter Row|trans|The translation of the quote.|Not set/Hidden}}
+
{{Parameter row|trans|The translation of the quote.|Not set/Hidden}}
 
}}
 
}}
  

Latest revision as of 12:03, 19 December 2014

Description by Squad for a node in the Tech Tree or some other UI element, NOT game world fiction like manufacturer descriptions of products.
Translation of the description by Squad for an out-of-game / UI game text into the language of the article.
Do not use this template anymore. It can be replaced by using {{Quote}} directly.

Shows a description from a UI element or the Tech Tree -- something other than in-game fiction like the manufacturer part descriptions.

Parameters

#/Name Optional Description Default
1 No The original quote.
trans Yes The translation of the quote. Not set/Hidden

Usage

A simple description in the language of the article:

{{Description}}

See also