Template:Infobox challenge: Difference between revisions

From He is Coming Official Wiki
Good progress towards making content variable-informed. I think I've figured out the transclusion quirks now -- sheesh.
m Will this small width increase fix the second scrollbar problem?
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude><div class="borderline-wrapper">
<includeonly>{{#switch: {{{1}}}
{| 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 | show = {{#expr: {{{chal_no|0}}} > 12}} | middle_index = {{#expr: {{{chal_no|0}}} - 13}} | region = {{{region|Woodland}}}}}
| pageName = {{{region}}} Challenge: {{{title}}}
|-
{{#ifexpr: {{{is_weapon|1}}} |
  {{!}} colspan="2" style="text-align:right; vertical-align:bottom;" {{!}} [[File:box_weapon_icon_16x.png|24px|24px]]
  {{!}} style="vertical-align:bottom;" {{!}} [[File:box_weapon_top_16x.png|24px|72px]]
  {{!}} style="height:36px; text-align:left; vertical-align:bottom; padding-left:3px; padding-bottom:3px;"
  |
  {{!}} colspan="3" style="text-align:right; vertical-align:bottom;" {{!}} [[File:box_item_top_16x.png|24px|96px]]
  {{!}} style="height:36px; text-align:left; vertical-align:bottom; padding-left:3px; padding-bottom:3px;"
}} | [[File:Rarity {{{rarity|Common}}} 16x.png|24px|24px]]
|-
| style="width:30px; height:72px; vertical-align:middle;" | [[File:Box_basic_arrow_right.png]]
| style="width:40px; text-align:right;" | [[File:box_{{#ifexpr: {{{is_weapon|1}}} | weapon | item}}_left_16x.png|72px|24px]]
| style="width:72px; text-align:center;" | [[File:{{{reward|Ironstone Greatsword}}} 16x.png|72px|72px]]
| style="width:40px; text-align:left;" | [[File:box_{{#ifexpr: {{{is_weapon|1}}} | weapon | item}}_right_16x.png|72px|24px]]
| style="width:30px; vertical-align:middle;" | [[File:Box_basic_arrow_left.png]]
|-
| colspan="5" style="height:36px; text-align:center; vertical-align:top;" | [[File:box_{{#ifexpr: {{{is_weapon|1}}} | weapon | item}}_bottom_16x.png|24px|120px]]


{{/gridRow | show = {{#expr: {{{chal_no|0}}} < 52}} | middle_index = {{#expr: {{{chal_no|0}}} + 13}} | region = {{{region|Woodland}}}}}
| challengeName = {{{title}}}
|}<big>'''Woodland Challenge: Trollhunter'''</big>
<p>Win against Mountain Troll for the first time<p>
<p>'''Strategy:''' If you reduce the troll's damage for 3 turns, an average gearset should get the job done.  {{:Freezing Edge | iconLink}} seems custom-fit to this purpose.</p></div></onlyinclude>


{{Infobox challenge
| regionalRow = {{!}}{{!}} [[{{{region}}} Challenge: {{{title}}}|{{{title}}}]] {{!}}{{!}} {{{goal}}} {{!}}{{!}} {{:{{{reward}}} | iconLink}}
| chal_no = 64
 
| is_weapon = 0
| {{{1}}} = <div class="challenge borderline-wrapper">
| rarity = Heroic
  {{{!}} class="left-but center-when-shrunk" style="width:216px; position: relative;"
| region = Swampland
  {{!}}-
| reward = Sword Talisman
  {{Infobox challenge/gridRow | region = {{{region}}} | arrow = down | {{#ifexpr: {{{chal_no}}} > 12 | {{#expr: {{{chal_no}}} - 13}} | 69}}}}
}}
  {{!}}-
  {{!}} style="width:30px; vertical-align:middle;" {{!}} {{#ifexpr: {{{chal_no}}} mod 13 > 0 | {{Infobox challenge/gridCell|arrow_right|{{{region}}}|{{#expr:{{{chal_no}}} - 1}}}}}}
  {{!}} colspan="3" style="width:180px; height:150px; vertical-align:middle;" {{!}} {{Superimpose
    | floats = {{Superimpose/d_object | [[File:{{{reward}}} 16x.png|72px|link={{{reward}}}]] | x = 24 | y = 24}}
    | base = {{#ifexpr: {{{is_weapon}}} |Box_weapon_corner_icon_6x|Box_basic_6x}}.png
    | base_link =
    | base_width = 120px
    | align = center
  }}
  {{!}} style="width:30px; vertical-align:middle;" {{!}} {{#ifexpr: 12 > {{{chal_no}}} mod 13 | {{Infobox challenge/gridCell|arrow_left|{{{region}}}|{{#expr:{{{chal_no}}} + 1}}}}}}
  {{!}}-
  {{Infobox challenge/gridRow | region = {{{region}}} | arrow = up | {{#ifexpr: 52 > {{{chal_no}}} | {{#expr: {{{chal_no}}} + 13}} | 69}}}}{{Superimpose/d_object | [[File:Rarity {{{rarity}}} challenge 40.png|link=]] | x = 142 | y = 34}}
  {{!}}}{{Cornerless box | {{{goal|{{Unset param|goal|Goal missing! Inform page author or sign in to add the information yourself.}}}}} | border_style = 4px solid #cf831e | pad = 4px | pad_h = 12px}}
 
  '''Strategy:''' {{{strat|Not yet written on this wiki. Stay tuned!}}}</div>
 
  <p style="padding:24px; text-align:center;">[[{{{region}}}_challenges|Return]] to the full list of challenges.</p>
}}</includeonly><noinclude>
 
{{Infobox challenge | chal_no=14 | reward=Ironstone Greatsword | rarity=Common | is_weapon=1}}
 
==Parameters==
# There is one anonymous parameter that can be blank, producing the full page examples shown above.  Alternatively, specify one of the following modes:
* pageName = {{Infobox challenge | pageName | region=Woodland | title=Where Wolf?}}
* challengeName = {{Infobox challenge | challengeName | title=Where Wolf?}}
* regionalRow = {{Infobox challenge | regionalRow}}
</noinclude>

Latest revision as of 14:40, 21 November 2025


link={{{region}}}_challenge_0 link={{{region}}}_challenge_ 1 link={{{region}}}_challenge_2
link={{{region}}}_challenge_13
link={{{region}}}_challenge_15
link={{{region}}}_challenge_26 link={{{region}}}_challenge_ 27 link={{{region}}}_challenge_28
Goal missing! Inform page author or sign in to add the information yourself.
Strategy: Not yet written on this wiki. Stay tuned!

[[{{{region}}}_challenges|Return]] to the full list of challenges.

Parameters

  1. There is one anonymous parameter that can be blank, producing the full page examples shown above. Alternatively, specify one of the following modes:
  • pageName = Woodland Challenge: Where Wolf?
  • challengeName = Where Wolf?
  • regionalRow = || [[{{{region}}} Challenge: {{{title}}}|{{{title}}}]] || {{{goal}}} || {{:{{{reward}}} | iconLink}}