FANDOM


(adding fields: damage => Nova/spike + Radius)
(trying to fix Category:Borderlands 2 with over 230 items)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<onlyinclude>{{infobox
 
<onlyinclude>{{infobox
|Box title = {{#if:{{{color|{{{rarity color|{{{rarity|}}}}}}}}}|{{rarity|{{{color|{{{rarity color|{{{rarity}}}}}}}}}|{{{model|{{PAGENAME}}}}}}}<!--
+
|Box title = {{#if:{{{color|{{{rarity|}}}}}}|{{rarity|{{{color|{{{rarity}}}}}}|{{{model|{{PAGENAME}}}}}}}<!--
 
-->|{{{model|{{PAGENAME}}}}}<!--
 
-->|{{{model|{{PAGENAME}}}}}<!--
 
-->}}
 
-->}}
Line 14: Line 14:
 
|Row 1 title = [[Manufacturer]]{{#if:{{{manufacturer1|}}}{{{manufacturer1|}}}|s}}:
 
|Row 1 title = [[Manufacturer]]{{#if:{{{manufacturer1|}}}{{{manufacturer1|}}}|s}}:
   
<!-- Dhal Dhal, Hyperion and Jakobs -->
+
<!-- Manufacturers -->
 
|Row 1 info = {{#if:{{{manufacturer|}}}|<!--
 
|Row 1 info = {{#if:{{{manufacturer|}}}|<!--
 
-->{{#switch:{{{manufacturer|}}}
 
-->{{#switch:{{{manufacturer|}}}
| All = All [[Manufacturer]]s
+
| All = All [[manufacturer]]s
  +
| Bandit = [[Bandit (manufacturer)|Bandits]]
  +
| Scav = [[Scav (manufacturer)|Scavs]]
  +
| B&S
  +
| Bandits and Scavs = [[Bandit (manufacturer)|Bandits]] and [[Scav (manufacturer)|Scavs]]
 
| [[{{{manufacturer}}}]]
 
| [[{{{manufacturer}}}]]
 
}}<!--
 
}}<!--
Line 29: Line 29:
 
|Row 3 title = Model:
 
|Row 3 title = Model:
 
|Row 3 info = {{{model}}}
 
|Row 3 info = {{{model}}}
 
|Row 4 title = Capacity:
 
|Row 4 info = {{{capacity}}}
 
 
|Row 5 title = Rate:
 
|Row 5 info = {{{rate}}}
 
 
|Row 6 title = {{#if:{{{delay|}}}|Delay:}}
 
|Row 6 info = {{{delay|}}}
 
   
 
|Row 7 title = {{#if:{{{element|}}}|Element:}}
 
|Row 7 title = {{#if:{{{element|}}}|Element:}}
 
|Row 7 info = {{#if:{{{element|}}}|{{element|{{{element}}}}}}}
 
|Row 7 info = {{#if:{{{element|}}}|{{element|{{{element}}}}}}}
   
|Row 8 title = {{#if:{{{spike damage|}}}|Spike Damage:}}
+
|Row 9 title = Game:
|Row 8 info = {{{spike damage|}}}
+
|Row 9 info = [[{{{game1|Borderlands}}}]]{{#if:{{{game2|}}}|<br>[[{{{game2}}}]]}}
 
|Row 9 title = {{#if:{{{nova damage|}}}|Nova Damage:}}
 
|Row 9 info = {{{nova damage|}}}
 
 
|Row 10 title = {{#if:{{{radius|}}}|Radius:}}
 
|Row 10 info = {{{radius|}}}
 
   
|Row 11 title = Game
+
|Row 11 title = Mission Reward:
|Row 11 info = [[{{{game1|Borderlands}}}]]
+
|Row 11 info = {{#if:{{{mission|}}}|[[{{{mission}}}]]}}{{#if:{{{mission2|}}}|<br>[[{{{mission2}}}]]}}
   
 
|Row 12 title =
 
|Row 12 title =
Line 59: Line 50:
 
}}
 
}}
 
}}<includeonly><!--
 
}}<includeonly><!--
  +
  +
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<!-- BEGIN CATEGORIZING ! ONLY IN MAIN SPACE !
   
 
Categories by color here
 
Categories by color here
Line 69: Line 62:
 
-->{{#if:{{{manufacturer|}}}|<!--
 
-->{{#if:{{{manufacturer|}}}|<!--
 
-->{{#switch:{{{manufacturer|}}}
 
-->{{#switch:{{{manufacturer|}}}
| All = [[Category:Dahl]][[Category:Hyperion]][[Category:Jakobs]][[Category:Maliwan]][[Category:Bandit]][[Category:Tediore]][[Category:Torgue]][[Category:Vladof]][[Category:Pangolin]][[Category:Anshin]]
+
| All = [[Category:Anshin]]{{#if: {{#pos: {{{game1}}}{{{game2}}}|lands 2}}|[[Category:Bandit]]}}[[Category:Dahl]][[Category:Hyperion]][[Category:Jakobs]][[Category:Maliwan]][[Category:Torgue]][[Category:Pangolin]]{{#if: {{#pos: {{{game1}}}{{{game2}}}|Pre-S}}|[[Category:Scav]]}}[[Category:Tediore]][[Category:Vladof]]
  +
| B&S
  +
| Bandits and Scavs = [[Category:Bandit]][[Category:Scav]]
 
| [[Category:{{{manufacturer}}}]]
 
| [[Category:{{{manufacturer}}}]]
 
}}<!--
 
}}<!--
Line 79: Line 72:
 
-->{{#if:{{{manufacturer5|}}}|[[Category:{{{manufacturer5}}}]]}}<!--
 
-->{{#if:{{{manufacturer5|}}}|[[Category:{{{manufacturer5}}}]]}}<!--
   
-->[[Category:{{{game1|Borderlands}}}]]<!--
+
-->{{#if:{{{game1|}}}|[[Category:Items in {{{game1}}}]]}}<!--
  +
-->{{#if:{{{game2|}}}|[[Category:Items in {{{game2}}}]]}}<!--
  +
  +
-->{{#if:{{{mission|}}}|[[Category:Mission reward items]]}}<!--
  +
  +
Deprecation Segment
  +
-->{{#if:{{{damagetype|}}}|[[Category:Deprecated infobox parameters]]}}<!--
  +
-->{{#if:{{{make|}}}|[[Category:Deprecated infobox parameters]]}}<!--
  +
-->{{#if:{{{rarity color|}}}|[[Category:Deprecated infobox parameters]]}}<!--
  +
  +
Fields that don't belong in infobox shield
  +
-->{{#if:{{{type|}}}|[[Category:Deprecated infobox parameters]]}}<!--
   
 
-->{{#ifeq:{{{image|}}}||[[Category:Weapons With Missing Images]]}}<!--
 
-->{{#ifeq:{{{image|}}}||[[Category:Weapons With Missing Images]]}}<!--
--></includeonly>
 
</onlyinclude>
 
To use this template, copy the following code and fill in the information. For the image, DO NOT insert the brackets. The template will insert them automatically.
 
   
For manufacturers, use manufacturer in case of single manufacturer, or manufacturerX in case of multiple manufacturers.
+
-->}}<!-- //END CATEGORIES!
   
<pre>{{infobox shield
+
--></includeonly>
|image =
+
</onlyinclude>{{documentation}}
|caption =
 
|manufacturer =
 
or
 
|manufacturer1 =
 
|manufacturer2 =
 
|manufacturer3 =
 
|manufacturer4 =
 
|manufacturer5 =
 
|model =
 
|color =
 
|rarity =
 
|capacity =
 
|rate =
 
|delay =
 
|element =
 
|spike damage =
 
|nova damage =
 
|radius =
 
|part =
 
|game1 =
 
|variants link = off
 
}}</pre>
 
 
[[Category:Infobox templates|{{PAGENAME}}]]
 
[[Category:Infobox templates|{{PAGENAME}}]]
 
<!-- |reload = unused reserved-->
 
<!-- |reload = unused reserved-->

Latest revision as of 14:22, October 21, 2016

Infobox shield
MissingWeapon
Picture needed.
Model: {{{model}}}
Game: Borderlands
Template documentation (for the template shown above, sometimes hidden or invisible)

To use this template, copy the following code and fill in the information. For the image, DO NOT insert the brackets. The template will insert them automatically.

For manufacturers, use manufacturer in case of single manufacturer, or manufacturerX in case of multiple manufacturers.

{{infobox shield
|image = 
|caption = 
|manufacturer = 
or
|manufacturer1 = 
|manufacturer2 = 
|manufacturer3 = 
|manufacturer4 = 
|manufacturer5 = 
|model  = 
|color  = 
|rarity = 
|part          = 
|game1         = 
|game2         = 
|mission       = 
|variants link = off
}}

Community content is available under CC-BY-SA unless otherwise noted.