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}}")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|#7995CA}}}; color:{{{color1|inherit}}}" cellspacing="0"
{{Infobox|start|bg=#7995CA}}
|-
 
{{#if:{{{era|}}}|
{{Infobox|rowspan|align=center|content={{{era|}}}|width=100px|entries=
! style="background:{{{fieldBG|#F2F3F4}}}" width="100px" rowspan="3" {{!}} {{{era|}}}
{{Infobox|entry|title={{{prev-title|Prev}}}|content={{{prev|}}}<nowiki/>}}
{{Infobox|entry|title={{{next-title|Next}}}|content={{{next|}}}<nowiki/>}}
}}
}}
|-
 
{{Infobox|entry|title=Prev|content={{{prev|}}}}}
{{Infobox|title|name={{{name|}}}|colspan=3}}
{{Infobox|entry|title=Next|content={{{next|}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|colspan=3}}
! class="infoboxheading" colspan="3" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}; line-height:20px" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
 
|-
{{Infobox|section|title={{{section1-title|Level overview}}}|colspan=3|entries=
{{#if:{{{image|}}}|
{{Infobox|entry|title={{{player-title|Player(s)}}}|content={{{player|}}}|colspan=2}}
{{!}} class="infoboxmedia" colspan="3" style="background:{{{imageBG|#B4C5E3}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|entry|title={{{objective-title|Objective(s)}}}|content={{{objective|}}}|colspan=2}}
{{Infobox|entry|title={{{location-title|Location(s)}}}|content={{{location|}}}|colspan=2}}
}}
}}
|-
 
{{#if:{{{hidea|}}}||
{{Infobox|section|title={{{section2-title|Gameplay overview}}}|colspan=3|entries=
! class="infoboxsubheading" colspan="3" style="background:{{{sectionBG|#7995CA}}}; color:#fff" {{!}} {{{section1-title|Level overview}}}
{{Infobox|entry|title={{{starting weapons-title|Default weapons}}}|content={{{starting weapons|}}}|colspan=2}}
{{Infobox|entry|title={{{new weapons-title|Available weapons}}}|content={{{new weapons|}}}|colspan=2}}
{{Infobox|entry|title={{{enemies-title|Enemies}}}|content={{{enemies|}}}|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={{{player-title|Player(s)}}}|content={{{player|}}}|colspan=2}}
{{Infobox|end|colspan=3}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Walkthrough}}}|label2={{#acronym:game|{{{pagegamelabel|}}}|title|{{{pagegamelabel|}}}}}}}{{#if:{{{pagegamelabel|}}}|{{#ifexist:Category:{{#acronym:game|{{{pagegamelabel}}}|title|{{{pagegamelabel}}}}} walkthroughs|[[Category:{{#acronym:game|{{{pagegamelabel}}}|title|{{{pagegamelabel}}}}} walkthroughs]]|[[Category:Miscellaneous walkthroughs]]}}}}</includeonly><noinclude>{{clear}}
{{Infobox|entry|title={{{objective-title|Objective(s)}}}|content={{{objective|}}}|colspan=2}}
==Usage instructions==
{{Infobox|entry|title={{{location-title|Location(s)}}}|content={{{location|}}}|colspan=2}}
Copy and paste the following code into your article, then put the relevant specifications after the "=" signs.
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="3" style="background:{{{sectionBG|#7995CA}}}; color:#fff" {{!}} {{{section2-title|Gameplay overview}}}
}}
|-
{{Infobox|entry|title={{{starting weapons-title|Default weapons}}}|content={{{starting weapons|}}}|colspan=2}}
{{Infobox|entry|title={{{new weapons-title|Available weapons}}}|content={{{new weapons|}}}|colspan=2}}
{{Infobox|entry|title={{{enemies-title|Enemies}}}|content={{{enemies|}}}|colspan=2}}
{{Infobox|entry|title={{{skulls-title|Skulls}}}|content={{{skulls|}}}|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__
{{clear}}
==Instructions==
Cut and paste the following code into your article, then put the relevant specifications after the "=" signs.


<pre>
<pre>
Line 49: Line 42:
|skulls=
|skulls=
}}
}}
</pre>
==Custom parameters==
The following allows you to alter the title of the sub-sections:
<pre>
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|section1-title=
|section2-title=
</pre>
==Display parameters==
The following allows you to hide the section header
*hidea (hides Overview section header)
*hideb (hides Gameplay section header)
<pre>
|hidea=
|hideb=
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 10:11, June 14, 2024

Walkthrough infobox
 

Usage instructions

Copy 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=
}}