Foxhole Wiki
Icanari (talk | contribs)
(changed shovel link to something less of an acronym)
(Add copper and copper alloy)
Tag: Source edit
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|bmats
 
|bmats
 
|Bmats
 
|Bmats
|BMats = {{Nowrap|{{{1}}} [[File:Basic Materials.png|23px|link=Basic Materials]]}}
+
|BMats = {{Nowrap|{{{1}}} [[File:Basic Materials.png|30px|link=Basic Materials]]}}
 
|rmats
 
|rmats
 
|Rmats
 
|Rmats
|RMats = {{Nowrap|{{{1}}} [[File:Refined Materials.png|x22px|link=Refined Materials]]}}
+
|RMats = {{Nowrap|{{{1}}} [[File:Refined Materials.png|30px|link=Refined Materials]]}}
 
|emats
 
|emats
 
|Emats
 
|Emats
|EMats = {{Nowrap|{{{1}}} [[File:Explosive Materials.png|x16px|link=Explosive Materials]]}}
+
|EMats = {{Nowrap|{{{1}}} [[File:Explosive Materials.png|30px|link=Explosive Materials]]}}
 
|hemats
 
|hemats
 
|Hemats
 
|Hemats
|HEmats = {{Nowrap|{{{1}}} [[File:HeavyExplosiveMaterialIcon.png|x14px|link=Heavy Explosive Materials]]}}
+
|HEmats = {{Nowrap|{{{1}}} [[File:HeavyExplosiveMaterialIcon.png|30px|link=Heavy Explosive Materials]]}}
 
|relicmats
 
|relicmats
|Relicmats = {{Nowrap|{{{1}}} [[File:RelicMaterials.png|x30px|link=Relic Materials]]}}
+
|Relicmats = {{Nowrap|{{{1}}} [[File:RelicMaterials.png|30px|link=Relic Materials]]}}
 
|diesel
 
|diesel
|Diesel = {{Nowrap|{{{1}}} [[File:Diesel.png|x22px|link=Diesel]]}}
+
|Diesel = {{Nowrap|{{{1}}} [[File:Diesel.png|30x30px|link=Diesel]]}}
 
|petrol
 
|petrol
|Petrol = {{Nowrap|{{{1}}} [[File:Petrol.png|x22px|link=Petrol]]}}
+
|Petrol = {{Nowrap|{{{1}}} [[File:Petrol.png|30x30px|link=Petrol]]}}
 
|Scrap
 
|Scrap
 
|scrap
 
|scrap
 
|Salvage
 
|Salvage
|salvage = {{Nowrap|{{{1}}} [[File:salvageIcon.png|x22px|link=Salvage]]}}
+
|salvage = {{Nowrap|{{{1}}} [[File:salvageIcon.png|30px|link=Salvage]]}}
 
|CrudeOil
 
|CrudeOil
 
|Oil
 
|Oil
Line 27: Line 27:
 
|Crude Oil
 
|Crude Oil
 
|Crude oil
 
|Crude oil
|crude oil= {{Nowrap|{{{1}}} [[File:CrudeOilIcon.png|x22px|link=Crude Oil]]}}
+
|crude oil= {{Nowrap|{{{1}}} [[File:CrudeOilIcon.png|30px|link=Crude Oil]]}}
 
|Components
 
|Components
|components = {{Nowrap|{{{1}}} [[File:Components.png|x22px|link=Components]]}}
+
|components = {{Nowrap|{{{1}}} [[File:Components.png|30px|link=Components]]}}
 
|Sulfur
 
|Sulfur
|sulfur = {{Nowrap|{{{1}}} [[File:SulfurPlaceholder.png|x22px|link=Sulfur]]}}
+
|sulfur = {{Nowrap|{{{1}}} [[File:SulfurPlaceholder.png|30px|link=Sulfur]]}}
 
|Aluminium
 
|Aluminium
 
|aluminium
 
|aluminium
 
|Alu
 
|Alu
|alu = {{Nowrap|{{{1}}} [[File:Aluminium.PNG|x22px|link=aluminium]]}}
+
|alu = {{Nowrap|{{{1}}} [[File:Aluminium.PNG|30px|link=aluminium]]}}
 
|Iron
 
|Iron
|iron = {{Nowrap|{{{1}}} [[File:Iron.PNG|x22px|link=iron]]}}
+
|iron = {{Nowrap|{{{1}}} [[File:Iron.PNG|30px|link=iron]]}}
  +
|Copper
 
|copper = {{Nowrap|{{{1}}} [[File:Copper.png|30px|link=Copper]]}}
 
|AluminiumAlloy
 
|AluminiumAlloy
 
