Template:Other languages: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
mNo edit summary
Line 1: Line 1:
{|style="background:#F1F1F1; border: 2px solid; color:#2D1452; float:right"
{| style="border:1px solid #CCCCCC; background:#F1F1F1; float:right; clear:right; margin-left:5px; width:220px; padding:0px; spacing:0px;"
|-
|-
{{{title-2|}}}|<div class="{{#switch:{{{state|}}}|plain=mw-collapsible|#default=mw-collapsible mw-collapsed}}">'''In other languages'''
! Language
<div class="mw-collapsible-content" style="border:1px solid #DDD; padding:0 4px;">
! Equivalent
{| width="100%" style="background: #{{{{{type|???}}} color}}"
|-
! {{color|{{{textcolor|000}}}|Language}}
! {{color|{{{textcolor|000}}}|Equivalent}}
|- style="background:#FFF"
|[[File:Flag of France.png|30px]] '''French'''
|{{{fr|}}}
|-
|-
{{#if:{{{fr|}}}|
{{!}} [[File:Flag of France.png|30px]] '''French'''
{{!}} {{{fr|}}}
{{!}}-
}}
{{#if:{{{es|}}}|
{{#if:{{{es|}}}|
{{!}}- style="background:#FFF"
{{!}} [[File:Flag of Spain.png|30px]] '''Spanish'''
{{!}} [[File:Flag of Spain.png|30px]] '''Spanish'''
{{!}} {{{es|}}}
{{!}} {{{es|}}}
Line 18: Line 15:
}}
}}
{{#if:{{{de|}}}|
{{#if:{{{de|}}}|
{{!}}- style="background:#FFF"
{{!}} [[File:German Flag.png|30px]] '''German'''
{{!}} [[File:German Flag.png|30px]] '''German'''
{{!}} {{{de|}}}
{{!}} {{{de|}}}
{{!}}-
}}
}}
|-
|}
</div></div>
|}<noinclude>
|}<noinclude>
{{clear}}
{{clear}}
==Usage==
== About ==
This template supports up to three languages: French, Spanish and German. If you think more languages should be added to this template, please notify us by leaving a message in the [[Template talk:Other languages|talk page]].
 
Copy and paste the template below in the article:
Copy and paste the template below in the article:


Line 38: Line 32:
}}
}}
</pre>
</pre>
The template should be placed between <code>==Sources==</code> and <code><nowiki><references/></nowiki></code>. French appears by default. If you do not use the other languages, remove them. If you need another language, you may add it respectively in the codes above and below. To display additional details, you may use the [[Template:Explain|template]] <code><nowiki>{{Explain|Your term|Additional details}}</nowiki></code>, which gives {{Explain|Your term|Additional details}}.
 
The template should be placed in the Trivia section or, if there is no Trivia section, between <code>==Sources==</code> and <code><nowiki><references/></nowiki></code>. If you do not use the other languages, remove them. If you need another language, you may add it respectively in the codes above.
 
To display additional details, you may use the [[Template:Explain|Explain template]] (<code><nowiki>{{Explain|Your term|Additional details}}</nowiki></code>) which gives {{Explain|Your term|Additional details}}.


[[Category:Content templates]]</noinclude>
[[Category:Content templates]]</noinclude>

Revision as of 11:48, June 22, 2017

Language Equivalent

About

This template supports up to three languages: French, Spanish and German. If you think more languages should be added to this template, please notify us by leaving a message in the talk page.

Copy and paste the template below in the article:

{{Other languages
|fr=
|es=
|de=
}}

The template should be placed in the Trivia section or, if there is no Trivia section, between ==Sources== and <references/>. If you do not use the other languages, remove them. If you need another language, you may add it respectively in the codes above.

To display additional details, you may use the Explain template ({{Explain|Your term|Additional details}}) which gives Template:Explain.