Help:Boilerplate items: Difference between revisions

From PZwiki
(First attempt at redesign of boilerplate, had to mix in header and old code to show exact result. Help: type pages are not part of the header template so worked around the issue with older coding.)
m (Missing Version category normally generated added on displayed result of code.)
Line 95: Line 95:
[[Category:Community]]
[[Category:Community]]
[[Category:Templates]]
[[Category:Templates]]
[[Category:Version 36]]

Revision as of 21:32, 20 February 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: Location of Code in directory for updating purposes. Example below shows how to lay it out. ''''' is for bold italic.-->
'''''From ISBuildMenu.lua (media/lua/client/BuildingObjects/ISUI)'''''
 
Actual Code in file for comparison purposes.


==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 ISBuildMenu.lua (media/lua/client/BuildingObjects/ISUI)

Actual Code in file for comparison purposes.

See Also

Template:Navbox/Construction