Help:Boilerplate clothing

From PZwiki
Jump to: navigation, search
This boilerplate is used for giving a new page a standard look. Copy the code below and add it to your new page before adding the relevant content. This boilerplate is currently in an early format and we are likely to add and change sections as time goes on. If you wish to suggest improvements to this boilerplate please use the discussion page.
The current code and result of the code are shown below. Anything starting with !< -- and ends with --> is removable and will not affect the template.



<!-- COMMENT: This section is for the language bar. The language bar is used for linking translations of the same page into different languages. 
-->{{languages}}<!-- COMMENT: The header format can be seen in the header template with a working explanation. The header connects categories and Version no. PLEASE ENTER THE VERSION AND INCREMENT No. WHEN YOU MAKE A PAGE. It helps everyone else know how old the page is versionwise -->
{{header|The Game World|Items|Clothing|version=Version 41|incver=0}}
<!-- COMMENT: Here is the infobox for the clothing. This is a quick lookup for the item's stats. For more information, see: https://pzwiki.net/wiki/Template:Infobox_clothing
-->{{Infobox clothing
| display_name = Padded Jacket
| name_colour = Clothing
| name_text_colour = Clothing
| image = Jacket_PaddedDOWN.png
| image_width = 300px
| alternate_image = JacketPadded.png
| alternate_name = Padded Jacket
| alternate_link = 
| alternate_image2 = 
| alternate_name2 = 
| alternate_link2 = 
| alternate_image3 = 
| alternate_name3 = 
| alternate_link3 = 
| alternate_image4 = 
| alternate_name4 = 
| alternate_link4 = 
| alternate_image5 = 
| alternate_name5 = 
| alternate_link5 = 
| alternate_image6 = 
| alternate_name6 = 
| alternate_link6 = 
| alternate_image7 = 
| alternate_name7 = 
| alternate_link7 = 
<!-- General -->
| category = Clothing
| weight = 1.0
| body_location = Jacket
| condition = 
| fabric_type = 
| capacity = 
| weight_reduction = 
| attachments_provided = 
<!-- Speed -->
| run_speed = 0.89
| combat_speed = 0.96
<!-- Protection -->
| scratch_defense = 20
| bite_defense = 10
| neck_protection = 0.5
<!-- Insulation -->
| insulation = 0.95
| wind_resistance = 0.95
| water_resistance = 0.60
<!-- Technical details -->
| class_name = Base.Jacket_Padded<br>Base.Jacket_PaddedDOWN
}}<!-- 
COMMENT: include a very brief introduction to the item 
-->A brief introduction to the item. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate. 

__TOC__
<!--Comment: This is where the 'Table Of Contents' will go if it is needed-->

==Usage==
<!--Comment: This section contains how the item can be used. This may include crafting, adding attachments (belts), storage space, or another functionality, such as being able to raise and lower the hood of some jackets. -->
===Container===
Include this section if the clothing can be used for storage, such as bags and belts. Include the storage space, weight reduction if it's a bag, or number of slots and where they are if it's a belt.

===Recipes===
Include here which recipes this item can be used in. Remove this section if it isn't applicable to the clothing.
{{Crafting table header}}
{{RecipeLookup|9001}}
{{Crafting table footer}}

==Body location==
This section uses the template: "Body_location", which automatically creates an image of the clothing's body location. 
{| style="text-align:center;"
|'''Hood down'''<br>{{Body location|body_location=Jacket}}
|'''Hood up'''<br>{{Body location|body_location=JacketHat}}
|}

== Item Distribution ==
<!--Comment: The locations this item can be found should be placed here. Spawn locations can be found in the distribution.lua and vehicledistribution.lua files. -->
===Buildings===
Include here the building types that the clothing can be found in, being sure to include links.

===Vehicles===
Include here all the vehicle types/areas the clothing can be found.

