Help:Boilerplate item: Difference between revisions
(Update to the new format) |
m (Add hidecat) |
||
Line 11: | Line 11: | ||
<!--COPY CODE BETWEEN THESE COMMENTS--> | <!--COPY CODE BETWEEN THESE COMMENTS--> | ||
<!--COMMENT: The header template goes on the very first line, there should be nothing above it except a possible {{DISPLAYTITLE}}. The header connects the categories. Directly underneath the header is the page version, this automatically categorizes the page as per the last version it was updated for. When creating a page, enter the version of the game the page is made for. This is usually the current version.--> | <!--COMMENT: The header template goes on the very first line, there should be nothing above it except a possible {{DISPLAYTITLE}}. The header connects the categories. Directly underneath the header is the page version, this automatically categorizes the page as per the last version it was updated for. When creating a page, enter the version of the game the page is made for. This is usually the current version.--> | ||
{{Header|Project Zomboid|Items}} | {{Header|Project Zomboid|Items|hidecat=true}}<!--COMMENT: Remove |hidecat=true on actual pages--> | ||
{{Page version|41.78.16}} | {{Page version|41.78.16}} | ||
<!--COMMENT: Here is the infobox for the item. This is a quick lookup for the item's stats. Remove stats that are irrelevant, or add more stats based on the item type. For more information, see: https://pzwiki.net/wiki/Template:Infobox_item--> | <!--COMMENT: Here is the infobox for the item. This is a quick lookup for the item's stats. Remove stats that are irrelevant, or add more stats based on the item type. For more information, see: https://pzwiki.net/wiki/Template:Infobox_item--> |
Revision as of 01:28, 15 April 2024
- This page is about a generic item boilerplate. For more specific boilerplates (weapon, clothing, food), see Category:Boilerplates.
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 |
An introduction to the item. Include links (example link is to Nails article) to other pages within the wiki where appropriate.
Overview
A longer overview of the item, that may contain multiple paragraphs, but not include usage of the tile. This section is not mandatory.
Usage
This section contains how the item can be used, including other stats that may not be in the infobox.[1]
Crafting
This section is added if the item can be crafted, including subcategories for crafting types, with links to the main articles.
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Battery |
One of: Flashlight ×1 Hand Torch ×1 Rubber Duck ×1 |
none | none | none | none |
Rubber Duck |
Rubber Duck ×1 Battery ×1 |
none | none | none | none |
Distribution
Trivia
- Any interesting facts about the item should be bullet-pointed
*
in this section
Gallery
Code
Code
Source: ProjectZomboid\media\scripts\newitems.txt
item Rubberducky2
{
DisplayCategory = Junk,
Weight = 0.1,
Type = Drainable,
UseDelta = 0.003,
DisplayName = Rubber Duck,
Icon = Rubberducky,
WorldStaticModel = Rubberducky,
cantBeConsolided = TRUE,
}