Help:Boilerplate item: Difference between revisions
m (Add hidecat) |
m (Add about and tooltip) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
{| class="wikitable theme-red" style="width: 100%;" | {| class="wikitable theme-red" style="width: 100%;" | ||
|- | |- | ||
|<center><small>This boilerplate is used for giving a new page a standard look. To copy the code, copy the code | |<center><small>This boilerplate is used for giving a new page a standard look. To copy the code, enter the [[{{fullurl:Help:Boilerplate item|action=edit}} editing mode]], copy the code between <nowiki><!--COPY CODE BETWEEN THESE COMMENTS--></nowiki>, and add it to your new page before changing to the relevant content. The result of the code are shown below. | ||
Anything between <nowiki><!--</nowiki> and <nowiki>--></nowiki> 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 {{tlx|Underconstruction}} [[PZwiki:Mboxes|Mbox]]. | |||
The | 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 [[Help talk:Boilerplate item|discussion page]].</small></center> | ||
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 [[Help talk:Boilerplate | |||
|} | |} | ||
<!--COPY CODE BETWEEN THESE COMMENTS--> | <!--COPY CODE BETWEEN THESE COMMENTS--> | ||
Line 22: | Line 21: | ||
|item_id=Base.Rubberducky2 | |item_id=Base.Rubberducky2 | ||
}} | }} | ||
{{About|decorative junk item|rubber duck with a [[battery]]|Rubber Duck (battery)}}<!--COMMENT: Add about in this place if you think page can be confused with another one)--> | |||
{{Quote|text=If an item has a tooltip, it can be added here.|author=In-game tooltip}} | |||
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 automatically go, if there are enough headers.--> | <!--COMMENT: This is where the 'Table Of Contents' will automatically go, if there are enough headers.--> | ||
==Overview== | ==Overview== | ||
A longer overview of the item, that may contain multiple paragraphs, but not include usage of the | A longer overview of the item, that may contain multiple paragraphs, but not include usage of the item. This section is not mandatory. | ||
==Usage== | ==Usage== | ||
This section contains how the item can be used, including other stats that may not be in the infobox.<ref>[https://pzwiki.net/ Project Zomboid Wiki - PZwiki]</ref> | This section contains how the item can be used, including other stats that may not be in the infobox.<ref>[https://pzwiki.net/ Project Zomboid Wiki - PZwiki]</ref> | ||
==Crafting== | |||
This section is added if the item can be crafted, including subcategories for crafting types, with links to the main articles. | This section is added if the item can be crafted, including subcategories for crafting types, with links to the main articles. | ||
{{Crafting/sandbox2 | {{Crafting/sandbox2 | ||
Line 40: | Line 41: | ||
==Distribution== | ==Distribution== | ||
<!--COMMENT: The locations this item can be found should be placed here. Automated distribution tables can be added with [https://github.com/CalvyPZ/pz-distribution-to-wikitable this script]. Any other distribution location should be added manually--> | <!--COMMENT: The locations this item can be found should be placed here. Automated distribution tables can be added with [https://github.com/CalvyPZ/pz-distribution-to-wikitable this script]. Any other distribution location should be added manually--> | ||
<!--BOT FLAG|Rubberducky|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Rubberducky distribution | |||
<span class="mw-customtoggle-togglebox-Rubberducky" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Rubberducky"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| bathroom | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| bathroom | |||
| {{ll|shelves}} | |||
| 10.78% | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 0.65% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 0.65% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 0.65% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| kennels | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 0.65% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 0.65% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Rubberducky" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Rubberducky|41.78.16--> | |||
==Trivia== | ==Trivia== | ||
Line 54: | Line 122: | ||
<!--COMMENT: all the code related to the tile found in the game's files should be placed here. Use a combination of Template:CodeBox and Template:CodeSnip.--> | <!--COMMENT: all the code related to the tile found in the game's files should be placed here. Use a combination of Template:CodeBox and Template:CodeSnip.--> | ||
<!--COMMENT: The CodeSnip template is used to neatly align the code, and standardize the layout. This template includes the source location, the version it was retrieved from, and the code itself. See [[Template:CodeBox]] and [[Template:CodeSnip]] for more information about usage.--> | <!--COMMENT: The CodeSnip template is used to neatly align the code, and standardize the layout. This template includes the source location, the version it was retrieved from, and the code itself. See [[Template:CodeBox]] and [[Template:CodeSnip]] for more information about usage.--> | ||
{{CodeBox | {{CodeBox | ||
| {{CodeSnip | | {{CodeSnip |
Latest revision as of 10:57, 1 May 2024
- This page is about a generic item boilerplate. For more specific boilerplates (weapon, clothing, food), see Category:Boilerplates.
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 |
- This page is about decorative junk item. For rubber duck with a battery, see Rubber Duck (battery).
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 item. 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
Building/Room | Container | Effective chance |
---|---|---|
bathroom | counter | 10.78% |
bathroom | shelves | 10.78% |
bedroom | crate | 0.65% |
closet | crate | 0.65% |
closet | crate | 10.78% |
garagestorage | crate | 0.65% |
garagestorage | crate | 10.78% |
kennels | counter | 10.78% |
storageunit | crate | 0.65% |
storageunit | crate | 10.78% |
storageunit | metal_shelves | 0.65% |
storageunit | metal_shelves | 10.78% |
Trivia
- Any interesting facts about the item should be bullet-pointed
*
in this section
Gallery
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,
}