Template:Infobox/Fiction/Weapon/Series: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "! class="infoboxmedia"" to "{{!}} class="infoboxmedia"")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="float:right; clear:right; width:260px; margin:0 0 1em 1em; padding:2px; background:{{{BG|#AA0000}}}; border-radius: 0 0 .7em .7em; color:{{{color|#000}}}" cellspacing="0"
{{Infobox|start|bg=#A00}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}}}
{{!}}-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{image|}}}|
 
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|section|title={{{section1-title|Weapon information}}}|bg=#E55|color=#000|entries=
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}}
{{Infobox|entry|title={{{series-title|Series}}}|content={{{series|}}}}}
{{Infobox|entry|title={{{description-title|Description}}}|content={{{description|}}}}}
}}
}}
{{!}}-


<!--Weapon information section-->
{{Infobox|section|title={{{section2-title|Production information}}}|bg=#E55|color=#000|entries=
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|entry|title={{{manufacturer-title|Manufacturer}}}|content={{{manufacturer|}}}}}
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#EE5555}}}" {{!}} {{{section1-title|Weapon information}}}}}
{{Infobox|entry|title={{{models-title|Model(s)}}}|content={{{models|}}}}}
{{!}}-}}
}}
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{type-title|Type}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{type|}}}
{{!}}-}}
{{#if:{{{series|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{series-title|Series}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{series|}}}
{{!}}-}}
{{#if:{{{description|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{description-title|Description}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{description|}}}
{{!}}-}}


<!--Production information section-->
{{Infobox|section|title={{{section3-title|Real world}}}|bg=#E55|color=#000|entries=
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{Infobox|entry|title={{{gameplay-title|Gameplay page(s)}}}|content={{{gameplay|}}}}}
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#EE5555}}}" {{!}} {{{section2-title|Production information}}}}}
{{Infobox|entry|title={{{gallery-title|Gallery page(s)}}}|content={{{gallery|}}}}}
{{!}}-}}
}}
{{#if:{{{manufacturer|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{manufacturer-title|Manufacturer}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{manufacturer|}}}
{{!}}-}}
{{#if:{{{models|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{models-title|Model(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{models|}}}
{{!}}-}}
 
<!--Temp section on Misc stuff. Will try and automate if applicable-->
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#EE5555}}}" {{!}} {{{section3-title|Real world}}}}}
{{!}}-}}
{{#if:{{{gameplay|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{gameplay-title|Gameplay page(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{gameplay|}}}
{{!}}-}}
{{#if:{{{gallery|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{gallery-title|Gallery page(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{gallery|}}}
{{!}}-}}


<!--bottom section-->
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Weapon}}}}}</includeonly><noinclude>{{clear}}
| class="infoboxfooter" colspan="2" | &nbsp;
{{Doc/Template}} [[Category:Infobox templates]]</noinclude>
|}<includeonly>{{pagetitle|{{{pagetitle|{{{pagename|{{PAGENAME}}}}} - {{{pagelabel|Weapon {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}}}}</includeonly><noinclude>__NOTOC__
{{clear}}
<noinclude>{{Doc/Template}} [[Category:Infobox templates]]</noinclude>

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

Infobox/Fiction/Weapon/Series
 
vde
Template Documentation

Usage

This infobox is for use on the top page of a series/family of weapons such as the Needler or MA5 series. For specific models of weapons themselves, see Template:Weapon infobox.

Instructions

Cut and paste the following code into your article, then put the relevant specifications after the "=" signs.

General

These are fields that will appear regardless of if a section is hidden or not.

  • name (This is the name of the weapon series/family/type)
  • image (This is a image/images/tabber containing images of the weapon)

Weapon information

This is information used to give a basic understanding of the weapon at a glance. A quazi-navigation of weapons if you will.

  • type (This is the type of the weapon. Not to be confused with series that is more specific. Stuff like "Rifle", "Pistol", so on)
  • series (This is if the weapon is part of a series of stuff. "Needler", "MA5 series", so on)
  • description (This is a general description of the weapon. Used to give the user a basic idea of the weapon)

Production information

This is information about the series/family itself. Used to know who makes the weapons, and the variants at a glance.

  • manufacturer (This is who makes the weapon.)
  • models (This is all the models/series in the family. Though higher up the chain "rifles", you can plainly list "series" as these)

Real world

This is used to allow links to pages tied to pages on the wiki such as the gallery and gameplay images. This section is not always required.

  • gameplay (This links onto the gameplay page if applicable)
  • gallery (This links onto the gallery page if applicable)

Layout

Please use this layout

{{Infobox/Fiction/Weapon/Series
|name=
|image=
|type=
|series=
|description=
|manufacturer=
|models=
|gameplay=
|gallery=
}}