Main Page

Difference between revisions of "User:Kamil118/template:ml test"

From Arks-Visiphone
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{#simple-tooltip: {{#if: {{{english|}}}|{{{english}}}|{{{kana}}}}}|
+
<includeonly>{{#simple-tooltip:  
<span align="center">
+
{{#if: {{{english|}}}|
 +
      {{{english}}}|
 +
      {{#if {{{kana|}}}|
 +
          {{{kana}}}|
 +
          {{{official}}}
 +
      }}
 +
}}|
 +
<span>
 
{{#if: {{{english|}}}|English: {{{english}}}}}
 
{{#if: {{{english|}}}|English: {{{english}}}}}
 
{{#if: {{{kana|}}}|</br>Japanese: {{{kana}}}}}
 
{{#if: {{{kana|}}}|</br>Japanese: {{{kana}}}}}
Line 15: Line 22:
 
official - name from official translation
 
official - name from official translation
  
At least one of "english" or "kana" arguments is required
+
At least one argument is required. The base of tooltip is first existing argument where priority goes english, kana, official
  
 
{{User:Kamil118/template:ml_test|english=en|kana=jp|official=off}}
 
{{User:Kamil118/template:ml_test|english=en|kana=jp|official=off}}

Revision as of 15:23, 9 April 2021


Takes 3 arguments:

english - name from fan translation

kana - japanese name

official - name from official translation

At least one argument is required. The base of tooltip is first existing argument where priority goes english, kana, official

en

Rod-NT

Red Processor