Template:MoveTooltip-UNICLR: Difference between revisions

From Mizuumi Wiki
Jump to navigation Jump to search
(Created page with "<span class="ajaxttlink"><span>Under_Night_In-Birth/UNICLR/{{{character|{{SUBPAGENAME}}}}}/Data#{{{moveInput}}}|<span class="ttlink">{{{text|{{{character|{{SUBPAGENAME}}}}}'...")
 
No edit summary
Line 1: Line 1:
<span class="ajaxttlink"><span>[[Under_Night_In-Birth/UNICLR/{{{character|{{SUBPAGENAME}}}}}/Data#{{{moveInput}}}|<span class="ttlink">{{{text|{{{character|{{SUBPAGENAME}}}}}'s {{{moveInput}}}}}}</span>]]</span></span>
<!--      // If there are 2 unnamed arguments, then set 'character' to the first argument and 'moveInput' to the second argument
-->{{#if:{{{2|}}}|<!--
---->{{#vardefine:character|{{{1}}}}}<!--
---->{{#vardefine:moveInput|{{{2}}}}}<!--
          // Else If there is only 1 unnamed argument, assume that the 'character' is the subpage and the 'moveInput' is the first argument
---->|{{#if:{{{1|}}}|<!--
-------->{{#vardefine:character|{{SUBPAGENAME}}}}<!--
-------->{{#vardefine:moveInput|{{{1}}}}}<!--
---->}}
-->}}<!--
          // If at least 1 unnamed parameter exists, make the tooltip.
-->{{#if:{{{1|}}}{{{2|}}}|<!--
--><span class="ajaxttlink"><span>[[Under_Night_In-Birth/UNICLR/{{#var:character}}/Data#{{#var:moveInput}}|<span class="ttlink">{{{text|{{#var:character}}'s {{#var:moveInput}}}}}</span>]]</span></span>|<!--
          // Otherwise, show this error and add the below tracking category
-->'''Invalid Move Tooltip'''[[Category:Pages with invalid move tooltips]]<!--
-->}}

Revision as of 02:27, 30 August 2021

-->Invalid Move Tooltip