Template:Infobox challenge/gridRow: Difference between revisions

From He is Coming Official Wiki
No style?
Can't make an outside ifexpr work. Real pipes, not {{!}} must be the output of this template.
Line 1: Line 1:
<onlyinclude>{{ #ifexpr: {{{show|{{#expr: 1>0}}}}} | {{#ifexpr: {{{middle_index|14}}} mod 13 > 0 | [[Image:Box_basic_red.png | link={{{region|Woodland}}}_challenge_{{#expr: {{{middle_index|14}}} - 1 }}]]}} {{!}} colspan="3" style="text-align:center;" {{!}} [[Image:Box_basic_arrow_down.png | link={{{region|Woodland}}}_challenge_{{{middle_index|14}}}]] {{!}} {{!}} {{#ifexpr: {{{middle_index|14}}} mod 13 < 12 | [[Image:Box_basic_red.png | link={{{region|Woodland}}}_challenge_{{#expr: {{{middle_index|14}}} + 1}}]]}} | colspan="5" {{!}} }}</onlyinclude>
<onlyinclude>{{#ifexpr: {{{middle_index|14}}} mod 13 > 0 | [[Image:Box_basic_red.png | link={{{region|Woodland}}}_challenge_{{#expr: {{{middle_index|14}}} - 1 }}]]}} | colspan="3" style="text-align:center;" | [[Image:Box_basic_arrow_down.png | link={{{region|Woodland}}}_challenge_{{{middle_index|14}}}]] | | {{#ifexpr: {{{middle_index|14}}} mod 13 < 12 | [[Image:Box_basic_red.png | link={{{region|Woodland}}}_challenge_{{#expr: {{{middle_index|14}}} + 1}}]]}}</onlyinclude>


==Parameters==
==Parameters==
* height_arg = a px or em measurement of the table row that encloses this template
* middle_index = Of the up-to three grid squares shown, what is the number that identifies the second one?
* middle_index = Of the up-to three grid squares shown, what is the number that identifies the second one?
* region = Supplies part of the pagename that will be prepended to indexes; e.g.: Woodland
* region = Supplies part of the pagename that will be prepended to indexes; e.g.: Woodland
* show = switches between the output shown above, or: {{Infobox_challenge/gridRow | show = {{#expr: 1<0}} | height_arg = 30px}}

Revision as of 22:09, 27 August 2025

| colspan="3" style="text-align:center;" | | |

Parameters

  • middle_index = Of the up-to three grid squares shown, what is the number that identifies the second one?
  • region = Supplies part of the pagename that will be prepended to indexes; e.g.: Woodland