Permanently protected template

Difference between revisions of "Template:Japanese names"

From Yugipedia
Jump to: navigation, search
(if a manual translated name is given, pass it through the query via #userparam instead of abusing variables to pass state between templates (no needed for the non-query branch since that passes in the translated name directly already))
(seems the temp parameter is still needed, after all)
Line 20: Line 20:
 
   |6 = {{Ruby/split|{{{1<includeonly>|</includeonly>}}}|top}}<!-- Japanese kana name -->
 
   |6 = {{Ruby/split|{{{1<includeonly>|</includeonly>}}}|top}}<!-- Japanese kana name -->
 
   |#userparam = {{ #if: {{{kana_only|}}} | kana_only | {{ #if: {{{no_ruby|}}} | no_ruby }} }}
 
   |#userparam = {{ #if: {{{kana_only|}}} | kana_only | {{ #if: {{{no_ruby|}}} | no_ruby }} }}
 +
  |temp =
 
   }}{{ #if: {{NAMESPACE}} || {{ #if: {{ #var: $main }} | [[Category:Cards with a different Japanese name from their main counterpart]] }} }}
 
   }}{{ #if: {{NAMESPACE}} || {{ #if: {{ #var: $main }} | [[Category:Cards with a different Japanese name from their main counterpart]] }} }}
 
}}<noinclude>
 
}}<noinclude>
  
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 19:22, 18 July 2019

Japanese
{{{1}}}
Rōmaji
{{{2}}}
Translated
{{{3}}}