===NPCs===
Include here if the clothing can be found on zombies, and where. I.e. Many zombies wearing occupation clothing can be found near to their occupation. E.g. Police zombies are found near police stations/roadblocks.

Once survivor NPCs are added, they will also be added into this section.

==Trivia==
Any interesting facts about the clothing should be bullet-pointed <code>*</code> in this section

==Gallery==
Here are a list of images that can be used to show off the clothing. Include screenshots, model variants, or any other images that are relevant to the clothing.
<!-- COMMENT: Include a list of clothing variants, in-game screenshots, etc. here -->
<gallery>
File:Jacket_PaddedDOWN.png|3D model of Padded Jacket with hood down
</gallery>

== Code ==
<!--Comment: all the code related to the item found in txt files should be placed here-->
=== Item ===
<!--COMMENT: Current location of Code in directory for updating purposes. Example below shows how to lay it out. ''''' is for bold italic.-->
'''''From clothing_jacket.txt (Project Zomboid directory/media/scripts/clothing)'''''

''Hood up''
<!--COMMENT: Be sure to include this "Retrieved" template, filling in the version of the game the code was retrieved.-->
{{Retrieved|version=41|incver=0}}
<pre>    item Jacket_Padded
    {
        Type = Clothing,
        DisplayName = Padded Jacket,
        ClothingItem = Jacket_Padded,
        BodyLocation = JacketHat,
        Icon = JacketPadded_White,
        BloodLocation = Jumper;FullHelmet,
        RunSpeedModifier = 0.89,
        CombatSpeedModifier = 0.96,
        ClothingItemExtra = Jacket_PaddedDOWN,
        ClothingItemExtraOption = DownHoodie,
        BiteDefense = 10,
        ScratchDefense = 20,
        Insulation = 0.95,
        WindResistance = 0.95,
        WaterResistance = 0.60,
        Weight = 3,
    }
</pre>

''Hood down''
{{Retrieved|version=41|incver=0}}
<pre>    item Jacket_PaddedDOWN
    {
        Type = Clothing,
        DisplayName = Padded Jacket,
        ClothingItem = Jacket_PaddedDOWN,
        BodyLocation = Jacket,
        Icon = JacketPadded_White,
        BloodLocation = Jacket,
        RunSpeedModifier = 0.89,
        CombatSpeedModifier = 0.96,
        ClothingItemExtra = Jacket_Padded,
        ClothingItemExtraOption = UpHoodie,
        BiteDefense = 10,
        ScratchDefense = 20,
        NeckProtectionModifier = 0.5,
        Insulation = 1.0,
        WindResistance = 1.0,
        WaterResistance = 0.60,
        Weight = 3,
    }
</pre>

==See also==
<!--COMMENT: Location of links to relevant guides or other pages that may not have been mentioned on this page but still relate to the item in some way. -->
*[[Jacket]]
*[[Jumper]]
<!--COMMENT: Navbox should go here, just below the see also section.-->
{{Navbox clothing}}

<!--COMMENT: Categories that aren't mentioned in the header should go here. E.g. Welder Mask uses [[Category:Construction]] -->



This will produce the following:



Language policy Language: English
Padded Jacket
Padded Jacket
Padded Jacket
General
Category Clothing
Weight
Heavy Load
1.0
Body location Jacket
Speed
Run speed 0.89
Combat speed 0.96
Protection
Scratch defense 20
Bite defense 10
Neck protection 0.5
Insulation
Insulation 0.95
Wind resistance 0.95
Water resistance 0.60
Technical details
Base ID Base.Jacket_Padded
Base.Jacket_PaddedDOWN

A brief introduction to the item. Include links (example link is to Nails article) to other pages within the wiki where appropriate.

Usage

Container

Include this section if the clothing can be used for storage, such as bags and belts. Include the storage space, weight reduction if it's a bag, or number of slots and where they are if it's a belt.

Recipes

Include here which recipes this item can be used in. Remove this section if it isn't applicable to the clothing.

Product Recipe Description Skill Level
MetalSheetSmall.png
Small Metal Sheet x3
BlowTorch.png + WeldingMask.png + SheetMetal.png
Propane Torch (7 units) Welder Mask Metal Sheet x1
(consumed)
Make small metal sheet Metalworking Level 4
or
MagazineWelding3.png
The Metalwork Magazine Vol.4


Body location

This section uses the template: "Body_location", which automatically creates an image of the clothing's body location.

Hood down
Body location
Protection Jacket.png Neck
Upper Torso
Lower Torso
Upper Arms
Forearms
Hood up
Body location
Protection JacketHat.png Head
Neck
Upper Torso
Lower Torso
Upper Arms
Forearms

Distribution

Buildings

Include here the building types that the clothing can be found in, being sure to include links.

Vehicles

Include here all the vehicle types/areas the clothing can be found.

NPCs

Include here if the clothing can be found on zombies, and where. I.e. Many zombies wearing occupation clothing can be found near to their occupation. E.g. Police zombies are found near police stations/roadblocks.

Once survivor NPCs are added, they will also be added into this section.

Trivia

Any interesting facts about the clothing should be bullet-pointed * in this section

Gallery

Here are a list of images that can be used to show off the clothing. Include screenshots, model variants, or any other images that are relevant to the clothing.

Code

Item

From clothing_jacket.txt (Project Zomboid directory/media/scripts/clothing)

Hood up

Retrieved
Version 41.0
    item Jacket_Padded
    {
        Type = Clothing,
        DisplayName = Padded Jacket,
        ClothingItem = Jacket_Padded,
        BodyLocation = JacketHat,
        Icon = JacketPadded_White,
        BloodLocation = Jumper;FullHelmet,
        RunSpeedModifier = 0.89,
        CombatSpeedModifier = 0.96,
        ClothingItemExtra = Jacket_PaddedDOWN,
        ClothingItemExtraOption = DownHoodie,
        BiteDefense = 10,
        ScratchDefense = 20,
        Insulation = 0.95,
        WindResistance = 0.95,
        WaterResistance = 0.60,
        Weight = 3,
    }

Hood down

Retrieved
Version 41.0
    item Jacket_PaddedDOWN
    {
        Type = Clothing,
        DisplayName = Padded Jacket,
        ClothingItem = Jacket_PaddedDOWN,
        BodyLocation = Jacket,
        Icon = JacketPadded_White,
        BloodLocation = Jacket,
        RunSpeedModifier = 0.89,
        CombatSpeedModifier = 0.96,
        ClothingItemExtra = Jacket_Padded,
        ClothingItemExtraOption = UpHoodie,
        BiteDefense = 10,
        ScratchDefense = 20,
        NeckProtectionModifier = 0.5,
        Insulation = 1.0,
        WindResistance = 1.0,
        WaterResistance = 0.60,
        Weight = 3,
    }

See also

Clothing [iwbums] vde
Eyes Reflective SunglassesAviator GlassesGlassesReading GlassesSafety GogglesShooting GlassesSki GogglesSunglassesSwimming Goggles
Face Open BalaclavaBalaclavaDust MaskGas MaskMedical Mask
Head Head BandanaBaseball CapKY Baseball CapBeanie HatBeretArmy BeretBicycle HelmetChef HatCowboy HatCrash HelmetMotorcycle HelmetPolice Motorcycle HelmetUSA Crash HelmetMilitary HelmetEar MuffsEar ProtectorsKentucky Baseball HelmetRiverside Rangers Baseball HelmetZ Hurricanes Baseball HelmetFast Food Server HatIce Cream Server HatSpiffo's Server HatFedoraBlack Band FedoraFirefighter HelmetFootball HelmetTartan Golf CapGolf CapHard HatMining HelmetHockey HelmetJockey HelmetNuclear Biochemical MaskPolice Trooper HatPolice Deputy HatRaccoon HatRanger HatRiding HelmetRiot HelmetSanta HatGreen Santa HatShower CapAirforce HelmetSpiffo Suit HeadSummer HatMedical CapSweatbandWedding VeilWelder MaskWinter HatWoolly HatBonnie HatVisorPeaked Army Cap
Neck Bow TieClip-on Bow TieTieSpiffo TieClip-on TieClip-on Spiffo TieScarf
Shirt Kentucky Baseball ShirtRiverside Rangers Baseball ShirtZ Hurricanes Baseball ShirtMilitary Desert Camo ShirtMilitary Camo ShirtMilitary Urban Camo ShirtDenim ShirtJockey SilksLumberjack ShirtPolice ShirtPolice Trooper ShirtPolice Deputy ShirtPrison Guard ShirtPriest ShirtRanger ShirtMedical ScrubsFormal ShirtShort Sleeve ShirtWorkman ShirtHawaiian Red ShirtHawaiian ShirtMilitary T-ShirtMilitary Desert Camo T-ShirtMilitary Green Camo T-ShirtMilitary Urban Camo T-ShirtFossoil T-ShirtGas2Go T-ShirtThunderGas T-ShirtRock T-ShirtMcCoys T-ShirtPileOCrepe T-ShirtPizza Whirled T-ShirtSpiffo T-ShirtValley Station T-ShirtT-ShirtPolice Trooper T-ShirtPolice Deputy T-ShirtStriped T-ShirtRanger T-ShirtMedical T-ShirtTIS T-ShirtSpiffo T-ShirtSport T-ShirtLong Sleeve T-ShirtWaistcoatGigaMart WaistcoatMilitary Bulletproof VestCivilian Bulletproof VestPolice Bulletproof VestTank TopGrey Hunting VestOrange Hunting VestCamo Hunting VestGreen Camo Hunting Vest
Jacket Wedding JacketGhillie Suit TorsoSuit JacketVarsity JacketMedical CoatArmy CoatJacketSanta Suit JacketGreen Santa Suit JacketMilitary Desert Camo JacketMilitary Green Camo JacketFirefighter JacketPadded JacketPolice Deputy JacketRanger JacketDiamond-pattern SweaterPolo Neck SweaterRound Neck SweaterDiamond-pattern Sweater VestV-Neck Sweater VestV-Neck SweaterHoodiePonchoApronIce Cream Server ApronPileOCrepe Server ApronPizzaWhirled Server ApronSpiffo's Server ApronTight Fit Apron
Hands Fingerless GlovesLeather GlovesLong GlovesGloves
Legs Long Johns BottomsMilitary Camo ShortsLong Denim ShortsLong Sport ShortsDenim ShortsShortsSport ShortsKnee-length SkirtLong SkirtSkirtShort SkirtGhillie Suit PantsPantsDenim JeansMilitary Desert Camo PantsMilitary Camo PantsMilitary Urban Camo PantsChef PantsJeansFirefighter PantsBaggy JeansPadded PantsPolice Trooper PantsPolice Deputy PantsPrison Guard PantsRanger PantsSanta Suit PantsGreen Santa Suit PantsMedical PantsSuit PantsOverallsArmy PantsBlack TrousersNavy Blue TrousersUnderwear
Feet SocksLong SocksMilitary BootsMilitary Desert BootsShoesBootsSneakersRiding BootsSlippersRain Boots
Suit Long JohnsBath RobeSpiffo SuitHazmat SuitCoverallsAirforce CoverallsPrisoner JumpsuitKnee-length DressLong DressDressShort Dress
Back SchoolbagNormal Hiking BagBig Hiking BagBackpack (disambiguation)Large BackpackMilitary BackpackDuffelbag
Belt BeltTool BeltHolsterDouble Holster
Miscellaneous Spiffo Suit Tail