Template:Infobox challenge: Difference between revisions

From He is Coming Official Wiki
It really sucks that relative URLs don't survive double-transclusion.
m Will this small width increase fix the second scrollbar problem?
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><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;"
|-
{{Infobox challenge/gridRow | region = {{{region}}} | arrow = down | {{#ifexpr: {{{chal_no}}} > 12 | {{#expr: {{{chal_no}}} - 13}} | 69}}}}
|-
{{#ifexpr: {{{is_weapon}}} |
  {{!}} 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}}} 16x.png|24px|24px]]
|-
| 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: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: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]]
|-
{{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>
<p>{{{goal|<span style="color:red">Goal missing! Inform page author or sign in to add the information yourself.</span>}}}<p>
<p>'''Strategy:''' {{{strat|Not yet written on this wiki. Stay tuned!}}}</p></div></includeonly><noinclude>


{{Infobox challenge
| pageName = {{{region}}} Challenge: {{{title}}}
| chal_no = 3
| goal = Win against Mountain Troll for the first time
| is_weapon = 1
| rarity = Common
| region = Woodland
| reward = Ironstone Greatsword
| strat = 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.
| title = Trollhunter
}}


{{Infobox challenge
| challengeName = {{{title}}}
| chal_no = 54
 
| goal = Defeat the swampland hydra after cutting off the <span style="color:lime">acid</span> head at the start of battle.
| regionalRow = {{!}}{{!}} [[{{{region}}} Challenge: {{{title}}}|{{{title}}}]] {{!}}{{!}} {{{goal}}} {{!}}{{!}} {{:{{{reward}}} | iconLink}}
| is_weapon = 0
 
| rarity = Heroic
| {{{1}}} = <div class="challenge borderline-wrapper">
| region = Swampland
  {{{!}} class="left-but center-when-shrunk" style="width:216px; position: relative;"
| reward = Acid Mutation
  {{!}}-
| title = Headstart
  {{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>
</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}}