Bladerikwr (talk | contribs) (Changed to fixed height) |
(Add copper and copper alloy) Tag: Source edit |
||
(23 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
|bmats |
|bmats |
||
|Bmats |
|Bmats |
||
− | |BMats = {{Nowrap|{{{1}}} [[File:Basic Materials.png| |
+ | |BMats = {{Nowrap|{{{1}}} [[File:Basic Materials.png|30px|link=Basic Materials]]}} |
|rmats |
|rmats |
||
|Rmats |
|Rmats |
||
− | |RMats = {{Nowrap|{{{1}}} [[File:Refined Materials.png| |
+ | |RMats = {{Nowrap|{{{1}}} [[File:Refined Materials.png|30px|link=Refined Materials]]}} |
|emats |
|emats |
||
|Emats |
|Emats |
||
− | |EMats = {{Nowrap|{{{1}}} [[File:Explosive Materials.png| |
+ | |EMats = {{Nowrap|{{{1}}} [[File:Explosive Materials.png|30px|link=Explosive Materials]]}} |
|hemats |
|hemats |
||
|Hemats |
|Hemats |
||
− | |HEmats = {{Nowrap|{{{1}}} [[File:HeavyExplosiveMaterialIcon.png| |
+ | |HEmats = {{Nowrap|{{{1}}} [[File:HeavyExplosiveMaterialIcon.png|30px|link=Heavy Explosive Materials]]}} |
+ | |relicmats |
||
− | |smats |
||
⚫ | |||
− | |Smats |
||
⚫ | |||
|diesel |
|diesel |
||
− | |Diesel = {{Nowrap|{{{1}}} [[File:Diesel.png| |
+ | |Diesel = {{Nowrap|{{{1}}} [[File:Diesel.png|30x30px|link=Diesel]]}} |
|petrol |
|petrol |
||
− | |Petrol = {{Nowrap|{{{1}}} [[File:Petrol.png| |
+ | |Petrol = {{Nowrap|{{{1}}} [[File:Petrol.png|30x30px|link=Petrol]]}} |
+ | |Scrap |
||
+ | |scrap |
||
+ | |Salvage |
||
+ | |salvage = {{Nowrap|{{{1}}} [[File:salvageIcon.png|30px|link=Salvage]]}} |
||
+ | |CrudeOil |
||
+ | |Oil |
||
+ | |oil |
||
+ | |Crude Oil |
||
+ | |Crude oil |
||
+ | |crude oil= {{Nowrap|{{{1}}} [[File:CrudeOilIcon.png|30px|link=Crude Oil]]}} |
||
+ | |Components |
||
+ | |components = {{Nowrap|{{{1}}} [[File:Components.png|30px|link=Components]]}} |
||
+ | |Sulfur |
||
+ | |sulfur = {{Nowrap|{{{1}}} [[File:SulfurPlaceholder.png|30px|link=Sulfur]]}} |
||
+ | |Aluminium |
||
+ | |aluminium |
||
+ | |Alu |
||
+ | |alu = {{Nowrap|{{{1}}} [[File:Aluminium.PNG|30px|link=aluminium]]}} |
||
+ | |Iron |
||
+ | |iron = {{Nowrap|{{{1}}} [[File:Iron.PNG|30px|link=iron]]}} |
||
+ | |Copper |
||
+ | |copper = {{Nowrap|{{{1}}} [[File:Copper.png|30px|link=Copper]]}} |
||
+ | |AluminiumAlloy |
||
+ | |AAlloy |
||
+ | |AluA = {{Nowrap|{{{1}}} [[File:AluminiumAlloy.PNG|30px|link=Aluminum_Alloy]]}} |
||
+ | |IronAlloy |
||
+ | |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 = {{Nowrap|{{{1}}} [[File:ShovelIcon.png|30px|link=Shovel]]}} |
||
+ | |Cmats |
||
+ | |concrete |
||
+ | |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
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:
Let's pretend you're writing an article and want to display the Petrol icon right after saying the word, like this: Petrol
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:
Refined Materials:
Explosive Materials:
Heavy Explosive Materials:
Concrete Materials:
Relic Materials:
Diesel:
Petrol:
Salvage:
Crude Oil:
Components:
Sulfur:
Aluminium:
Iron:
Copper:
Shovel:
Sandbags:
Metal Beams:
Barbed Wire:
|
The above documentation is transcluded from Template:ResourceDisp/doc. (edit | history)