Help:Boilerplate items: Difference between revisions

From PZwiki
Help:Boilerplate items
m (Automated header update.)
Tag: Reverted
(Undo revision 245655 by CalvyBot (talk)Revert bot edit)
Tag: Undo
Line 1: Line 1:
{{Languages}}
{{Languages}}
{{Header/sandbox2|PZwiki|Help|Boilerplates|version=Version 41.78.16}}
{{Header|PZwiki|Help|Boilerplates|version=Version 41.78.16}}
{| class="wikitable theme-red" width="100%"
{| class="wikitable theme-red" width="100%"
|-
|-
Line 9: Line 9:
{{Languages}}
{{Languages}}
<!--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.-->
<!--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/sandbox2|Project Zomboid|Items|type=Default|version=Version 41|incver=78.16}}
{{Header|Project Zomboid|Items|type=Default|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_normal-->
<!--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_normal-->
{{Infobox normal
{{Infobox normal
Line 30: Line 30:
|class_name=?
|class_name=?
}}An introduction to the item. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate.  
}}An introduction to the item. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate.  
<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed.-->
<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed.-->
__TOC__
__TOC__
==Usage==
==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.
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==
==Crafting==
{{See|Crafting}}
{{See|Crafting}}
Line 39: Line 42:
{{Crafting carpentry|301|ing=2}}
{{Crafting carpentry|301|ing=2}}
|}
|}
==Distribution==
==Distribution==
<!--COMMENT: The locations this item can be found she be placed here. Precise values that can be put into tables can be found in the distribution.lua and vehicledistribution.lua files.-->
<!--COMMENT: The locations this item can be found she be placed here. Precise values that can be put into tables can be found in the distribution.lua and vehicledistribution.lua files.-->
===Buildings===
===Buildings===
Can be found inside [[Containers#Counters|Counters]] in these buildings:
Can be found inside [[Containers#Counters|Counters]] in these buildings:
Line 47: Line 52:
*Storage Unit
*Storage Unit
*Zippee Store
*Zippee Store
===Vehicles===
===Vehicles===
Can be found in the trunk of [[vehicles]] with these professions:
Can be found in the trunk of [[vehicles]] with these professions:
Line 52: Line 58:
*Police
*Police
*Taxi
*Taxi
==Trivia==
==Trivia==
<!--COMMENT: a list of interesting facts directly related to the item.-->
<!--COMMENT: a list of interesting facts directly related to the item.-->
*A list of interesting facts would go here
*A list of interesting facts would go here
==Gallery==
==Gallery==
<!--COMMENT: add relevant images into the container below, separated onto a different line. Captions are optional.-->
<!--COMMENT: add relevant images into the container below, separated onto a different line. Captions are optional.-->
Line 61: Line 69:
Image.png|Another example caption
Image.png|Another example caption
</gallery>
</gallery>
==Code==
==Code==
<!--COMMENT: all the code related to the item found in txt files should be placed here.-->
<!--COMMENT: all the code related to the item found in txt files should be placed here.-->
Line 80: Line 89:
}
}
</pre>
</pre>
==See also==
==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.-->
<!--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]]
*[[Survival Guide]]
<!--COMMENT: Navbox placement goes here. Code example = {{Navbox equipment}}, (see all current navboxes via the template section).-->
<!--COMMENT: Navbox placement goes here. Code example = {{Navbox equipment}}, (see all current navboxes via the template section).-->
{{Navbox equipment}}</nowiki>
{{Navbox equipment}}</nowiki>
<span style="font-size:188%">'''This code would produce the following:'''</span>
<span style="font-size:188%">'''This code would produce the following:'''</span>
<!--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: {{Languages}}, 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: 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: {{Languages}}, linking every subpage with "/##" at the end, where "##" is the language code. E.g. "Nails/es" and "Nails/fr" even if there are redirects.-->
{{Languages}}
{{Languages}}
<!--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.-->
<!--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/sandbox2|Project Zomboid|Items|type=Default|version=Version 41|incver=78.16|hidecat=true}}
{{Header|Project Zomboid|Items|type=Default|version=Version 41|incver=78.16|hidecat=true}}
<!--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_normal-->
<!--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_normal-->
{{Infobox normal
{{Infobox normal
Line 110: Line 123:
|class_name=?
|class_name=?
}}An introduction to the item. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate.  
}}An introduction to the item. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate.  
<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed.-->
<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed.-->
__TOC__
__TOC__
==Usage==
==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.
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==
==Crafting==
{{See|Crafting}}
{{See|Crafting}}
Line 119: Line 135:
{{Crafting carpentry|301|ing=2}}
{{Crafting carpentry|301|ing=2}}
|}
|}
==Distribution==
==Distribution==
<!--COMMENT: The locations this item can be found she be placed here. Precise values that can be put into tables can be found in the distribution.lua and vehicledistribution.lua files.-->
<!--COMMENT: The locations this item can be found she be placed here. Precise values that can be put into tables can be found in the distribution.lua and vehicledistribution.lua files.-->
===Buildings===
===Buildings===
Can be found inside [[Containers#Counters|Counters]] in these buildings:
Can be found inside [[Containers#Counters|Counters]] in these buildings:
Line 127: Line 145:
*Storage Unit
*Storage Unit
*Zippee Store
*Zippee Store
===Vehicles===
===Vehicles===
Can be found in the trunk of [[vehicles]] with these professions:
Can be found in the trunk of [[vehicles]] with these professions:
Line 132: Line 151:
*Police
*Police
*Taxi
*Taxi
==Trivia==
==Trivia==
<!--COMMENT: a list of interesting facts directly related to the item.-->
<!--COMMENT: a list of interesting facts directly related to the item.-->
*A list of interesting facts would go here
*A list of interesting facts would go here
==Gallery==
==Gallery==
<!--COMMENT: add relevant images into the container below, separated onto a different line. Captions are optional.-->
<!--COMMENT: add relevant images into the container below, separated onto a different line. Captions are optional.-->
Line 141: Line 162:
Image.png|Another example caption
Image.png|Another example caption
</gallery>
</gallery>
==Code==
==Code==
<!--COMMENT: all the code related to the item found in txt files should be placed here.-->
<!--COMMENT: all the code related to the item found in txt files should be placed here.-->
Line 160: Line 182:
}
}
</pre>
</pre>
==See also==
==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.-->
<!--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]]
*[[Survival Guide]]
<!--COMMENT: Navbox placement goes here. Code example = {{Navbox equipment}}, (see all current navboxes via the template section).-->
<!--COMMENT: Navbox placement goes here. Code example = {{Navbox equipment}}, (see all current navboxes via the template section).-->
{{Navbox equipment}}
{{Navbox equipment}}
[[Category:Boilerplates]]
[[Category:Boilerplates]]

