This is a wiki for a reason. Anyone can contribute. If you see something that is inaccurate or can be improved, don't ask that it be fixed--just improve it.
[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]

Difference between revisions of "Template:Itempage"

From Project 1999 Wiki
Jump to: navigation, search
(''')
Line 9: Line 9:
 
{{#if: {{{notes|}}} | {{{notes}}} <br>}}
 
{{#if: {{{notes|}}} | {{{notes}}} <br>}}
 
{{#if: {{{merchant_value|}}} | [[File:Item 645.png|16px]] Merchant resale value: '''{{{merchant_value}}}''' <br>}}
 
{{#if: {{{merchant_value|}}} | [[File:Item 645.png|16px]] Merchant resale value: '''{{{merchant_value}}}''' <br>}}
{{#if: {{{dropsfrom|}}} | = Drop looted from = | = <span class='esec'>Drops From</span> =}}
+
{{#if: {{{dropsfrom|}}} | == Drop looted from == | == <span class='esec'>Drops From</span> ==}}
 
{{{dropsfrom|<ul class='esec'><li> <span class='esec'>This item is not dropped by mobs.</span> </li></ul>}}}
 
{{{dropsfrom|<ul class='esec'><li> <span class='esec'>This item is not dropped by mobs.</span> </li></ul>}}}
{{#if: {{{soldby|}}} | = Sold by = | = <span class='esec'>Sold by</span> =}}
+
{{#if: {{{soldby|}}} | == Sold by == | == <span class='esec'>Sold by</span> ==}}
 
{{#if: {{{soldby|}}}This item is sold by merchants:}}
 
{{#if: {{{soldby|}}}This item is sold by merchants:}}
  
 
{{{soldby|<ul class='esec'><li> <span class='esec'>This item cannot be purchased from merchants.</span> </li></ul>}}}  
 
{{{soldby|<ul class='esec'><li> <span class='esec'>This item cannot be purchased from merchants.</span> </li></ul>}}}  
  
{{#if: {{{relatedquests|}}} | = Related Quests = | = <span class='esec'>Related quests</span> =}}
+
{{#if: {{{relatedquests|}}} | == Related Quests == | == <span class='esec'>Related quests</span> ==}}
 
{{{relatedquests|<ul class='esec'><li> <span class='esec'>This item has no related quests.</span> </li></ul>}}}  {{#if: {{{bookcontents|}}} |<br>
 
{{{relatedquests|<ul class='esec'><li> <span class='esec'>This item has no related quests.</span> </li></ul>}}}  {{#if: {{{bookcontents|}}} |<br>
= Book contents =
+
== Book contents ==
 
{{{bookcontents}}} }}
 
{{{bookcontents}}} }}
  
{{#if: {{{playercrafted|}}} | = Player crafted = | = <span class='esec'>Player crafted</span> =}}
+
{{#if: {{{playercrafted|}}} | == Player crafted == | == <span class='esec'>Player crafted</span> ==}}
 
{{#if: {{{playercrafted|}}}This item can be crafted with player tradeskills:}}
 
{{#if: {{{playercrafted|}}}This item can be crafted with player tradeskills:}}
  
 
{{{playercrafted|<ul class='esec'><li> <span class='esec'>This item is not crafted by players.</span> </li></ul>}}}  
 
{{{playercrafted|<ul class='esec'><li> <span class='esec'>This item is not crafted by players.</span> </li></ul>}}}  
  
{{#if: {{{recipes|}}} | = Tradeskill Recipes = | = <span class='esec'>Tradeskill recipes</span> =}}
+
{{#if: {{{recipes|}}} | == Tradeskill Recipes == | == <span class='esec'>Tradeskill recipes</span> ==}}
 
{{#if: {{{recipes|}}}This item is used in player tradeskills:}}
 
{{#if: {{{recipes|}}}This item is used in player tradeskills:}}
  
{{{recipes|<ul class='esec'><li> <span class='esec'>This item is not used in player tradeskills.</span> </li></ul>}}} {{#if: {{{foraged|}}} |<br>
+
{{{recipes|<ul class='esec'><li> <span class='esec'>This item is not used in player tradeskills.</span> </li></ul>}}} {{#if: {{{foraged|}}} |<br>
= Foraged =
+
== Foraged ==
 
This item can be foraged:
 
This item can be foraged:
 
{{{foraged}}} }}
 
{{{foraged}}} }}
Line 37: Line 37:
 
up into different parameters because it would require a much larger initial time investment to get items into the  
 
up into different parameters because it would require a much larger initial time investment to get items into the  
 
wiki.
 
wiki.
 
 
== Usage ==
 
== Usage ==
 
 
As it stands now, the approach is:
 
As it stands now, the approach is:
 
 
# Use Rav's Itempage Util (linked on mainpage) to generate the itempage which uses this template
 
# Use Rav's Itempage Util (linked on mainpage) to generate the itempage which uses this template
 
# Reupload the item icon image to this wiki (keeping the same filename)
 
# Reupload the item icon image to this wiki (keeping the same filename)
 
# Review item stats, dropped from, related quests, crafted item, etc. and make any corrections appropriate for p1999.
 
# Review item stats, dropped from, related quests, crafted item, etc. and make any corrections appropriate for p1999.
 
 
Note: This will automatically include the item in [[:Category:Items]], but you'll have to add it to any subcategories.
 
Note: This will automatically include the item in [[:Category:Items]], but you'll have to add it to any subcategories.
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 15:56, 20 May 2019

This is the template page for items. Note it is rather simple. I decided not to split all the item characteristics up into different parameters because it would require a much larger initial time investment to get items into the wiki.

Usage

As it stands now, the approach is:

  1. Use Rav's Itempage Util (linked on mainpage) to generate the itempage which uses this template
  2. Reupload the item icon image to this wiki (keeping the same filename)
  3. Review item stats, dropped from, related quests, crafted item, etc. and make any corrections appropriate for p1999.

Note: This will automatically include the item in Category:Items, but you'll have to add it to any subcategories.