Template:Level infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
mNo edit summary
 
(137 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{| 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}}};"
{{Infobox|start|bg=#7995CA}}
{{!}}-
 
{{#if:{{{game|}}}|
{{Infobox|entry|title={{{prev-title|Prev}}}|content={{{prev|}}}}}
! style="background:{{{fieldBG|#F2F3F4}}}; text-align:center; width:60px; height:60px;" rowspan="3" {{!}} {{{game|}}}
{{Infobox|entry|title={{{concurrent-title|Concurrent}}}|content={{{concurrent|}}}}}
{{!}}-}}
{{Infobox|entry|title={{{next-title|Next}}}|content={{{next|}}}}}
{{#if:{{{prev|}}}|
 
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%;" width="40px" {{!}}'''Prev''':
{{Infobox|title|name={{{name|}}}}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%;" {{!}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#B4C5E3}}
{{{prev|}}}
 
{{!}}-}}
{{Infobox|entry|title={{{game-title|Game}}}|content={{{game|}}}}}
{{#if:{{{next|}}}|
{{Infobox|entry|title={{{devname-title|[[Map file]] name {{Tooltip|(?)|This map's name in the game files.}}}}}|content={{{devname|}}}}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%;" width="40px" {{!}}'''Next''':
{{Infobox|entry|title={{{player-title|Player}}}|content={{{player|}}}}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%;" {{!}}
{{Infobox|entry|title={{{date-title|Date}}}|content={{{date|}}}}}
{{{next|}}}
{{Infobox|entry|title={{{place-title|Location}}}|content={{{place|}}}}}
{{!}}-}}
{{Infobox|entry|title={{{objective-title|Objective(s)}}}|content={{{objective|}}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="3" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|entry|title={{{partime-title|Par Time}}}|content={{{partime|}}}}}
{{!}}-
{{Infobox|entry|title={{{parscore-title|Par Score}}}|content={{{parscore|}}}}}
{{#if:{{{image|}}}|
 
! style="background:{{{imageBG|#B4C5E3}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="3" {{!}} {{{image|}}}
{{Infobox|section|title=''[[Halo Wars]]'' medals|entries=
{{Infobox|colspan|content={{#if:{{{hw-gold|}}}|<div style="display:table;margin:auto">[[File:HW Medal Gold.png|32px|link=]] {{{hw-gold}}}<br>[[File:HW Medal Silver.png|32px|link=]] {{{hw-silver|XXX}}}<br>[[File:HW Medal Bronze.png|32px|link=]] {{{hw-bronze|XXX}}}<br>[[File:HW Medal Tin.png|32px|link=]] {{{hw-tin|XXX}}}</div>}}}}
}}
}}
{{!}}-
 
{{#if:{{{player|}}}|
{{Infobox|section|title=[[Halo: Spartan Assault|''Spartan Assault'']] scores|entries=
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{Infobox|colspan|align=center|content={{#if:{{{hsa-gold|}}}|[[File:HSA Star Gold.png|32px|link=]]{{{hsa-gold}}} • [[File:HSA Star Silver.png|32px|link=]]{{{hsa-silver|XXX}}} • [[File:HSA Star Bronze.png|32px|link=]]{{{hsa-bronze|XXX}}}}}}}
'''{{{player-title|Player}}}''':
}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" colspan="2" {{!}}
 
{{{player|}}}
{{Infobox|section|title=[[Halo: Spartan Strike|''Spartan Strike'']] scores|entries=
{{!}}-}}
{{Infobox|colspan|align=center|content={{#if:{{{hss-gold|}}}|[[File:HSA Star Gold.png|32px|link=]]{{{hss-gold}}} • [[File:HSA Star Silver.png|32px|link=]]{{{hss-silver|XXX}}} • [[File:HSA Star Bronze.png|32px|link=]]{{{hss-bronze|XXX}}}}}}}
{{#if:{{{place|}}}|
}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
'''{{{place-title|Location}}}''':
{{Infobox|entry|title=[[File:Main-Legendary.png|55px|center|link=]]|colon=|content={{#ifexist:{{FULLPAGENAME}}/Walkthrough|{{SITENAME}} has a walkthrough guide for this level; see [[{{FULLPAGENAME}}/Walkthrough]].|{{SITENAME}} doesn't currently have a walkthrough for this level; could you [{{FULLURL:{{FULLPAGENAME}}/Walkthrough|action=edit}} write one]?}}}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" colspan="2" {{!}}
 
{{{place|}}}
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Campaign level}}}|label2={{#acronym:game|{{{pagegamelabel|}}}|title|{{{pagegamelabel|}}}}}}}</includeonly><noinclude>{{clear}}
{{!}}-}}
==Usage instructions==
{{#if:{{{Objective|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Objective-title|Objective(s)}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" colspan="2" {{!}}
{{{Objective|}}}
{{!}}-}}
{{#if:{{{nowalk|}}}||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}[[File:Main-Legendary.png|55px|link={{FULLURL:{{PAGENAME}}/Walkthrough|action=edit}}]]
{{!}} class="plainlinks" style="background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" colspan="2" {{!}}{{#ifexist: {{PAGENAME}}/Walkthrough|Halopedia has a walkthrough guide to this level, {{PAGENAME}}. See [[{{PAGENAME}}/Walkthrough]].|Halopedia doesn't currently have a walkthrough for this level, could you [{{FULLURL:{{PAGENAME}}/Walkthrough|action=edit}} write it]?}}
{{!}}-}}
| colspan="3" style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" |&nbsp;
|}<noinclude>
==Usage==
To use this template, paste the following code into the top of the article, filling all relevant fields:
To use this template, paste the following code into the top of the article, filling all relevant fields:
<pre><nowiki>
 
{{Level Infobox
<pre>
{{Level infobox
|prev=
|prev=
|concurrent=
|next=
|next=
|game=
|game=
|devname=
|name=
|name=
|image=
|image=
|player=
|player=
|date=
|place=
|place=
|Objective=
|objective=
}}</nowiki></pre>
|parscore=
===Optional fields===
|partime=
All fields are ''optional''. Fields not filled will not display a row.
}}
*'''nowalk'''
</pre>
**Disables the walkthrough available/unavailable notice. Use for cutscenes.
 
**Set to any non-empty value to use.
===Special fields===
[[Category:Infoboxes|{{PAGENAME}}]]</noinclude>
;''Halo Wars''
:<code>hw-gold</code> corresponds to Gold medal, <code>hw-silver</code> corresponds to Silver medal, <code>hw-bronze</code> corresponds to Bronze medal, and <code>hw-tin</code> corresponds to Tin medal.
 
<pre>
|hw-gold=
|hw-silver=
|hw-bronze=
|hw-tin=
</pre>
 
;''Halo: Spartan Assault''
:<code>hsa-gold</code> corresponds to Gold score, <code>hsa-silver</code> corresponds to Silver score, and <code>hsa-bronze</code> corresponds to Bronze score.
 
<pre>
|hsa-gold=
|hsa-silver=
|hsa-bronze=
</pre>
 
;''Halo: Spartan Strike''
:<code>hss-gold</code> corresponds to Gold score, <code>hss-silver</code> corresponds to Silver score, and <code>hss-bronze</code> corresponds to Bronze score,
 
<pre>
|hss-gold=
|hss-silver=
|hss-bronze=
</pre>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 22:03, June 1, 2024

Level infobox
Main-Legendary.png

Halopedia doesn't currently have a walkthrough for this level; could you write one?

 

Usage instructions

To use this template, paste the following code into the top of the article, filling all relevant fields:

{{Level infobox
|prev=
|concurrent=
|next=
|game=
|devname=
|name=
|image=
|player=
|date=
|place=
|objective=
|parscore=
|partime=
}}

Special fields

Halo Wars
hw-gold corresponds to Gold medal, hw-silver corresponds to Silver medal, hw-bronze corresponds to Bronze medal, and hw-tin corresponds to Tin medal.
|hw-gold=
|hw-silver=
|hw-bronze=
|hw-tin=
Halo: Spartan Assault
hsa-gold corresponds to Gold score, hsa-silver corresponds to Silver score, and hsa-bronze corresponds to Bronze score.
|hsa-gold=
|hsa-silver=
|hsa-bronze=
Halo: Spartan Strike
hss-gold corresponds to Gold score, hss-silver corresponds to Silver score, and hss-bronze corresponds to Bronze score,
|hss-gold=
|hss-silver=
|hss-bronze=