Template:Walkthrough infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} class="infoboxlabel" style="[^\n"]+"( width="[^\n"]+")? {{!}}↵([^\n]+):↵{{!}} class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to "{{Infobox|entry|title=$3|content=$1}}")
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|#7995CA}}}; color:{{{color1|inherit}}}" cellspacing="0"
{{Infobox|start|bg=#7995CA}}
|-
 
{{#if:{{{era|}}}|
{{#if:{{{era|}}}|
! style="background:{{{fieldBG|#F2F3F4}}}" width="100px" rowspan="3" {{!}} {{{era|}}}
! style="background:{{{fieldBG|#F2F3F4}}}" width="100px" rowspan="3" {{!}} {{{era|}}}
Line 7: Line 7:
{{Infobox|entry|title=Prev|content={{{prev|}}}}}
{{Infobox|entry|title=Prev|content={{{prev|}}}}}
{{Infobox|entry|title=Next|content={{{next|}}}}}
{{Infobox|entry|title=Next|content={{{next|}}}}}
! class="infoboxheading" colspan="3" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}; line-height:20px" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}|colspan=3}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|colspan=3}}
{{#if:{{{image|}}}|
 
{{!}} class="infoboxmedia" colspan="3" style="background:{{{imageBG|#B4C5E3}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
|-
{{#if:{{{hidea|}}}||
{{#if:{{{hidea|}}}||
! class="infoboxsubheading" colspan="3" style="background:{{{sectionBG|#7995CA}}}; color:#fff" {{!}} {{{section1-title|Level overview}}}
! class="infoboxsubheading" colspan="3" style="background:{{{sectionBG|#7995CA}}}; color:#fff" {{!}} {{{section1-title|Level overview}}}
Line 29: Line 26:
{{Infobox|entry|title={{{skulls-title|Skulls}}}|content={{{skulls|}}}|colspan=2}}
{{Infobox|entry|title={{{skulls-title|Skulls}}}|content={{{skulls|}}}|colspan=2}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}|colspan=2}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}|colspan=2}}
{{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:27, 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=