Template:Infobox Item: Difference between revisions

From [N8]
Jump to navigation Jump to search
m Banri moved page Template:Infobox Item to Template:Infobox Items without leaving a redirect
mNo edit summary
Line 8: Line 8:
{{!}}-}}
{{!}}-}}
! width="1%" nowrap="nowrap" | Release date
! width="1%" nowrap="nowrap" | Release date
| {{#if:{{{release|}}}|{{{release}}} {{#ifeq:{{{release}}}|RuneScape Classic||{{#if:{{{update|}}}|([[Update:{{{update}}}|Update]])|(Update unknown) <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small><includeonly>{{Mainonly|[[Category:Needs update added]]}}</includeonly>}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
| {{#if:{{{release|}}}|{{{release}}} {{#ifeq:{{{release}}}|Gemini Station||{{#if:{{{update|}}}|([[Update:Game Update - {{{update}}}|Update]])|(Update unknown) <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small><includeonly>{{Mainonly|[[Category:Needs update added]]}}</includeonly>}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
|-
{{#if:{{{release2|}}}|
{{#if:{{{release2|}}}|
! width="1%" nowrap="nowrap" {{!}} Accessible since
! width="1%" nowrap="nowrap" {{!}} Accessible since
{{!}} {{#if:{{{release2|}}}|{{{release2}}} {{#ifeq:{{{release2}}}|RuneScape Classic||{{#if:{{{update2|}}}|([[Update:{{{update2}}}|Update]])|(Update unknown) <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small><includeonly>{{Mainonly|[[Category:Needs update added]]}}</includeonly>}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}}}
{{!}} {{#if:{{{release2|}}}|{{{release2}}} {{#ifeq:{{{release2}}}|Gemini Station||{{#if:{{{update2|}}}|([[Update:Game Update - {{{update2}}}|Update]])|(Update unknown) <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small><includeonly>{{Mainonly|[[Category:Needs update added]]}}</includeonly>}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}}}
! nowrap="nowrap" | Size
| {{#if:{{{size|}}}|{{{size}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
|-
! nowrap="nowrap" | No. of buy locations
! nowrap="nowrap" | No. of buy locations

Revision as of 08:55, 2 June 2020

Template documentation
This documentation is transcluded from Template:Infobox Item/doc. [edit] [purge]

Documentation

Usage

{{Infobox Item
|name = Item Name
|image = Image Name, e.g. Black Ice Shards.png
|release = Date of Release, If none then leave blank
|update = Name of the Update Page, If none then leave blank
|size = {{/Size}} This is solely for wiki hacks to get a 1 cell table to work in the infobox
|buy = # of locations you can buy the item from
|sell = # of locations you can sell the item to
|imports = List of import locations
|exports = List of export locations
}}

Example

{{Infobox Item
|name = Black Ice Shards
|image = Black Ice Shards.png
|release = 
|update = 
|size = {{/Size}}
|buy = 0
|sell = 1
|imports = 
* None
|exports = 
* {{plinksized|Eris|pic=Eris Icon|txt=Eris|size=30}}
}}