Main Page

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

From Arks-Visiphone
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#simple-tooltip: {{#if: {{{english|}}}|{{{english}}}|{{{kana}}}}}|
+
<includeonly>{{#simple-tooltip:  
<span align="center">
+
{{#if: {{{link|}}}|
{{#if: {{{english|}}}|English: {{{english}}}}}
+
    [[{{{link}}}]] [[test]] {{plain link|test}} {{{link}}}||
{{#if: {{{kana|}}}|</br>Japanese: {{{kana}}}}}
+
}}
{{#if: {{{official|}}}|</br>English (Official): {{{official}}}}}
+
{{#if: {{{english|}}}|
 +
        {{{english}}}|
 +
        {{#if {{{kana|}}}|
 +
          {{{kana}}}|
 +
          {{{official}}}
 +
        }}
 +
    }}
 +
|
 +
<span>
 +
{{#if: {{{english|}}}|English: {{{english}}}}}<!--
 +
-->{{#if: {{{kana|}}}|</br>Japanese: {{{kana}}}}}<!--
 +
-->{{#if: {{{official|}}}|</br>English (Official): {{{official}}}}}
 
</span>
 
</span>
 
}}</includeonly>
 
}}</includeonly>
Line 15: Line 26:
 
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}}
 
{{User:Kamil118/template:ml_test|english=Rod-NT|kana=ロッド-NT|official=Rod}}
 
{{User:Kamil118/template:ml_test|english=Rod-NT|kana=ロッド-NT|official=Rod}}
 +
{{User:Kamil118/template:ml_test|english=Rod-NT|kana=ロッド-NT|official=Rod|link=[[Rod]]}}
 
{{User:Kamil118/template:ml_test|english=Red Processor|kana=レッドプロセッサ}}
 
{{User:Kamil118/template:ml_test|english=Red Processor|kana=レッドプロセッサ}}
 +
{{CURRENTVERSION}}
 
</noinclude>
 
</noinclude>

Latest revision as of 17:57, 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

[[[[Rod]]]] [[test]] [[:Template:Plain link]] [[Rod]] Rod-NT

Red Processor

1.35.2