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
 
(17 intermediate revisions by 2 users not shown)
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: 300px; background-color: #3f3f3f; border: solid 1px #818181; border-collapse: collapse; font-size: 12.24px; margin: 0.5em 0 1em 1em; table-layout: fixed;"  
| style=" padding: 10px; text-align: center; font-weight: bold; background-color: black;" colspan="2" | {{{objectName}}}  
| style="line-height: 1.4em; padding: 0.5em 0; text-align: center; font-weight: bold; background-color: #2f2f2f; font-size: 1.15em;" colspan="2" | {{{objectName}}}
|-
|-
| style="padding: 10px;" colspan="2" | [[File:{{{iconDir}}}|{{{iconSize|36}}}px|center]]
| style="padding: 0.5em 0;" |
|- style="display: flex; flex-flow: wrap; justify-content: flex-start; gap: 5px; margin: 5px 0 5px 0;"
|-
|-
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | Properties
| style="height: 33px;" 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="flex-basis: 40%; font-weight: bold; text-align: right;" | Tradable
| style="flex-basis: 40%;" | {{{isTradable}}}
| style="flex-basis: 40%; font-weight: bold;  text-align: right;" | Equipable
| style="flex-basis: 40%;" | {{{isEquipable}}}
| style="flex-basis: 40%; font-weight: bold;  text-align: right;" | Stackable
| style="flex-basis: 40%;" | {{{isStackable}}}
| style="flex-basis: 40%; font-weight: bold;  text-align: right;" | Noteable
| style="flex-basis: 40%;" | {{{isNoteable}}}
|-
|-
| style="padding: 10px; text-align: center; font-weight: bold; background-color: black;" colspan="2" | Values
| style="padding: 0.5em 0;" |
|- style="display: flex; flex-flow: wrap; justify-content: flex-start; gap: 5px; margin: 5px 0 5px 0;"
|-
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Value
| style="line-height: 2em; text-align: center; font-weight: bold; background-color: #2f2f2f;" colspan="2" | Properties
| style="flex-basis: 40%;" | {{{valueInCoins}}}
|-
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | High alch
| style="padding: 0.5em 0;" |
| style="flex-basis: 40%;" | {{{highAlchPrice}}}
|-
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Sigmund
| style="padding: 0.2em 0.5em; font-weight: bold; text-align: right; border-right:2px solid #2f2f2f;" | Tradable
| style="flex-basis: 40%;" | {{{sigmundPrice}}}
| style="padding: 0.2em 0.5em;" | {{{isTradable}}}
| style="flex-basis: 40%; font-weight: bold; text-align: right;" | Street price
|-
| style="flex-basis: 40%;" | {{{estimatedValue}}}
| style="padding: 0.2em 0.5em; font-weight: bold; text-align: right; border-right:2px solid #2f2f2f;" | Equipable
| style="padding: 0.2em 0.5em;" | {{{isEquipable}}}
|-
| style="padding: 0.2em 0.5em; font-weight: bold; text-align: right; border-right:2px solid #2f2f2f;" | Stackable
| style="padding: 0.2em 0.5em;" | {{{isStackable}}}
|-
| style="padding: 0.2em 0.5em; font-weight: bold; text-align: right; border-right:2px solid #2f2f2f;" | Noteable
| style="padding: 0.2em 0.5em;" | {{{isNoteable}}}
|-
| style="padding: 0.5em 0;" |
|-
| style="line-height: 2em; text-align: center; font-weight: bold; background-color: #2f2f2f;" colspan="2" | Values
|-
| style="padding: 0.5em 0;" |
|-
| style="padding: 0.2em 0.5em; font-weight: bold; text-align: right; border-right:2px solid #2f2f2f;" | Value
| style="padding: 0.2em 0.5em;" | {{{valueInCoins}}}
|-
| style="padding: 0.2em 0.5em; font-weight: bold; text-align: right; border-right:2px solid #2f2f2f;" | High alch
| style="padding: 0.2em 0.5em;" | {{{highAlchPrice}}}
|-
| style="padding: 0.2em 0.5em; font-weight: bold; text-align: right; border-right:2px solid #2f2f2f;" | Sigmund
| style="padding: 0.2em 0.5em;" | {{{sigmundPrice}}}
|-
| style="padding: 0.2em 0.5em; font-weight: bold; text-align: right; border-right:2px solid #2f2f2f;" | Street price
| style="padding: 0.2em 0.5em;" | {{{estimatedValue}}}
|-
| style="padding: 0.5em 0;" |
|-
|-
|}
|}
</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]]

Latest revision as of 18:21, 31 January 2024

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