Template:Walkthrough infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} class="infoboxcell" colspan="(\d)" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to "{{Infobox|entry|title=$2|content=$1|colspan=$3}}")
Line 29: Line 29:
}}
}}
|-
|-
{{#if:{{{player|}}}|
{{Infobox|entry|title={{{player-title|Player(s)}}}|content={{{player|}}}|colspan=2}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{objective-title|Objective(s)}}}|content={{{objective|}}}|colspan=2}}
{{{player-title|Player(s)}}}:
{{Infobox|entry|title={{{location-title|Location(s)}}}|content={{{location|}}}|colspan=2}}
{{!}} class="infoboxcell" colspan="2" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{player}}}
}}
|-
{{#if:{{{objective|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{objective-title|Objective(s)}}}:
{{!}} class="infoboxcell" colspan="2" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{objective}}}
}}
|-
{{#if:{{{location|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{location-title|Location(s)}}}:
{{!}} class="infoboxcell" colspan="2" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{location}}}
}}
|-
{{#if:{{{hideb|}}}||
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="3" style="background:{{{sectionBG|#7995CA}}}; color:#fff" {{!}} {{{section2-title|Gameplay overview}}}
! class="infoboxsubheading" colspan="3" style="background:{{{sectionBG|#7995CA}}}; color:#fff" {{!}} {{{section2-title|Gameplay overview}}}
}}
}}
|-
|-
{{#if:{{{starting weapons|}}}|
{{Infobox|entry|title={{{starting weapons-title|Default weapons}}}|content={{{starting weapons|}}}|colspan=2}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{new weapons-title|Available weapons}}}|content={{{new weapons|}}}|colspan=2}}
{{{starting weapons-title|Default weapons}}}:
{{Infobox|entry|title={{{enemies-title|Enemies}}}|content={{{enemies|}}}|colspan=2}}
{{!}} class="infoboxcell" colspan="2" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{skulls-title|Skulls}}}|content={{{skulls|}}}|colspan=2}}
{{{starting weapons}}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}|colspan=2}}
}}
|-
{{#if:{{{new weapons|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{new weapons-title|Available weapons}}}:
{{!}} class="infoboxcell" colspan="2" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{new weapons}}}
}}
|-
{{#if:{{{enemies|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{enemies-title|Enemies}}}:
{{!}} class="infoboxcell" colspan="2" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{enemies}}}
}}
|-
{{#if:{{{skulls|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{skulls-title|Skulls}}}:
{{!}} class="infoboxcell" colspan="2" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{skulls}}}
}}
|-
{{#if:{{{misc|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc-title|Miscellaneous}}}:
{{!}} class="infoboxcell" colspan="2" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc}}}
}}
|-
{{Infobox|end|colspan=3}}<includeonly>{{#if:{{{pagegamelabel|}}}|{{#ifexist:Category:{{#acronym:game|{{{pagegamelabel}}}|title|{{{pagegamelabel}}}}} walkthroughs|[[Category:{{#acronym:game|{{{pagegamelabel}}}|title|{{{pagegamelabel}}}}} walkthroughs]]|[[Category:Miscellaneous walkthroughs]]}}}}{{pagetitle|{{{pagetitle|{{{pagename|{{ROOTPAGENAME}}}}} - {{{pagelabel|Walkthrough {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}}{{#if:{{{pagegamelabel|}}}|<nowiki/> - {{#acronym:game|{{{pagegamelabel}}}|title|{{{pagegamelabel}}}}}}}}}</includeonly><noinclude>__NOTOC__
{{Infobox|end|colspan=3}}<includeonly>{{#if:{{{pagegamelabel|}}}|{{#ifexist:Category:{{#acronym:game|{{{pagegamelabel}}}|title|{{{pagegamelabel}}}}} walkthroughs|[[Category:{{#acronym:game|{{{pagegamelabel}}}|title|{{{pagegamelabel}}}}} walkthroughs]]|[[Category:Miscellaneous walkthroughs]]}}}}{{pagetitle|{{{pagetitle|{{{pagename|{{ROOTPAGENAME}}}}} - {{{pagelabel|Walkthrough {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}}{{#if:{{{pagegamelabel|}}}|<nowiki/> - {{#acronym:game|{{{pagegamelabel}}}|title|{{{pagegamelabel}}}}}}}}}</includeonly><noinclude>__NOTOC__
{{clear}}
{{clear}}

Revision as of 14:13, August 28, 2023

Walkthrough infobox
Level overview
Gameplay overview
 

Instructions

Cut and paste the following code into your article, then put the relevant specifications after the "=" signs.

{{Walkthrough infobox
|era=
|prev=
|next=
|name=
|image=
|player=
|objective=
|location=
|starting weapons=
|new weapons=
|enemies=
|skulls=
}}

Custom parameters

The following allows you to alter the title of the sub-sections:

|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|section1-title=
|section2-title=

Display parameters

The following allows you to hide the section header

  • hidea (hides Overview section header)
  • hideb (hides Gameplay section header)
|hidea=
|hideb=