WIKI IS CURRENTLY UNDER CONSTRUCTION

Difference between revisions of "Template:Item template"

From OldSchool RSPS
Jump to navigation Jump to search
m
(Changed iconDir to accept more than png extension and added iconSize)
Line 3: Line 3:
| style=" padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | {{{objectName}}}  
| style=" padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | {{{objectName}}}  
|-
|-
| style="padding: 10px;" colspan="2" | [[File:{{{iconDir}}}.png|50px|center]]
| style="padding: 10px;" colspan="2" | [[File:{{{iconDir}}}|{{{iconSize}}}px|center]]
|- style="display: flex; flex-flow: wrap; justify-content: flex-start; gap: 5px; margin: 5px 0 5px 0;"
|- style="display: flex; flex-flow: wrap; justify-content: flex-start; gap: 5px; margin: 5px 0 5px 0;"
|-
|-
Line 31: Line 31:
</onlyinclude>
</onlyinclude>


Use the template below to create a unique Item information summary side bar, copy the template and enter values into the variables. Note that iconDir will only accept .png files, do not include .png into the property. ie: <code>iconDir=Starter_sword_full</code> is accepted.
Use the template below to create a unique Item information summary side bar, copy the template and enter values into the variables. Note that iconDir will accept any image extension type, just declare it. ie: .png, .gif


  <nowiki>
  <nowiki>
Line 37: Line 37:
|objectName=
|objectName=
|iconDir=
|iconDir=
|iconSize=
|isTradable=
|isTradable=
|isEquipable=
|isEquipable=

Revision as of 07:48, 13 April 2022

{{{objectName}}}
[[File:{{{iconDir}}}|{{{iconSize}}}px|center]]
Properties
Tradable {{{isTradable}}} Equipable {{{isEquipable}}} Stackable {{{isStackable}}} Noteable {{{isNoteable}}}
Values
Value {{{valueInCoins}}} High alch {{{highAlchPrice}}} Sigmond {{{sigmondPrice}}} Street price {{{estimatedValue}}}


Use the template below to create a unique Item information summary side bar, copy the template and enter values into the variables. Note that iconDir will accept any image extension type, just declare it. ie: .png, .gif

{{Item template
|objectName=
|iconDir=
|iconSize=
|isTradable=
|isEquipable=
|isStackable=
|isNoteable=
|valueInCoins=
|highAlchPrice=
|sigmondPrice=
|estimatedValue=
|}}