Template:InfoStamp: Difference between revisions
From IdleOn MMO Wiki
imported>Wekhter mNo edit summary |
Kiokurashi (talk | contribs) mNo edit summary |
||
(17 intermediate revisions by 3 users not shown) | |||
Line 9: | Line 9: | ||
|SellPrice=Integer | |SellPrice=Integer | ||
|Material=String | |Material=String | ||
}}</noinclude><!-- | }}</noinclude><!-- | ||
### Cargo Store ### | ### Cargo Store ### | ||
--><includeonly> | --><includeonly>{{#invoke:SlabStuff|SlabNumGrab|Item={{PAGENAME}}}} | ||
{{#cargo_store:_table=Stamps | {{#cargo_store:_table=Stamps | ||
|Image=[[File:{{PAGENAME}}.png]] | |Image=[[File:{{PAGENAME}}.png]] | ||
Line 21: | Line 20: | ||
|SellPrice={{{sellprice|}}} | |SellPrice={{{sellprice|}}} | ||
|Material={{{material|}}} | |Material={{{material|}}} | ||
}}<infobox> | |||
}} | <title> | ||
| | <default>{{#if:{{#var:SlabNum}}|<div class="SlabNum">[[File:The Slab Icon.png|28px|link=The Slab]][[The Slab|<span>{{#var:SlabNum}}</span>]]</div>}} {{PAGENAME}}</default> | ||
</title> | |||
<image> | |||
<default>[[File:{{PAGENAME}}.png]]</default> | |||
</image> | |||
<header>Stamp Info</header> | |||
<data source="type"> | |||
<label>Type</label> | |||
</data> | |||
<data source="number"> | |||
<label>Number</label> | |||
</data> | |||
<data source="bonus"> | |||
<label>Bonus</label> | |||
</data> | |||
<data source="material"> | |||
<label>Material</label> | |||
<format>{{CraftReq|{{{material}}}|24px}}</format> | |||
{{ | </data> | ||
<header>Other Info</header> | |||
<data source="sellprice"> | |||
<label>Sell Price</label> | |||
{{# | <format>{{Coindisplay | {{{sellprice}}} }}</format> | ||
! | </data> | ||
{{ | <data source="source"> | ||
| | <label>Source</label> | ||
<default>{{#invoke:SourcesQuery|PullSourcesFromList|item={{PAGENAME}}}}</default> | |||
| {{{ | </data> | ||
|} | </infobox><!-- | ||
{{#seo: | -->{{#cargo_query:tables=VendorItems | ||
|fields=Vendor=vendor,OrderNumber=number,Price=buyprice,Stock=stock | |||
|where=Item LIKE "{{PAGENAME}}" | |||
|format=template | |||
|template=Vendoritem/row | |||
|named args=yes | |||
|default= | |||
|intro={{Vendoritem/head}} | |||
|outro={{!}}} | |||
|order by=OrderNumber | |||
}} | |||
{{Usedin}}<!-- | |||
-->{{#seo: | |||
|image={{PAGENAME}}.png | |image={{PAGENAME}}.png | ||
|description=Type: {{{type}}} | |description=Type: {{{type}}} | ||
{{{bonus}}} | {{{bonus}}} | ||
}} | }} | ||
[[Category:Stamps]]</includeonly><noinclude> | [[Category:Stamps]]</includeonly><noinclude> | ||
Line 69: | Line 76: | ||
|material=example | |material=example | ||
|sellprice=example | |sellprice=example | ||
}}</pre> | }}</pre> | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 02:50, 22 March 2024
This template defines the table "Stamps". View table. Usage
{{stamp |number=example |type=example (combat/skills/misc) |bonus=example |material=example |sellprice=example }}