Help:Boilerplate items: Difference between revisions

From PZwiki
m (Changed protection level for "Help:Boilerplate items": Temporary relax in restriction. ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
(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.)
Line 1: Line 1:
__NOTOC__
{{languages}}
<div class="header" style="margin: 5px; align: right; background: #C3E4ED; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #9AC0CD"> <!-- Code for Background Colour -->
<div style="float: right;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Page Updated @ Version: 36.40'''   </div><!-- Code for Version Tag at top -->
<div style="float: left;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:Community|Community]] -> [[:Category:Templates|Templates]] -> [[:Category:Boilerplates|Boilerplates]] -> [[Help:Boilerplate_items|Boilerplate Items]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
{| class="wikitable" width="100%"
{| class="wikitable" width="100%"
|-
|-
|<center><small> 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|Help_talk:Boilerplate_items discussion page]].</small></center>
|<center><small> 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|Help_talk:Boilerplate_items discussion page]].
<br>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.</small></center>
|}
|}
 
<br><br>
<pre>
<pre>
<!--this section is for the infobox which will be positioned on the right of the page. Image.png is the default question mark image-->
<!--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
{{Items
|image = Image.png  
|image = Image.png  
|weight = ?
|weight = ?
}} <!--/infobox-->
}}
A description of the item. Include [[links]] to other pages within the wiki where appropriate.  
<!--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 ==
== Crafting ==
<!--list of crafting recipes the item is used in-->
<!--Comment: Code in crafting template which uses item, see RecipeLookup Template for full list-->
ITEM NAME can be used in the following recipes:
{| 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)'''''
<nowiki>
Actual Code in file for comparison purposes.
</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}}
</pre>
</div>
 
 
 
 
<span style="font-size:188%">'''This code would produce the following:'''</span>
 
 
 
 
<!--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}}
<div class="header" style="margin: 5px; align: right; background: #C3E4ED; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #9AC0CD"> <!-- Code for Background Colour -->
<div style="float: right;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Page Updated @ Version: 36.40'''   </div><!-- Code for Version Tag at top -->
<div style="float: left;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The Game World|The Game World]] -> [[:Category:Items|Items]] -> [[Help:Boilerplate_items|Boilerplate Items]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
<!--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.


{| class="wikitable" width="550" style="text-align:center;"
== Crafting ==
|-
<!--Comment: Code in crafting template which uses item, see RecipeLookup Template for full list-->
! Ingredients || Other Items || Output || Description
{| class="wikitable sortable" style="text-align:center;"  
|-
|-  
| Ingredient + [[Ingredient]] || None || [[What the recipe makes]] || Brief description of what it makes.
! Output
! class="unsortable" | Ingredients
! class="unsortable" | Description
! Skill Level
{{RecipeLookup|1008}}
|}
|}


[[Category:items]]
== Code ==
</pre>
<!--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)'''''
<nowiki>
Actual Code in file for comparison purposes.
</nowiki>
 
==See Also==
<!--Comment: Location of links to relevant guides eg: Weapons guide, construction etc-->
<!--Comment: Navbox placement here code example = {{Navbox/Construction}}-->
{{Navbox/Construction}}


[[Category:Boilerplates]]
[[Category:Boilerplates]]
[[Category:Community]]
[[Category:Templates]]

Revision as of 21:07, 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