Template:Challenge grid: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Text replacement - " 0px" to " 0")
(Simplify code using CSS grid)
Tag: Mobile edit
 
Line 1: Line 1:
<includeonly>{| style="background-color: #1D3052;" class="wikitable" title="On the grid, this challenge is on column {{{1}}} and row {{{2}}}."
<includeonly><div title="On the grid, this challenge is on column {{{1|0}}} and row {{{2|0}}}." style="background-color: #1D3052; width: min-content; display:grid; grid-template-columns: repeat(5, auto); grid-template-rows: repeat(6, auto);">
|-
<div style="grid-area: {{{2|0}}} / {{{1|0}}}">[[File:P2 challenge mode flower.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|1|{{#ifeq:{{{2}}}|1|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|2|{{#ifeq:{{{2}}}|1|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|3|{{#ifeq:{{{2}}}|1|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|4|{{#ifeq:{{{2}}}|1|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|5|{{#ifeq:{{{2}}}|1|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
|-
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|1|{{#ifeq:{{{2}}}|2|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|2|{{#ifeq:{{{2}}}|2|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|3|{{#ifeq:{{{2}}}|2|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|4|{{#ifeq:{{{2}}}|2|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|5|{{#ifeq:{{{2}}}|2|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
|-
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|1|{{#ifeq:{{{2}}}|3|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|2|{{#ifeq:{{{2}}}|3|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|3|{{#ifeq:{{{2}}}|3|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|4|{{#ifeq:{{{2}}}|3|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|5|{{#ifeq:{{{2}}}|3|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
|-
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|1|{{#ifeq:{{{2}}}|4|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|2|{{#ifeq:{{{2}}}|4|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|3|{{#ifeq:{{{2}}}|4|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|4|{{#ifeq:{{{2}}}|4|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|5|{{#ifeq:{{{2}}}|4|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
|-
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|1|{{#ifeq:{{{2}}}|5|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|2|{{#ifeq:{{{2}}}|5|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|3|{{#ifeq:{{{2}}}|5|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|4|{{#ifeq:{{{2}}}|5|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|5|{{#ifeq:{{{2}}}|5|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
<div>[[File:P2 challenge mode dot.png|link=|16px]]</div>
|-
</div></includeonly><noinclude>
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|1|{{#ifeq:{{{2}}}|6|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|2|{{#ifeq:{{{2}}}|6|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|3|{{#ifeq:{{{2}}}|6|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|4|{{#ifeq:{{{2}}}|6|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
| style="padding: 0; border: none;" | {{#ifeq:{{{1}}}|5|{{#ifeq:{{{2}}}|6|[[File:P2 challenge mode flower.png|link=|16px]]|[[File:P2 challenge mode dot.png|link=|16px]]}}|[[File:P2 challenge mode dot.png|link=|16px]]}}
|}
</includeonly><noinclude>


==Info==
==Info==

Latest revision as of 03:34, January 18, 2024


Info

This is used to highlight a spot on the grid in Pikmin 2's Challenge Mode. This is the grid used on the Challenge Mode menu. It should normally go on the challenge mode infobox. Special thanks to the Binding of Isaac Wikia.

Parameters

Parameter Mandatory Default Purpose Detailed description
1 Yes Column The column number.
2 Yes Row The row number.

Skeleton

{{challenge grid|<column>|<row>}}

Examples

Code Result
{{challenge grid|4|2}}
P2 challenge mode flower.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png