FANDOM


m
(trying to fix Category:Borderlands 2 with over 230 items)
 
(13 intermediate revisions by 4 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 8: Line 8:
 
|imagewidth = {{{imagewidth|250}}}
 
|imagewidth = {{{imagewidth|250}}}
 
|caption = <span style="color:white">{{{caption|{{#if:{{{image|}}}|{{{model|{{PAGENAME}}}}}|Picture needed.}}}}}</span>
 
|caption = <span style="color:white">{{{caption|{{#if:{{{image|}}}|{{{model|{{PAGENAME}}}}}|Picture needed.}}}}}</span>
  +
  +
|labelstyle = width:50%
   
 
<!-- Manufacturer if one, Manufacturers if many -->
 
<!-- Manufacturer if one, Manufacturers if many -->
 
|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 27: Line 29:
 
|Row 3 title = Model:
 
|Row 3 title = Model:
 
|Row 3 info = {{{model}}}
 
|Row 3 info = {{{model}}}
 
|capacity =
 
|rate =
 
|delay =
 
|element =
 
|damage =
 
 
|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:{{{damage|}}}|Damage:}}
+
|Row 9 title = Game:
|Row 8 info = {{{damage|}}}
+
|Row 9 info = [[{{{game1|Borderlands}}}]]{{#if:{{{game2|}}}|<br>[[{{{game2}}}]]}}
   
|Row 10 title =
+
|Row 11 title = Mission Reward:
|Row 10 info = {{#if:{{{part|}}}|'''Special Part(s):''' {{part|{{{part}}}}}}}
+
|Row 11 info = {{#if:{{{mission|}}}|[[{{{mission}}}]]}}{{#if:{{{mission2|}}}|<br>[[{{{mission2}}}]]}}
   
|Row 11 title = Game
+
|Row 12 title =
|Row 11 info = {{#if: {{{game1|}}}|[[{{{game1}}}]] }}
+
|Row 12 info = {{#if:{{{part|}}}|'''Special Part(s):''' {{part|{{{part}}}}}}}
   
|Row 12 title =
+
|Row 13 title =
|Row 12 info = {{#if: {{{variants link|}}}|
+
|Row 13 info = {{#if: {{{variants link|}}}|
 
{{#switch: {{lc:{{{variants link}}}}}
 
{{#switch: {{lc:{{{variants link}}}}}
 
| on
 
| on
Line 63: Line 50:
 
}}
 
}}
 
}}<includeonly><!--
 
}}<includeonly><!--
  +
  +
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<!-- BEGIN CATEGORIZING ! ONLY IN MAIN SPACE !
   
 
Categories by color here
 
Categories by color here
Line 73: 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 83: Line 72:
 
-->{{#if:{{{manufacturer5|}}}|[[Category:{{{manufacturer5}}}]]}}<!--
 
-->{{#if:{{{manufacturer5|}}}|[[Category:{{{manufacturer5}}}]]}}<!--
   
-->{{#if:{{{game1|}}}|[[Category:{{{game1}}}]]}}<!--
+
-->{{#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 weapon
+
--></includeonly>
|image =
+
</onlyinclude>{{documentation}}
|caption =
 
|manufacturer =
 
or
 
|manufacturer1 =
 
|manufacturer2 =
 
|manufacturer3 =
 
|manufacturer4 =
 
|manufacturer5 =
 
|model =
 
|color =
 
|rarity =
 
|capacity =
 
|rate =
 
|delay =
 
|element =
 
|damage =
 
|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.