Template:Walkthrough infobox: Difference between revisions

From Halopedia, the Halo wiki

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}}")
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} class="infoboxlabel" style="[^\n"]+"( width="[^\n"]+")? {{!}}↵([^\n]+):↵{{!}} class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to "{{Infobox|entry|title=$3|content=$1}}")
Line 5: Line 5:
}}
}}
|-
|-
{{#if:{{{prev|}}}|
{{Infobox|entry|title=Prev|content={{{prev|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" width="40px" {{!}}
{{Infobox|entry|title=Next|content={{{next|}}}}}
Prev:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}}
{{{prev}}}
}}
|-
{{#if:{{{next|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" width="40px" {{!}}
Next:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}}
{{{next}}}
}}
|-
! class="infoboxheading" colspan="3" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}; line-height:20px" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="3" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}; line-height:20px" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-

Revision as of 14:16, 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=