Template:Translation table/doc

From AerialWiki
< Template:Translation table
Revision as of 20:34, 4 September 2012 by Kwickert (talk | contribs) (Protected "Template:Translation table/doc" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

<poem>{{Translation table |lang1=text in lang1 |lang2=text in lang2 |lang3=text in lang3 ... }}</poem>

inline=something 
optional parameter. Line view. Paragraph format instead of column format. "Something" can be anything. For example; inline=paragraph or inline=y. Without a specific width setting the default width with the inline setting is 100%.
hidetitle=something 
optional parameter. This hides the title. "Something" can be anything. For example; hidetitle=yes or hidetitle=y.
width=size 
default=180px. For maximum width use width=100%. For a width that varies according to font size use em units. For example; width=20em.
Note 
Difference with {{Lan}} is that language codes are here default ordered.

Examples

  • Simple

<poem>{{Translation table |en=This is an example ! |fr=Ceci est un exemple ! |ar=هذا مثال ! |he=זוהי הגדמה ! }}</poem>

Internationalization
العربية: هذا مثال !
English: This is an example !
Français : Ceci est un exemple !
עברית: זוהי הדגמה !
  • With inline

<poem>{{Translation table|inline=o |fr=Ceci est un exemple ! |en=This is an example ! |ar=هذا مثال ! |he=זוהי הדגמה ! }}</poem>

Internationalization
العربية: هذا مثال !
 ·
English: This is an example !
 ·
Français : Ceci est un exemple !
 ·
עברית: זוהי הדגמה !
 ·
  • With hidetitle

<poem>{{Translation table|hidetitle=o|inline=o|width=75% |fr=Ceci est un exemple ! |en=This is an example ! |da=Test done ! |tr=Bu bir örnektir ! |ar=هذا مثال ! |he=זוהי הדגמה ! }}</poem>

Internationalization
العربية: هذا مثال !
 ·
Dansk: Test done !
 ·
English: This is an example !
 ·
Français : Ceci est un exemple !
 ·
עברית: זוהי הדגמה !
 ·
Türkçe: Bu bir örnektir !
 ·
  • Infobox style
Internationalization
العربية: هذا مثال !
Dansk: Test done !
English: This is an example !
Français : Ceci est un exemple !
עברית: זוהי הדגמה !
Türkçe: Bu bir örnektir !

<poem>{{Translation table|infobox=o |fr=Ceci est un exemple ! |en=This is an example ! |da=Test done ! |tr=Bu bir örnektir ! |ar=هذا مثال ! |he=זוהי הדגמה ! }}</poem>

Relies on

See also

  • {{On Wikipedia}}, which is linking to multiple Wikipedia articles directly