Template:Foreign names: Difference between revisions

simplify code
m (Text replacement - "Category:Infobox Templates" to "Category:Infobox templates")
(simplify code)
Line 1: Line 1:
<includeonly>{| border=1 cellspacing=0 cellpadding=4 style="border-collapse:collapse; margin-bottom:5px;{{#if:{{{float|}}}| float:left;}}"
<includeonly>{| class="table"
|-style="background:{{{bgcolor|#CCC}}}"
|-
!{{color|Language|{{{txtcolor|black}}}}}
!Language !! Name !! Meaning
!{{color|Name|{{{txtcolor|black}}}}}
!{{color|Meaning|{{{txtcolor|black}}}}}
|-
|-
{{#if:{{{Jap|}}}|{{!}}Japanese{{!}}{{!}}{{{Jap|}}}{{#if:{{{JapR|}}}|<br/>''{{{JapR}}}''}}{{!}}{{!}}{{{JapM|}}}}}
{{#if:{{{Jap|}}}|{{!}}Japanese{{!}}{{!}}{{{Jap|}}}{{#if:{{{JapR|}}}|<br/>''{{{JapR}}}''}}{{!}}{{!}}{{{JapM|}}}}}
Line 36: Line 34:
|}</includeonly><noinclude>
|}</includeonly><noinclude>
This template allows putting information about the foreign names of article subjects and their respective meanings in that languages into an article. This template should precede the Trivia section of a page. The coding is as follows:
This template allows putting information about the foreign names of article subjects and their respective meanings in that languages into an article. This template should precede the Trivia section of a page. The coding is as follows:
<pre>{{Foreign names
<pre>{{foreign names
|Jap=クリボー
|Jap=クリボー
|JapR=kuribō
|JapR=kuribō
Line 59: Line 57:
*'''Rom''' (RomM) - Romanian
*'''Rom''' (RomM) - Romanian


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