|AAlloy
 
|AAlloy
|AluA = {{Nowrap|{{{1}}} [[File:AluminiumAlloy.PNG|x22px|link=Aluminum_Alloy]]}}
+
|AluA = {{Nowrap|{{{1}}} [[File:AluminiumAlloy.PNG|30px|link=Aluminum_Alloy]]}}
 
|IronAlloy
 
|IronAlloy
|IAlloy = {{Nowrap|{{{1}}} [[File:IronAlloy.PNG|x22px|link=Iron_Alloy]]}}
+
|IAlloy = {{Nowrap|{{{1}}} [[File:IronAlloy.PNG|30px|link=Iron_Alloy]]}}
  +
|CopperAlloy
  +
|CAlloy
  +
|CopA = {{Nowrap|{{{1}}} [[File:Copper Alloy.png|30px|link=Copper_Alloy]]}}
 
|Shovel
 
|Shovel
|shovel = {{Nowrap|{{{1}}} [[File:ShovelIcon.PNG|x22px|link=Shovel]]}}
+
|shovel = {{Nowrap|{{{1}}} [[File:ShovelIcon.png|30px|link=Shovel]]}}
 
|Cmats
 
|Cmats
  +
|concrete
|Concrete = {{Nowrap|{{{1}}} [[File:Concrete Materials Icon.PNG|x22px|link=Concrete_Materials]]}}
 
  +
|Concrete = {{Nowrap|{{{1}}} [[File:Concrete Materials Icon.png|30px|link=Concrete_Materials]]}}
  +
|sandbags
  +
|Sandbags = {{Nowrap|{{{1}}} [[File:SandbagsMaterial.png|30px|link=Sandbags_(Material)]]}}
  +
|Metalbeam
  +
|MetalBeam
  +
|metalbeam = {{Nowrap|{{{1}}} [[File:MetalBeamMaterial.png|30px|link=Metal_Beam]]}}
  +
|barbedwire
  +
|BarbedWire
  +
|Barbedwire = {{Nowrap|{{{1}}} [[File:BarbedWireMaterial.png|30px|link=Barbed_Wire_(Material)]]}}
  +
|wreckage
  +
|Wreckage = {{Nowrap|{{{1}}} [[File:WreckageIcon.png|30px|link=Wreckage]]}}
 
}}<noinclude>
 
}}<noinclude>
 
{{Doc}}
 
{{Doc}}

Latest revision as of 22:14, 24 November 2021

Template-info.png Documentation

Usage

This template can be used to display a resource icon in line with text. Due to {{Nowrap}} constraints, you must enter the word/number that comes before the resource icon, into the template as a parameter; more on that below.

In the rare circumstance that you only want to display the resource icon, leave the first parameter blank like so: {{ResourceDisp||resource}}

Example

Let's say that we're using {{Vehicle Infobox}} and want to say that a vehicle costs 120 Basic Materials. Under the cost parameter you would put {{ResourceDisp|120|BMats}} which produces:

120 Basic Materials.png

Let's pretend you're writing an article and want to display the Petrol icon right after saying the word, like this: Petrol Petrol.png

To do this, you would have to do {{ResourceDisp|Petrol|Petrol}}. Hopefully you understand the very second sentence of the Doc now.

Parameters

Parameter Description
First The word or number that comes before the icon.
Second The resource that you want to display the icon of. Acceptable spellings:

Basic Materials:

  • bmats
  • Bmats
  • BMats

Refined Materials:

  • rmats
  • Rmats
  • RMAts

Explosive Materials:

  • emats
  • Emats
  • EMats

Heavy Explosive Materials:

  • hemats
  • Hemats
  • HEmats

Concrete Materials:

  • Cmats
  • Concrete
  • concrete

Relic Materials:

  • relicmats
  • Relicmats

Diesel:

  • diesel
  • Diesel

Petrol:

  • petrol
  • Petrol

Salvage:

  • salvage
  • Salvage
  • scrap
  • Scrap

Crude Oil:

  • CrudeOil
  • Oil
  • oil
  • Crude Oil
  • Crude oil
  • crude oil

Components:

  • components
  • Components

Sulfur:

  • sulfur
  • Sulfur

Aluminium:

  • Aluminium
  • aluminium
  • Alu
  • alu

Iron:

  • Iron
  • iron

Copper:

  • Copper
  • copper

Shovel:

  • Shovel
  • shovel

Sandbags:

  • Sandbags
  • sandbags

Metal Beams:

  • Metalbeam
  • MetalBeam
  • metalbeam

Barbed Wire:

  • BarbedWire
  • Barbedwire
  • barbedwire