Permanently protected template

Difference between revisions of "Template:Japanese names"

From Yugipedia
Jump to: navigation, search
(Making it possible to overwrite translated names when querying a main card page.)
(top: Restoring revision 4830869 by User:Dinoguy1000 on 2021-12-06 07:39:53. standardize property name)
(Tag: New user edit)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ #vardefine: $ja_trans_name | {{{3|}}} }}<!--
+
{{ #if: {{{main|}}}
 
+
| {{IfSemantics
-->{{ #if: {{{main|}}}
+
  | {{ #ask: [[{{{main}}}]]
| {{ #ask: [[{{{main}}}]]
+
    |?Japanese name
  |?Ruby Japanese name
+
    |?Romaji name
  |?Romaji name
+
    |?Translated Japanese name
  |?Translated name
+
    |?Japanese base name
  |?Japanese name
+
    |?Japanese kana name
  |?Japanese kana name
+
    |?Base romaji name
  |format = template
+
    |?Translated Japanese base name
  |template = Japanese names/core
+
    |userparam = {{ #if: {{{kana_only|}}} | kana_only | {{ #if: {{{no_ruby|}}} | no_ruby }} }} {{ #if: {{{no_properties|}}} | no_properties }} {{{3|}}}
  |link = none
+
    |format = plainlist
 +
    |template = Japanese names/core
 +
    |link = none
 +
    }}
 
   }}
 
   }}
 
| {{Japanese names/core
 
| {{Japanese names/core
   |2 = {{{1|}}}<!-- Japanese name -->
+
   |2 = {{{1<includeonly>|</includeonly>}}}<!-- Japanese name -->
   |3 = {{{2|}}}<!-- Romaji name -->
+
   |3 = {{{2<includeonly>|</includeonly>}}}<!-- Romaji name -->
   |4 = {{{3|}}}<!-- Translated name -->
+
   |4 = {{{3<includeonly>|</includeonly>}}}<!-- Translated Japanese name -->
   |5 = {{Ruby/split|{{{1|}}}}}<!-- Japanese base name -->
+
   |5 = {{Ruby/split|{{{1<includeonly>|</includeonly>}}}}}<!-- Japanese base name -->
   |6 = {{Ruby/split|{{{1|}}}|top}}<!-- Japanese kana name -->
+
   |6 = {{Ruby/split|{{{1<includeonly>|</includeonly>}}}|top}}<!-- Japanese kana name -->
 +
  |7 = {{{4<includeonly>|</includeonly>}}}<!-- Base romaji name -->
 +
  |8 = {{{5<includeonly>|</includeonly>}}}<!-- Translated base name -->
 +
  |#userparam = {{ #if: {{{kana_only|}}} | kana_only | {{ #if: {{{no_ruby|}}} | no_ruby }} }} {{ #if: {{{no_properties|}}} | no_properties }}
 
   |temp =  
 
   |temp =  
   }}
+
   }}{{ #if: {{NAMESPACE}} || {{ #if: {{ #var: $main }} | [[Category:Cards with a different Japanese name from their main counterpart]] }} }}
 
}}<noinclude>
 
}}<noinclude>
 
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 22:46, 17 March 2023

Japanese
{{{1}}}
Base rōmaji
{{{4}}}
Base translated
{{{5}}}
Furigana rōmaji
{{{2}}}
Furigana translated
{{{3}}}