Template:Other languages: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| style="border:1px solid #CCCCCC; background:#F1F1F1; float:right; clear:right; margin-left:5px; width:220px; padding:0px; spacing:0px;"
{| class="linkbox" style="width:300px; float:right; clear:right; background:#F1F1F1; border:1px solid #ccc; margin:0 0 10px 10px"
|-
! Language
! Language
! Equivalent
! Equivalent
|-
|-
{{#if:{{{fr|}}}|
{{#if:{{{fr|}}}|
{{!}} style="vertical-align:top;{{#if:{{{es|}}}|border-bottom:1px dashed #CCCCCC;|}}" {{!}} [[File:Flag of France.png|30px]] '''French'''
! 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 #CCCCCC;|}}" {{!}} {{{fr|}}}
{{!}} style="vertical-align:top;{{#if:{{{es|}}}|border-bottom:1px dashed #ccc}}" {{!}} {{{fr}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{es|}}}|
{{#if:{{{es|}}}|
{{!}} style="vertical-align:top;{{#if:{{{de|}}}|border-bottom:1px dashed #CCCCCC;|}}" {{!}} [[File:Flag of Spain.png|30px]] '''Spanish'''
! style="vertical-align:top;{{#if:{{{de|}}}|border-bottom:1px dashed #ccc}}" {{!}} [[File:Flag of Spain.png|30px|link=]]<br>Spanish
{{!}} style="vertical-align:top;{{#if:{{{de|}}}|border-bottom:1px dashed #CCCCCC;|}}" {{!}} {{{es|}}}
{{!}} style="vertical-align:top;{{#if:{{{de|}}}|border-bottom:1px dashed #ccc}}" {{!}} {{{es}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{de|}}}|
{{#if:{{{de|}}}|
{{!}} style="vertical-align:top; {{#if:{{{es|}}}||{{#if:{{{fr|}}}|border-top:1px dashed #CCCCCC;}}}}" {{!}} [[File:German Flag.png|30px]] '''German'''
! style="vertical-align:top;{{#if:{{{es|}}}||{{#if:{{{fr|}}}|border-top:1px dashed #ccc}}}}" {{!}} [[File:German Flag.png|30px|link=]]<br>German
{{!}} style="vertical-align:top; {{#if:{{{es|}}}||{{#if:{{{fr|}}}|border-top:1px dashed #CCCCCC;}}}}" {{!}} {{{de|}}}
{{!}} style="vertical-align:top; {{#if:{{{es|}}}||{{#if:{{{fr|}}}|border-top:1px dashed #ccc}}}}" {{!}} {{{de}}}
}}
}}
|}<noinclude>
|}<noinclude>
Line 35: Line 34:
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.
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}}.
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>
[[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.