WIKI IS CURRENTLY UNDER CONSTRUCTION

Difference between revisions of "Template:Item template"

From OldSchool RSPS
Jump to navigation Jump to search
(Undo revision 4958 by LadderGoat (talk))
Tag: Undo
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{| style="float:right; width: fit-content; background-color: #0f0f0f; border: solid 1px white; font-size: 14px; margin-left: 15px;"  
{| style="float:right; width: fit-content; background-color: #3f3f3f; border: solid 1px #d3d3d3; font-size: 14px; margin-left: 10px;"  
| style=" padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | {{{objectName}}}  
| style="padding: 8px; text-align: center; font-weight: bold;  background-color: #2f2f2f;" colspan="2" | {{{objectName}}}  
|-
|-
| style="padding: 10px;" colspan="2" | [[File:{{{iconDir}}}|{{{iconSize|36}}}px|center]]
| style="padding: 8px;" colspan="2" | [[File:{{{iconDir}}}|{{{iconSize|36}}}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: 4px; margin: 4px 0 4px 0;"
|-
|-
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | Properties  
| style="padding: 8px; text-align: center; font-weight: bold;  background-color: #2f2f2f;" colspan="2" | Properties  
|- 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: 4px; margin: 4px 0 4px 0;"
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Tradable
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Tradable
| style="flex-basis: 40%;" | {{{isTradable}}}
| style="flex-basis: 40%;" | {{{isTradable}}}
Line 17: Line 17:
| style="flex-basis: 40%;" | {{{isNoteable}}}
| style="flex-basis: 40%;" | {{{isNoteable}}}
|-
|-
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | Values
| style="padding: 8px; text-align: center; font-weight: bold;  background-color: #2f2f2f;" colspan="2" | Values
|- 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: 4px; margin: 4px 0 4px 0;"
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Value
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Value
| style="flex-basis: 40%;" | {{{valueInCoins}}}
| style="flex-basis: 40%;" | {{{valueInCoins}}}
Line 30: Line 30:
|}
|}
</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 accept any image extension type, just declare it. <code>ie: .png, .gif</code>
The iconSize variable has a default value of 36
<nowiki>
{{Item template
|objectName=
|iconDir=
|iconSize=
|isTradable=
|isEquipable=
|isStackable=
|isNoteable=
|valueInCoins=
|highAlchPrice=
|sigmundPrice=
|estimatedValue=
|}}
</nowiki>
[[Category:Infoboxes]]

Revision as of 12:11, 22 January 2024

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