Template:Walkthrough infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
(Testing.)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:300px; margin:6px; padding:2px; background:{{{BG|#6F4E37}}}; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em;  color:{{{color|inherit}}};"
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:0 0 5px 10px; padding:2px; background:{{{BG|#7995CA}}}; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em;  color:{{{color1|inherit}}};"
{{!}}-
{{#if:{{{era|}}}|
! style="background:{{{fieldBG|#F2F3F4}}}; text-align:center;" width="100px" rowspan="3" {{!}} {{{era|}}}
}}
{{!}}-
{{!}}-
{{#if:{{{prev|}}}|
{{#if:{{{prev|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%;" width="40px" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''Prev''':
'''Prev''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%;" {{!}} {{{prev|}}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{prev|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{next|}}}|
{{#if:{{{next|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%;" width="40px" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''Next''':
'''Next''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%;" {{!}} {{{next|}}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{next|}}}
{{!}}-}}
{{!}}-}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%; line-height:20px;" colspan="3" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
Line 22: Line 20:
{{!}}-
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="3" style="font-size:90%; text-align:center; background:{{{sectionBG|#B87333}}}; color:#FFFFFF;" {{!}} {{{section1-title|Level overview}}}}}
! class="infoboxsubheading" colspan="3" style="font-size:90%; text-align:center; background:{{{sectionBG|#7995CA}}}; color:#FFFFFF;" {{!}} {{{section1-title|Level overview}}}}}
{{!}}-
{{!}}-
{{#if:{{{player|}}}|
{{#if:{{{player|}}}|
Line 43: Line 41:
{{!}}-}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="3" style="font-size:90%; text-align:center; background:{{{sectionBG|#B87333}}}; color:#FFFFFF;" {{!}} {{{section2-title|Gameplay overview}}}}}
! class="infoboxsubheading" colspan="3" style="font-size:90%; text-align:center; background:{{{sectionBG|#7995CA}}}; color:#FFFFFF;" {{!}} {{{section2-title|Gameplay overview}}}}}
{{!}}-
{{!}}-
{{#if:{{{starting weapons|}}}|
{{#if:{{{starting weapons|}}}|

Revision as of 02:02, September 28, 2015

Walkthrough infobox
Level overview
Gameplay overview
[Source]

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=