Template:Other languages: Difference between revisions

From Halopedia, the Halo wiki

m (simplifying)
No edit summary
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|style="background:#F1F1F1; border: 2px solid; color:#2D1452; float:right"
{| class="linkbox" style="width:300px; float:right; clear:right; background:#F1F1F1; border:1px solid #ccc; margin:0 0 10px 10px"
|-
! Language
{{{title-2|}}}|<div class="{{#switch:{{{state|}}}|plain=mw-collapsible|#default=mw-collapsible mw-collapsed}}">'''In other languages'''
! Equivalent
<div class="mw-collapsible-content" style="border:1px solid #DDD; padding:0 4px;">
{| width="100%" style="background: #{{{{{type|???}}} color}}"
|-
! {{color|{{{textcolor|000}}}|Language}}
! {{color|{{{textcolor|000}}}|Equivalent}}
|- style="background:#FFF"
|[[File:Canada.png|30px]] '''French'''
|{{{fr|Insert equivalent}}}
|-
|-
{{#if:{{{fr|}}}|
! style="vertical-align:top;{{#if:{{{es|}}}|border-bottom:1px dashed #ccc}}" {{!}} [[File:Flag of France.png|30px|link=]]<br>French
{{!}} style="vertical-align:top;{{#if:{{{es|}}}|border-bottom:1px dashed #ccc}}" {{!}} {{{fr}}}
{{!}}-
}}
{{#if:{{{es|}}}|
{{#if:{{{es|}}}|
{{!}}- style="background:#FFF"  
! style="vertical-align:top;{{#if:{{{de|}}}|border-bottom:1px dashed #ccc}}" {{!}} [[File:Flag of Spain.png|30px|link=]]<br>Spanish
{{!}} [[File:Canada.png|30px]] '''Spanish'''
{{!}} style="vertical-align:top;{{#if:{{{de|}}}|border-bottom:1px dashed #ccc}}" {{!}} {{{es}}}
{{!}} {{{es|Insert equivalent}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{de|}}}|
{{#if:{{{de|}}}|
{{!}}- style="background:#FFF"  
! style="vertical-align:top;{{#if:{{{es|}}}||{{#if:{{{fr|}}}|border-top:1px dashed #ccc}}}}" {{!}} [[File:German Flag.png|30px|link=]]<br>German
{{!}} [[File:Canada.png|30px]] ''''German'''
{{!}} style="vertical-align:top; {{#if:{{{es|}}}||{{#if:{{{fr|}}}|border-top:1px dashed #ccc}}}}" {{!}} {{{de}}}
{{!}} {{{de|Insert equivalent}}}
}}
{{!}}-
|}<noinclude>
{{clear}}
== 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:
 
<pre>
{{Other languages
|fr=
|es=
|de=
}}
}}
|-
</pre>
|}
 
</div></div>
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.
|}<noinclude>[[Category:Content templates]]</noinclude>
 
To display additional details, you may use the [[Template:Tooltip|Tooltip template]] (<code><nowiki>{{Tooltip|Your term|Additional details}}</nowiki></code>) which gives {{Tooltip|Your term|Additional details}}.
 
[[Category:Content templates]]</noinclude>

Latest revision as of 23:49, September 20, 2022

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 Tooltip template ({{Tooltip|Your term|Additional details}}) which gives Your term.