Template:MoveTooltip-UNICLR: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<!-- // If there are 2 unnamed arguments, then set 'character' to the first argument and 'moveInput' to the second argument | <includeonly><!-- // 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|}}}|<!-- | ||
-->< | --><div class="tooltip"><!-- | ||
--><span class="plainlinks">[https://wiki.gbl.gg/index.php?title=Under_Night_In-Birth/UNICLR/{{#var:character}}#{{#replace:{{#replace:{{#var:moveInput}}|[|.5B}}|]|.5D}} {{{text|{{#var:moveInput}}}}}]</span><!-- | |||
-->{{#cargo_query: tables=UNI_MoveData<!-- | |||
-->| fields = UNI_MoveData.moveId, UNI_MoveData.input, UNI_MoveData.images = image, UNI_MoveData.damage, UNI_MoveData.name, UNI_MoveData.guard, UNI_MoveData.startup, UNI_MoveData.overall<!-- | |||
-->| where = moveId = '{{{moveId}}}'<!-- | |||
-->| format = template<!-- | |||
-->| template = MoveTooltip-UNI/Table<!-- | |||
-->| named args = yes<!-- | |||
-->}}<!-- | |||
--></div>|<!-- | |||
// Otherwise, show this error and add the below tracking category | // Otherwise, show this error and add the below tracking category | ||
-->'''Invalid Move Tooltip''' | -->'''Invalid Move Tooltip'''[[Category:Pages with invalid move tooltips]]<!-- | ||
-->}} | -->}}</includeonly> | ||
{{doc}} | |||
[[Category:Under Night In-Birth]] | |||
[[Category:Templates]] | |||
</noinclude> |
Revision as of 03:46, 3 October 2021
Template DocumentationEdit This Documentation
Template:MoveTooltip-UNICLR/Documentation
This documentation is automatically transcluded from Template:MoveTooltip-UNICLR/Documentation and is not included when this page is transcluded.
This documentation is automatically transcluded from Template:MoveTooltip-UNICLR/Documentation and is not included when this page is transcluded.