[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]
Difference between revisions of "Template:Itempage"
From Project 1999 Wiki
m (16px) |
m |
||
| (9 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly>{{Special:AuctionTracker/{{{itemname}}}}} | + | <includeonly>{{Special:AuctionTracker/{{{itemname}}}}}{{#if: {{{second_image|}}} | [[ File:{{{second_image}}}|thumb|350x420px|{{{second_imagetext|}}} ]] }}{{#if: {{{third_image|}}} | [[ File:{{{third_image}}} |thumb|350x420px|{{{third_imagetext|}}} ]] }} |
| − | {{#if: {{{second_image|}}} | [[File:{{{second_image}}}|thumb| | + | |
__NOTOC__{{Itembox | __NOTOC__{{Itembox | ||
|itemname = {{{itemname}}} | |itemname = {{{itemname}}} | ||
| Line 8: | Line 7: | ||
}} | }} | ||
{{#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|}}} | = | + | {{#if: {{{dropsfrom|}}} | == Drops 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 | + | {{#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 | + | {{#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> | + | {{{recipes|<ul class='esec'><li> <span class='esec'>This item is not used in player tradeskills.</span> </li></ul>}}} |
| − | = Foraged = | + | <span id='itemfashion'></span> {{#if: {{{foraged|}}} |<br> |
| + | |||
| + | == Foraged == | ||
This item can be foraged: | This item can be foraged: | ||
{{{foraged}}} }} | {{{foraged}}} }} | ||
| Line 37: | Line 38: | ||
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> | ||
Latest revision as of 10:57, 17 November 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:
- 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)
- 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.