Help:Boilerplate items: Difference between revisions

From PZwiki
(Fixed No-wiki missing in code section.)
m (Changed protection level for "Help:Boilerplate items" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(No difference)

Revision as of 23:22, 28 April 2017


   Page Updated @ Version: 36.40   
   Navigation - Main Index -> Community -> Templates -> Boilerplates -> Boilerplate 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 Help_talk:Boilerplate_items 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 and the format of the page. The languages section is used for linking pages. So a example might be {{languages|Nails}} in which every page is connected with a /## on the end will link to that specific page. Eg: Nails/es Nails/fr even if there contain redirects. The header format can be seen in the header template with 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 -->
{{languages}}
{{header|The Game World|Items|version=Version 36|incver=40}}
<!--Comment: This section is for the infobox which will be positioned on the right of the page. Image.png is the default question mark image-->
{{Items
|image = Image.png 
|weight = ?
}}
<!--Comment: Description of Item and General Information-->
A description of the item. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate. Also try to mention how many uses it has and also where it was found. 

== Crafting ==
<!--Comment: Code in crafting template which uses item, see RecipeLookup Template for full list-->
{| class="wikitable sortable" style="text-align:center;" 
|- 
! Output
! class="unsortable" | Ingredients
! class="unsortable" | Description
! Skill Level
{{RecipeLookup|1008}}
|}

== Code ==
<!--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: 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 shells.-->
 <nowiki>
	item RoastingPan
		Weight		= 1.3,
		Type		= Normal,
		DisplayName	= Roasting Pan,
		Icon		= Roastingpan,
		MetalValue 	= 60,
</nowiki>

==See Also==
<!--Comment: Location of links to relevant guides eg: Weapons guide, construction etc-->
<!--Comment: Navbox placement here code example = {{Navbox/Construction}}, (see all current navboxs via the template section)-->
{{Navbox/Construction}}



This code would produce the following:



   Page Updated @ Version: 36.40   
   Navigation - Main Index -> The Game World -> Items -> Boilerplate Items   

Template:Items A description of the item. Include links (example link is to Nails article) to other pages within the wiki where appropriate. Also try to mention how many uses it has and also where it was found.

Crafting

Output Ingredients Description Skill Level












Code

From items.txt (Project Zomboid directory/media/scripts/)

	item RoastingPan
		Weight		= 1.3,
		Type		= Normal,
		DisplayName	= Roasting Pan,
		Icon		= Roastingpan,
		MetalValue 	= 60,

See Also

Template:Navbox/Construction