FANDOM


m
m (simplify infobox with new syntax)
Line 1: Line 1:
{{#invoke:Infobox Item|main}}{{#ifeq:{{NAMESPACE}}|Template|{{PreloadPage}}}}<noinclude>{{/doc}}</noinclude>
+
<infobox>
  +
<title source="name"><default>{{PAGENAME}}</default></title>
  +
<image source="image"/>
  +
<data source="release"><label>Release date</label></data>
  +
<data source="update"><label>Release update</label></data>
  +
<data source="removal"><label>Removal date</label></data>
  +
<data source="removalupdate"><label>Removal update</label></data>
  +
<data source="members"><label>[[Members|Members only]]?</label></data>
  +
<data source="quest"><label>[[Quest items|Quest item]]?</label><default>No</default></data>
  +
<data source="tradeable"><label>[[Tradeable]]?</label><default>Yes</default></data>
  +
<data source="equipable"><label>[[Equipment|Equipable]]?</label></data>
  +
<data source="edible"><label>Edible</label></data>
  +
<data source="stackable"><label>[[Stackable items|Stackable]]?</label></data>
  +
<data source="high"><label>[[High Level Alchemy|High Alch]]</label></data>
  +
<data source="low"><label>[[Low Level Alchemy|Low Alch]]</label></data>
  +
<data source="destroy"><label>[[Destroy]]</label></data>
  +
<data source="store"><label>[[Prices#Store Price|Store price]]</label></data>
  +
<data source="currency"><label>Currency</label></data>
  +
<data source="seller"><label>Seller</label></data>
  +
<data source="exchange"><label>[[Prices#Grand Exchange Guide Price|Exchange price]]</label></data>
  +
<data source="weight"><label>[[Weight]]</label></data>
  +
<data source="examine"><label>Examine</label></data>
  +
</infobox>
  +
<noinclude>
  +
== Usage & preview ==
  +
Type in this:
  +
  +
<pre>
  +
{{Infobox Item/Draft
  +
|name=
  +
|image=
  +
|release=
  +
|update=
  +
|removal=
  +
|removalupdate=
  +
|members=
  +
|quest=
  +
|tradeable=
  +
|equipable=
  +
|edible=
  +
|stackable=
  +
|high=
  +
|low=
  +
|destroy=
  +
|store=
  +
|currency=
  +
|seller=
  +
|exchange=
  +
|gemwname=
  +
|weight=
  +
|examine=
  +
}}
  +
  +
</pre>
  +
  +
to see this:
  +
  +
{{Infobox Item/Draft
  +
|name=This is a test
  +
|image=This is a test
  +
|release=This is a test
  +
|update=This is a test
  +
|removal=This is a test
  +
|removalupdate=This is a test
  +
|members=This is a test
  +
|quest=This is a test
  +
|tradeable=This is a test
  +
|equipable=This is a test
  +
|edible=This is a test
  +
|stackable=This is a test
  +
|high=This is a test
  +
|low=This is a test
  +
|destroy=This is a test
  +
|store=This is a test
  +
|currency=This is a test
  +
|seller=This is a test
  +
|exchange=This is a test
  +
|gemwname=This is a test
  +
|weight=This is a test
  +
|examine=This is a test
  +
}}
  +
  +
  +
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
  +
</noinclude>

Revision as of 01:24, October 21, 2018

Usage & preview

Type in this:

{{Infobox Item/Draft
|name=
|image=
|release=
|update=
|removal=
|removalupdate=
|members=
|quest=
|tradeable=
|equipable=
|edible=
|stackable=
|high=
|low=
|destroy=
|store=
|currency=
|seller=
|exchange=
|gemwname=
|weight=
|examine=
}}

to see this:

Template:Infobox Item/Draft


Click here to refresh the preview above

Community content is available under CC-BY-SA unless otherwise noted.