Template:ComboData-MBTL: Difference between revisions
Jump to navigation
Jump to search
(Undo revision 269945 by ThatKirbo (talk) hi if youre looking at the history dont question it. i dont do this normally! i think this is right.) Tag: Undo |
(implemented auto formatting the combo) |
||
Line 1: | Line 1: | ||
<includeonly>|- class="nav-header" style="text-align:right; background-color:#ccccff30;" | <includeonly>|- class="nav-header" style="text-align:right; background-color:#ccccff30;" | ||
| style="text-align:left" data-sort-value="{{#var:n}}" | {{#vardefine:n|{{#expr:{{#var:n}}+1}}}}{{{combo}}} | | style="text-align:left" data-sort-value="{{#var:n}}" | {{#vardefine:n|{{#expr:{{#var:n}}+1}}}}{{input|{{{combo}}}}} | ||
{{#ifeq:{{#var:showData}}|yes|<!-- | {{#ifeq:{{#var:showData}}|yes|<!-- | ||
-->{{#ifeq:{{#var:showDamage}} | yes |{{!}} style="width:{{#var:extraColWidth}};" {{!}} {{#if: {{{damage|}}} | {{{damage}}}}}}} | -->{{#ifeq:{{#var:showDamage}} | yes |{{!}} style="width:{{#var:extraColWidth}};" {{!}} {{#if: {{{damage|}}} | {{{damage}}}}}}} |
Revision as of 07:30, 24 July 2023
See Template:ComboTable-MBTL for usage. To-do: Make additional routes look nicer