Revision as of 06:24, 3 March 2024

PZwikiHelpBoilerplatesBoilerplate items
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 between <!-- and --> is a comment and can safely be discarded, and it will not affect the template.
<!--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: {{Languages}}, linking every subpage with "/##" at the end, where "##" is the language code. E.g. "Nails/es" and "Nails/fr" even if there are redirects.-->
{{Languages}}
<!--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|type=Default|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_normal-->
{{Infobox normal
|display_name=?
|name_colour=See: [[Template:Infobox_nc]] for a list of available colour codes.
|name_text_colour=See: [[Template:Infobox_nc]] for a list of available colour codes.
|image=image.png
|alternate_image=image.png{{!}}32px
|alternate_name=?
|alternate_link=
|category=?
|weight=?
|function=?
|can_store_water=?
|rain_factor=?
|bandage_power=?
|alcohol=?
|wet_cooldown=?
|remote_range=?
|class_name=?
}}An introduction to the item. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate. 

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

==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 she be placed here. Precise values that can be put into tables can be found in the distribution.lua and vehicledistribution.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: Current location of Code in directory for updating purposes. Example below shows how to lay it out. ''''' is for bold italic.-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
<!--COMMENT: Add the retrieved template so both visitors and editors can tell how old the code is and whether or not it may need to be updated.-->
{{Retrieved|version=41|incver=78.16}}
<!--COMMENT: Example code taken from file. Items.txt and Newitems.txt are usually the source of the information at this time for basic items. Nowiki is used to display the text only, example used is RoastingPan.-->
<pre>
	item RoastingPan
	{
	    DisplayCategory = Cooking,
		Weight	=	1.3,
		Type	=	Normal,
		DisplayName	=	Roasting Pan,
		Icon	=	Roastingpan,
		MetalValue = 60,
		WorldStaticModel = RoastingPan,
	}
</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.-->
*[[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 items
?
?
?
General
Category ?
Encumbrance
Heavy Load
?
Function ?
Can store water ?
Rain factor ?
Bandage power
Bleeding
?
Alcohol
Drunk
?
Time to dry
Wet
?
Remote range ? tiles
Technical details
Base ID ?

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

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.78.16

	item RoastingPan
	{
	    DisplayCategory = Cooking,
		Weight	=	1.3,
		Type	=	Normal,
		DisplayName	=	Roasting Pan,
		Icon	=	Roastingpan,
		MetalValue = 60,
		WorldStaticModel = RoastingPan,
	}

See also