Template:Walkthrough infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} {{!}}- {{#if:{{{" to "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} |- {{#if:{{{")
m (Text replacement - "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} {{!}}- {{#if:{{{image|}}}|" to "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |- {{#if:{{{image|}}}|")
Line 18: Line 18:
{{!}}-}}
{{!}}-}}
! 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}}}}
{{!}}-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}} class="infoboxmedia" colspan="3" style="background:{{{imageBG|#B4C5E3}}}; border-color:{{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="3" style="background:{{{imageBG|#B4C5E3}}}; border-color:{{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}

Revision as of 11:59, October 6, 2022

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=