Help:Boilerplate item: Difference between revisions

From PZwiki
m (Starting improvements)
m (minor)
Line 2: Line 2:
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Underconstruction}}
{{Underconstruction}}
{{About|Generic item boilerplate|more specific boilerplates ([[Help:Boilerplate weapon|weapon]], [[Help:Boilerplate clothing|clothing]], [[Help:Boilerplate food|food)]]|:Category:Boilerplates}}
{{About|a generic item boilerplate|more specific boilerplates ([[Help:Boilerplate weapon|weapon]], [[Help:Boilerplate clothing|clothing]], [[Help:Boilerplate food|food]])|:Category:Boilerplates}}
{| class="wikitable theme-red" style="width: 100%;"
{| class="wikitable theme-red" style="width: 100%;"
|-
|-

Revision as of 00:06, 15 April 2024

PZwikiHelpBoilerplatesBoilerplate item
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Hammer.png
This page is currently under construction.
It is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well.
If this page has not been updated in a while, please replace this notice with {{Improve}}. Last edit was 15/04/2024.
PlushSpiffo.pngThis page is about a generic item boilerplate. For more specific boilerplates (weapon, clothing, food), see Category:Boilerplates.
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.

The current code and result of the code are shown below. Anything between <!-- and --> is a comment, and can safely be discarded, feel free to remove them when finished with the page, until then, feel free to use the {{Underconstruction}} mbox.

This boilerplate is in an early format, and some sections may change as time goes on. If you wish to suggest improvements to this boilerplate, please use the discussion page.
<!--COMMENT: This section is for the language and the format of the page. The languages section is used for linking pages. The syntax for each page (regardless of language) will be: , linking every subpage with "/##" at the end, where "##" is the language code. E.g. "Nails/es" and "Nails/fr" even if there are redirects.-->
<!--COMMENT: The header template goes below the language template, there should be NOTHING in between. The format can be seen in the header template with a working explanation. The header connects categories and Version number. PLEASE ENTER THE VERSION AND INCREMENT NUMBER WHEN YOU MAKE OR EDIT A PAGE. It helps everyone else know how old the page is version-wise.-->
{{Header|Project Zomboid|Items|version=Version 41|incver=78.16}}
<!--COMMENT: Here is the infobox for the item. This is a quick lookup for the item's stats. For more information, see: https://pzwiki.net/wiki/Template:Infobox_item-->
{{Infobox item
| name =            <!-- or | display_name -->
| model =           <!-- or | image -->
| model_width =     <!-- or | image_width -->
| model_caption =   <!-- or | image_caption -->
| icon = 
| icon_width = 
| icon_name = 
| icon_link = 
| category = 
| weight = 
| item_id = 
}}
An introduction to the '''item'''. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate.

==Usage==
This section should contain all the uses for the item. Don't be afraid to separate topics into different sections, no matter how little information there might be.

==Crafting==
{{See|Crafting}}
{{Crafting header|ing=2}}
{{Crafting carpentry|301|ing=2}}
|}

==Distribution==
<!--COMMENT: The locations this item can be found should be placed here. Precise values that can be put into tables can be found in the Distributions.lua, ProceduralDistributions.lua, SuburbsDistributions.lua, VehicleDistributions.lua as well as farming_vegetableconf.lua, fishing_properties.lua, forageDefinitions.lua, ScavengeDefinition.lua, TrapDefinition.lua files.-->

===Buildings===
Can be found inside [[Containers#Counters|Counters]] in these buildings:
*Fossoil
*Grocery Store
*Storage Unit
*Zippee Store

===Vehicles===
Can be found in the trunk of [[vehicles]] with these professions:
*Golf
*Police
*Taxi

==Trivia==
<!--COMMENT: a list of interesting facts directly related to the item.-->
*A list of interesting facts would go here.

==Gallery==
<!--COMMENT: add relevant images into the container below, separated onto a different line. Captions are optional.-->
<gallery>
Image.png|An example caption.
Image.png|Another example caption.
</gallery>

==Code==
<!--COMMENT: all the code related to the item found in txt files should be placed here.-->
<!--COMMENT: example code taken from file. Items.txt and Newitems.txt are usually the source of the information at this time for basic items.-->
{{CodeBox|
{{CodeSnip
|lang=java
|line=true
|start=92
|source=items.txt
|retrieved=true
|version=41.78.16
|code= 	item BucketEmpty
	{
	    DisplayCategory = WaterContainer,
		Weight	=	1,
		CanStoreWater	=	TRUE,
		Type	=	Normal,
		DisplayName	=	Bucket,
		Icon	=	MetalBucket,
        ReplaceOnUseOn = WaterSource-BucketWaterFull,
        MetalValue = 20,
        RainFactor = 1,
		Tooltip = Tooltip_item_RainFromGround,
        EatType = Bucket,
        SurvivalGear = TRUE,
        WorldStaticModel = Bucket_Ground,
	}
}}
}}

==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.-->
*[[Survival Guide]]

<!--COMMENT: Navbox placement goes here. Code example = {{Navbox equipment}}, (see all current navboxes via the template section).-->
{{Navbox equipment}}

This code would produce the following:

Project ZomboidItemsBoilerplate item
Help:Boilerplate item

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

Usage

This section should contain all the uses for the item. Don't be afraid to separate topics into different sections, no matter how little information there might be.

Crafting

See more: Crafting
Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
WoodenCrate Carpentry.gif
Wooden Crate
0.75 Carpentry Carpentry 3 Hammer.png
Hammer (tag)
(keep)
Plank.png
Plank x3
(consumed)

Distribution

Buildings

Can be found inside Counters in these buildings:

  • Fossoil
  • Grocery Store
  • Storage Unit
  • Zippee Store

Vehicles

Can be found in the trunk of vehicles with these professions:

  • Golf
  • Police
  • Taxi

Trivia

  • A list of interesting facts would go here.

Gallery

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item BucketEmpty
	{
	    DisplayCategory = WaterContainer,
		Weight	=	1,
		CanStoreWater	=	TRUE,
		Type	=	Normal,
		DisplayName	=	Bucket,
		Icon	=	MetalBucket,
        ReplaceOnUseOn = WaterSource-BucketWaterFull,
        MetalValue = 20,
        RainFactor = 1,
		Tooltip = Tooltip_item_RainFromGround,
        EatType = Bucket,
        SurvivalGear = TRUE,
        WorldStaticModel = Bucket_Ground,
	}

See also