Template:Infobox challenge: Difference between revisions

From He is Coming Official Wiki
Addition of double-transclusion technology (regionalRow and ...). An attempt to slip "pageName" under the radar is threatening to cause infinite recursion, but maybe I can get around it..
Made the examples more generic so the template family doesn't gain circular references. The last sentence that links back to Region-Challenges-Hub is now centered.
Line 37: Line 37:


   <p>'''Strategy:''' {{{strat|Not yet written on this wiki. Stay tuned!}}}</p></div>
   <p>'''Strategy:''' {{{strat|Not yet written on this wiki. Stay tuned!}}}</p></div>
 
 
   <p style="padding-bottom:24px;">[[{{{region}}}_challenges|Return]] to the full list of challenges.</p>
   <p style="padding:24px; text-align:center;">[[{{{region}}}_challenges|Return]] to the full list of challenges.</p>
}}</includeonly><noinclude>
}}</includeonly><noinclude>


{{:Woodland_challenge_3}}
{{Infobox challenge | chal_no=14 | reward=Ironstone Greatsword | rarity=Common | is_weapon=1}}
 
{{:Woodland_challenge_64}}
 
{{:Woodland_challenge_55}}
 
{{:Woodland_challenge_23}}


==Parameters==
==Parameters==
# There is one anonymous parameter that can be blank, producing the full page examples shown above.  Alternatively, specify one of the following modes:
# 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_0 | pageName}}
* pageName = {{Infobox challenge | pageName | region=Woodland | title=Where Wolf?}}
* regionalRow = {{:Woodland_challenge_64 | regionalRow}}
* regionalRow = {{Infobox challenge | regionalRow}}
</noinclude>
</noinclude>

Revision as of 19:24, 1 September 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?
  • regionalRow = || [[{{{region}}} Challenge: {{{title}}}|{{{title}}}]] || {{{goal}}} || {{:{{{reward}}} | iconLink}}