Template:Walkthrough infobox: Difference between revisions
From Halopedia, the Halo wiki
Spamhammer (talk | contribs) (new template) |
m (Updated) |
||
Line 1: | Line 1: | ||
{| | {| 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}}};" | ||
{{!}}- | |||
{{#if:{{{era|}}}| | {{#if:{{{era|}}}| | ||
{{ | ! style="background:{{{fieldBG|#F2F3F4}}}; text-align:center;" width="100px" rowspan="3" {{!}} {{{era|}}} | ||
}} | |||
{ | {{!}}- | ||
{{#if:{{{prev|}}}| | {{#if:{{{prev|}}}| | ||
{{!}}{{!}} '''Prev | {{!}} style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%;" width="40px" {{!}} | ||
{{!}}{{!}} {{{prev}}}}} | '''Prev''': | ||
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%;" {{!}} {{{prev|}}} | |||
{{!}}-}} | |||
{{#if:{{{next|}}}| | {{#if:{{{next|}}}| | ||
{{!}}{{!}} '''Next | {{!}} style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%;" width="40px" {{!}} | ||
{{!}}{{!}} {{{next}}}}} | '''Next''': | ||
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%;" {{!}} {{{next|}}} | |||
{{!}}-}} | |||
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="3" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
{{!}}- | |||
| | |||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! | ! style="background:{{{imageBG|#B4C5E3}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="3" {{!}} {{{image|}}} | ||
}} | }} | ||
|- | {{!}}- | ||
{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | |||
! class="infoboxsubheading" colspan="3" style="font-size:90%; text-align:center; background:{{{sectionBG|#B87333}}}; color:#FFFFFF;" {{!}} {{{section1-title|Level overview}}}}} | |||
{{!}}- | |||
{{#if:{{{player|}}}| | {{#if:{{{player|}}}| | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} '''Player | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} {{{player}}}}} | '''{{{player-title|Player(s)}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" colspan="2" {{!}} | |||
{{{player|}}} | |||
{{!}}-}} | |||
{{#if:{{{objective|}}}| | {{#if:{{{objective|}}}| | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} ''' | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} {{{objective}}}}} | '''{{{objective-title|Objective(s)}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" colspan="2" {{!}} | |||
{{{objective|}}} | |||
{{!}}-}} | |||
{{#if:{{{location|}}}| | {{#if:{{{location|}}}| | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} '''Location | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} {{{location}}}}} | '''{{{location-title|Location(s)}}}''': | ||
|- | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" colspan="2" {{!}} | ||
{{{location|}}} | |||
{{!}}-}} | |||
{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | |||
! class="infoboxsubheading" colspan="3" style="font-size:90%; text-align:center; background:{{{sectionBG|#B87333}}}; color:#FFFFFF;" {{!}} {{{section2-title|Gameplay overview}}}}} | |||
{{!}}- | |||
{{#if:{{{starting weapons|}}}| | {{#if:{{{starting weapons|}}}| | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} ''' | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} | '''{{{starting weapons-title|Default weapons}}}:''' | ||
{{{starting weapons}}}}} | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" colspan="2" {{!}} | ||
{{{starting weapons|}}} | |||
{{!}}-}} | |||
{{#if:{{{new weapons|}}}| | {{#if:{{{new weapons|}}}| | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} ''' | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} | '''{{{new weapons-title|Available weapons}}}:''' | ||
{{{new weapons}}}}} | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" colspan="2" {{!}} | ||
{{{new weapons|}}} | |||
{{!}}-}} | |||
{{#if:{{{enemies|}}}| | {{#if:{{{enemies|}}}| | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} '''Enemies:''' | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} | '''{{{enemies-title|Enemies}}}:''' | ||
{{{enemies}}}}} | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" colspan="2" {{!}} | ||
{{{enemies|}}} | |||
{{!}}-}} | |||
{{#if:{{{skulls|}}}| | {{#if:{{{skulls|}}}| | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} ''' | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{!}} style="border-bottom:1px solid #999999;" {{!}} | '''{{{skulls-title|skulls}}}:''' | ||
{{{skulls}}}}} | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" colspan="2" {{!}} | ||
|- | {{{skulls|}}} | ||
|- | {{!}}-}} | ||
| | {{#if:{{{misc|}}}| | ||
|} | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
<noinclude> | '''{{{misc-title|Miscellaneous}}}:''' | ||
== | {{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" colspan="2" {{!}} | ||
{{{misc|}}} | |||
{{!}}-}} | |||
| colspan="3" style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px;" | [[Template:Walkthrough Infobox|<span style="color:#FFFFFF;">[Source]</span>]] | |||
|}<includeonly>[[Category:Walkthrough|{{PAGENAME}}]]</includeonly><noinclude>__NOTOC__ | |||
{{clear}} | |||
==Instructions== | |||
Cut and paste the following code into your article, then put the relevant specifications after the "=" signs. | |||
<pre> | <pre> | ||
{{Walkthrough Infobox | {{Walkthrough Infobox | ||
Line 78: | Line 96: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infoboxes]] | |||
==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> | |||
[[Category: Infoboxes|{{PAGENAME}}]] | |||
</noinclude> | </noinclude> |
Revision as of 12:51, September 10, 2011
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=