Navigation menu

Template:Foreignname: Difference between revisions

From Metroid Wiki
No edit summary
(restore closing bracket until usage is removed)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
{|</noinclude>
{|</noinclude>
|-
|-
| style="{{#if: {{{4|}}} | {{roundbl}} }}; {{background}} {{border}}" align="center" | {{{1|}}}
| {{{1|}}}
| style="{{background}} {{border}} text-align: center" | {{{2|}}}
| {{{2|}}}
| style="{{#if: {{{4|}}} | {{roundbr}} }}; {{background}} {{border}}" align="center" |&nbsp;{{{3|{{Hover|?|Currently Unknown}} }}}&nbsp;{{#if: {{{4|}}}|&nbsp;
| {{{3|{{Hover|?|Currently Unknown}}}}}{{#if: {{{4|}}}|&nbsp;
{{!)}}|&nbsp;}}{{#if: {{{4|}}} | </center> }}<noinclude>
{{!)}}}}<noinclude>
|}
|}
{{clear}}
{{clear}}
Line 11: Line 11:


==Usage==
==Usage==
{{t|Foreignname|Language|Name|Meaning|Close (only once)}}
{{t|Foreignname|Language|Name|Meaning}}


This template is to be used in conjunction with [[Template:Foreignname-header]] and can only be used following said template. This template displays the Language, Name, and Meaning of a word in another language. This template is to be repeatedly used following Template:Foreignname-header until you reach the final row needed. At the final row, add a fourth parameter ''close'' to close the table.
This template is to be used in conjunction with {{t|Foreignname-header}} and can only be used following said template. This template displays the Language, Name, and Meaning of a word in another language. This template is to be repeatedly used following {{t|Foreignname-header}} for each language. After the final row, close the table with <code>|}</code>.


Words in languages that require a pronunciation guide, such as Japanese, can be placed within a [[Template:Hover|hover template]] that displays the English transliteration.
Words in languages that require a pronunciation guide, such as Japanese, can be placed within a {{t|Hover}} template that displays the English transliteration.


==Example==
==Example==
Here is an example of what the code and code yield is for the Japanese word for [[Chozo]]:
Here is an example of what the code and code yield is for the Japanese word for [[Chozo]]:


<nowiki>{{Foreignname-header}}</nowiki><br />
<pre>
<nowiki>{{Foreignname|Japanese|{{hover|鳥人族|Chōjinzoku}}|Bird-human race|close}}</nowiki><br />
{{Foreignname-header}}
{{Foreignname|Japanese|{{hover|鳥人族|Chōjinzoku}}|Bird-human race}}
|}</pre>


Yields:
Yields:
Line 27: Line 29:
{{Foreignname-header}}
{{Foreignname-header}}
{{Foreignname|Japanese|{{hover|鳥人族|Chōjinzoku}}|Bird-human race|close}}
{{Foreignname|Japanese|{{hover|鳥人族|Chōjinzoku}}|Bird-human race|close}}
|}


[[Category:Data Templates]]
[[Category:Data Templates]]
</noinclude>
</noinclude>

Latest revision as of 21:38, 11 April 2023

?


Usage[edit source]

{{Foreignname| Language | Name | Meaning }}

This template is to be used in conjunction with {{Foreignname-header}} and can only be used following said template. This template displays the Language, Name, and Meaning of a word in another language. This template is to be repeatedly used following {{Foreignname-header}} for each language. After the final row, close the table with |}.

Words in languages that require a pronunciation guide, such as Japanese, can be placed within a {{Hover}} template that displays the English transliteration.

Example[edit source]

Here is an example of what the code and code yield is for the Japanese word for Chozo:

{{Foreignname-header}}
{{Foreignname|Japanese|{{hover|鳥人族|Chōjinzoku}}|Bird-human race}}
|}

Yields:

Language Name Meaning
Japanese 鳥人族 Bird-human race 

|}