Template:Materialtoname: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
m (added cotton)
m (Updated text automatically via the https://github.com/Soyweiser/CDDA-Wiki-Scripts materialtoname.py script)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{1}}}}}
<includeonly>{{#switch:{{lc:{{{1}}}}}
   |null      = Unknown
   |alcohol = Alcohol
   |veggy      = Plant Matter
  |aluminum = Aluminum
   |flesh     = Flesh
  |acidchitin = Biosilicified Chitin
   |powder    = Powder
  |bone = Bone
   |hflesh     = Human Flesh
  |brass = Brass
   |cotton    = Cotton
  |budget_steel = Budget Steel
   |wool      = Wool
  |ceramic = Ceramic
   |leather   = Leather
  |lightceramic = Dragon Scale
   |kevlar    = Kevlar
  |chitin = Chitin
   |fur        = Fur
  |clay = Clay
   |chitin    = Chitin
  |copper = Copper
   |bone      = Bone
  |cotton = Cotton
   |stone      = Stone
  |diamond = Diamond
   |paper     = Paper
  |gemstone = Gemstone
   |wood      = Wood
   |egg = Egg
   |plastic   = Plastic
   |flesh = Flesh
   |glass      = Glass
   |gutskin = Gutskin
   |iron      = Iron
  |freshclay = Fresh Clay
   |steel     = Steel
  |fruit = Fruit Matter
   |silver    = Silver
  |fur = Fur
   |gold      = Gold
  |faux_fur = Faux Fur
  |glass = Glass
  |gold = Gold
  |hardsteel = Hard Steel
   |hflesh = Human Flesh
   |honey = Honey
  |hydrocarbons = Hydrocarbons
  |iflesh = Insect Flesh
  |iron = Iron
  |junk = Junk Food
  |kevlar = Kevlar
  |kevlar_rigid = Rigid Kevlar
   |lead = Lead
   |leather = Leather
   |lycra = Lycra
  |milk = Dairy
   |neoprene = Neoprene
   |nomex = Nomex
   |null = Unknown
   |oil = Oil
   |paper = Paper
   |cardboard = Cardboard
  |dry_plant = Dry Plant
   |plastic = Plastic
   |alien_resin = Resin
  |powder = Powder
  |powder_nonflam = Powder
  |cac2powder = Powder
  |silver = Silver
   |platinum = Platinum
   |steel = Steel
   |stone = Stone
  |superalloy = Superalloy
  |carbide = layered carbide
  |nylon = Synthetic Fabric
  |tin = Tin
  |veggy = Vegetable Matter
  |tomato = Tomato
  |bean = Bean
  |garlic = Garlic
  |nut = Nut
  |mushroom = Mushroom
  |water = Water
  |wheat = Wheat
  |wood = Wood
  |wool = Wool
  |feces = Feces
  |dried_vegetable = Dried Vegetable
  |cured_meat = Cured Meat
  |processed_food = Processed Food
  |cheese = Cheese
  |ice_cream = Ice Cream
  |soil = Soil
  |zinc = Zinc
   |bronze = Bronze
   |#default={{{1|Unknown}}}
   |#default={{{1|Unknown}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Line 26: Line 80:


* Source: [https://raw.github.com/CleverRaven/Cataclysm-DDA/master/data/json/materials.json materials.json]
* Source: [https://raw.github.com/CleverRaven/Cataclysm-DDA/master/data/json/materials.json materials.json]
* Automatically generated by [https://github.com/Soyweiser/CDDA-Wiki-Scripts/blob/master/materialtoname.py script]. Any edits made to this can and will be overwritten. Please contact [[User:Soyweiser|Soyweiser]] if you want make changes to this page. Especially as any changes made here probably also means there have been changes in other pages. And there are tools to update those a little bit quicker.
* Usage: ''<nowiki>{{Materialtoname|foo}}</nowiki>'' For example ''<nowiki>{{Materialtoname|iron}}</nowiki>'' outputs ''Iron''


[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 10:21, 21 September 2020

Template for converting materials to their associated names.

  • Source: materials.json
  • Automatically generated by script. Any edits made to this can and will be overwritten. Please contact Soyweiser if you want make changes to this page. Especially as any changes made here probably also means there have been changes in other pages. And there are tools to update those a little bit quicker.
  • Usage: {{Materialtoname|foo}} For example {{Materialtoname|iron}} outputs Iron