Template:MoveTooltip-UNICLR: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Reverting to old version which uses Javascript) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- // If there are 2 unnamed arguments, then set 'character' to the first argument and 'moveInput' to the second argument | |||
-->{{#if:{{{2|}}}|<!-- | -->{{#if:{{{2|}}}|<!-- | ||
---->{{#vardefine:character|{{{1}}}}}<!-- | ---->{{#vardefine:character|{{{1}}}}}<!-- | ||
Line 11: | Line 11: | ||
// If at least 1 unnamed parameter exists, make the tooltip. | // If at least 1 unnamed parameter exists, make the tooltip. | ||
-->{{#if:{{{1|}}}{{{2|}}}|<!-- | -->{{#if:{{{1|}}}{{{2|}}}|<!-- | ||
-->< | --><span class="ajaxttlink"><span>[[Under_Night_In-Birth/UNICLR/{{#var:character}}/Data#{{#replace:{{#replace:{{#var:moveInput}}|[|.5B}}|]|.5D}}|<span class="ttlink">{{{text|{{#var:moveInput}}}}}</span>]]</span></span>|<!-- | ||
// Otherwise, show this error and add the below tracking category | // Otherwise, show this error and add the below tracking category | ||
-->'''Invalid Move Tooltip'''[[Category:Pages with invalid move tooltips]]<!-- | -->'''Invalid Move Tooltip'''<includeonly>[[Category:Pages with invalid move tooltips]]</includeonly><!-- | ||
-->}} | -->}} | ||
Latest revision as of 06:53, 3 October 2021
Invalid Move Tooltip