Help:Boilerplate literature
Page Updated @ Version: 36.40
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. If food, put type=food. If non-food remove type section of header. Category is specific if it is perishable or not, remove as appropriate. --> {{languages}} {{header|The Game World|Items|Consumables|Literature|version=Version 36|incver=40}} <!--Comment: This section is for the consumables infobox which will be positioned on the right of the page. Image.png is the default question mark image--> {{Consumables | image = Book.png | weight = 0.5 | boredom = -50 | unhappiness = -40 | stress= -40 }} <!--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. <!--Comment: br comment below is for spacing of article layout. Leave in for formatting unless you have enough information to cover--> <br><br><br><br><br><br><br><br><br><br> == 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 Broccoli.--> <nowiki> item Book Weight = 0.5, Type = Literature, UnhappyChange = -40, DisplayName = Book, StressChange = -40, Icon = Book, BoredomChange = -50, </nowiki> ==See Also== <!--Comment: Location of links to relevant guides eg: Weapons guide, construction etc--> <!--Comment: Navbox placement here code example = {{Navbox/Consumables}}, (see all current navboxs via the template section)--> {{Navbox/Consumables}}
This code would produce the following:
Page Updated @ Version: 36.40
Navigation - Main Index -> The Game World -> Items -> Consumables -> Literature -> Boilerplate Consumable Literature
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 it is used and how much of a bonus it gives.
Code
From items.txt (Project Zomboid directory/media/scripts/)
item Book Weight = 0.5, Type = Literature, UnhappyChange = -40, DisplayName = Book, StressChange = -40, Icon = Book, BoredomChange = -50,