Template:Infobox challenge: Difference between revisions

From He is Coming Official Wiki
First sample of this template that has the majority of its variable elements set by parameters.
It really sucks that relative URLs don't survive double-transclusion.
Line 2: Line 2:
{| class="infobox-neutral" style="float:left; clear:left; border: 0px solid; width:212px; margin:0em auto; margin-right: 36px; margin-bottom: 24px; background:#241319; box-sizing:border-box;"
{| class="infobox-neutral" style="float:left; clear:left; border: 0px solid; width:212px; margin:0em auto; margin-right: 36px; margin-bottom: 24px; background:#241319; box-sizing:border-box;"
|-
|-
{{/gridRow | region = {{{region}}} | arrow = down | {{#ifexpr: {{{chal_no}}} > 12 | {{#expr: {{{chal_no}}} - 13}} | 69}}}}
{{Infobox challenge/gridRow | region = {{{region}}} | arrow = down | {{#ifexpr: {{{chal_no}}} > 12 | {{#expr: {{{chal_no}}} - 13}} | 69}}}}
|-
|-
{{#ifexpr: {{{is_weapon}}} |
{{#ifexpr: {{{is_weapon}}} |
Line 13: Line 13:
}} | [[File:Rarity {{{rarity}}} 16x.png|24px|24px]]
}} | [[File:Rarity {{{rarity}}} 16x.png|24px|24px]]
|-
|-
| style="width:30px; height:72px; vertical-align:middle;" | {{#ifexpr: {{{chal_no}}} mod 13 > 0 | {{/gridCell|arrow_right|{{{region}}}|{{#expr:{{{chal_no}}} - 1}}}}}}
| style="width:30px; height:72px; vertical-align:middle;" | {{#ifexpr: {{{chal_no}}} mod 13 > 0 | {{Infobox challenge/gridCell|arrow_right|{{{region}}}|{{#expr:{{{chal_no}}} - 1}}}}}}
| style="width:40px; text-align:right;" | [[File:box_{{#ifexpr: {{{is_weapon}}} | weapon | item}}_left_16x.png|72px|24px]]
| style="width:40px; text-align:right;" | [[File:box_{{#ifexpr: {{{is_weapon}}} | weapon | item}}_left_16x.png|72px|24px]]
| style="width:72px; text-align:center;" | [[File:{{{reward}}} 16x.png|72px|72px]]
| style="width:72px; text-align:center;" | [[File:{{{reward}}} 16x.png|72px|72px]]
| style="width:40px; text-align:left;" | [[File:box_{{#ifexpr: {{{is_weapon}}} | weapon | item}}_right_16x.png|72px|24px]]
| style="width:40px; text-align:left;" | [[File:box_{{#ifexpr: {{{is_weapon}}} | weapon | item}}_right_16x.png|72px|24px]]
| style="width:30px; vertical-align:middle;" | {{#ifexpr: 12 > {{{chal_no}}} mod 13 | {{/gridCell|arrow_left|{{{region}}}|{{#expr:{{{chal_no}}} + 1}}}}}}
| style="width:30px; vertical-align:middle;" | {{#ifexpr: 12 > {{{chal_no}}} mod 13 | {{Infobox challenge/gridCell|arrow_left|{{{region}}}|{{#expr:{{{chal_no}}} + 1}}}}}}
|-
|-
| colspan="5" style="height:36px; text-align:center; vertical-align:top;" | [[File:box_{{#ifexpr: {{{is_weapon}}} | weapon | item}}_bottom_16x.png|24px|120px]]
| colspan="5" style="height:36px; text-align:center; vertical-align:top;" | [[File:box_{{#ifexpr: {{{is_weapon}}} | weapon | item}}_bottom_16x.png|24px|120px]]
|-
|-
{{/gridRow | region = {{{region}}} | arrow = up | {{#ifexpr: 52 > {{{chal_no}}} | {{#expr: {{{chal_no}}} + 13}} | 69}}}}
{{Infobox challenge/gridRow | region = {{{region}}} | arrow = up | {{#ifexpr: 52 > {{{chal_no}}} | {{#expr: {{{chal_no}}} + 13}} | 69}}}}
|}<big>'''{{{region}}} Challenge: {{{title|<span style="color:red">Title missing! Inform page author or sign in to add the information yourself.</span>}}}'''</big>
|}<big>'''{{{region}}} Challenge: {{{title|<span style="color:red">Title missing! Inform page author or sign in to add the information yourself.</span>}}}'''</big>
<p>{{{goal|<span style="color:red">Goal missing! Inform page author or sign in to add the information yourself.</span>}}}<p>
<p>{{{goal|<span style="color:red">Goal missing! Inform page author or sign in to add the information yourself.</span>}}}<p>

Revision as of 19:51, 29 August 2025


File:Box weapon icon 16x.png File:Box weapon top 16x.png
File:Box weapon left 16x.png File:Box weapon right 16x.png
File:Box weapon bottom 16x.png
Woodland Challenge: Trollhunter

Win against Mountain Troll for the first time

Strategy: If you reduce the troll's damage for 3 turns, an average gearset should get the job done. Freezing Edge seems custom-fit to this purpose.

File:Box item top 16x.png
File:Box item left 16x.png File:Box item right 16x.png
File:Box item bottom 16x.png
Swampland Challenge: Headstart

Defeat the swampland hydra after cutting off the acid head at the start of battle.

Strategy: Not yet written on this wiki. Stay tuned!