Template:InfoStamp: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
mNo edit summary
 
(27 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{| class="Infobox"
<noinclude><!--
|-
 
! colspan="2" class="Header" | {{PAGENAME}}
### Cargo Declare ###
|-
-->{{#cargo_declare:_table=Stamps
| colspan="2" class="HeaderImage" | [[file:{{PAGENAME}}.png]]
  |Image=Wikitext
|-
  |OrderNumber=Integer
! colspan="2" class="SubHeader" | Stamp Specifics
  |Type=String
|-
  |Bonus=String
! Number
  |SellPrice=Integer
| {{#switch:{{PAGENAME}}|Questin Stamp=2000|Pickaxe Stamp=1000|#default={{{number | Number missing}}}}}
  |Material=String
|-
}}</noinclude><!--
! Type
 
| {{#switch:{{PAGENAME}}|Questin Stamp=Misc|Pickaxe Stamp=Skills|#default={{{type}}}}}
### Cargo Store ###
|-
--><includeonly>{{#invoke:SlabStuff|SlabNumGrab|Item={{PAGENAME}}}}
! Bonus
{{#cargo_store:_table=Stamps
| {{#ifeq:{{PAGENAME}}|Arcane Stamp|Wis|{{{bonus | }}}}}
  |Image=[[File:{{PAGENAME}}.png]]
|-
  |OrderNumber={{{number|}}}
{{#if: {{{material|}}} |
  |Type={{{type|}}}
! Material
  |Bonus={{{bonus|}}}
{{!}} {{CraftReq | {{{material}}}}} }}
  |SellPrice={{{sellprice|}}}
|-
  |Material={{{material|}}}
! colspan="2" class="SubHeader" | Other
}}<infobox>
|-
<title>
{{#if: {{{sellprice|}}} |
<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>
!Sell Price
</title>
{{!}} {{Coindisplay | {{{sellprice}}} }} }}
<image>
|-
        <default>[[File:{{PAGENAME}}.png]]</default>
! class="LastTable" | Source
    </image>
| {{#switch:{{PAGENAME}}|Pickaxe Stamp|Hatchet Stamp|Sword Stamp|Heart Stamp=Start|#default={{{source|Unobtainable}}}}}
    <header>Stamp Info</header>
|}
<data source="type">
{{#seo:
<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><!--
-->{{#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>
[[Category:Stamps]]</includeonly><noinclude>
 
<noinclude>
Usage
Usage
<pre>{{stamp
<pre>{{stamp
Line 44: Line 76:
|material=example
|material=example
|sellprice=example
|sellprice=example
|source=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
}}