Template:InfoStamp: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
mNo edit summary
 
(47 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>
<noinclude><!--
<div class="infobox">
<table><th class="header">{{PAGENAME}}</th></table>
<div class="infobox-image">[[File:{{PAGENAME}}.png]]</div>
<div style="font-size: 80%; font-style: italic; text-align: center;">{{{caption|}}}</div>
<table>
<th>Number</th>
    <td>{{{number|Number Missing!}}}</td>
    </tr>
<th>Type</th>
    <td>{{{type|Source Missing!}}}</td>
    </tr>
{{#if:{{{bonus}}}|<th>Bonus</th>
    <td>{{{bonus|}}}</td>
    </tr>}}
    <th class="subheader" colspan="2">Other</th>
    </tr>
    {{#if:{{{sellprice|}}}<th>Sell Price
    <td>{{{sellprice|}}}</td>
    </tr>}}
    <th>Source</th>
    <td>{{{source|Source Missing!}}}</td>
    </tr></table>
</div>
</includeonly>


<noinclude>
### Cargo Declare ###
-->{{#cargo_declare:_table=Stamps
  |Image=Wikitext
  |OrderNumber=Integer
  |Type=String
  |Bonus=String
  |SellPrice=Integer
  |Material=String
}}</noinclude><!--
 
### Cargo Store ###
--><includeonly>{{#invoke:SlabStuff|SlabNumGrab|Item={{PAGENAME}}}}
{{#cargo_store:_table=Stamps
  |Image=[[File:{{PAGENAME}}.png]]
  |OrderNumber={{{number|}}}
  |Type={{{type|}}}
  |Bonus={{{bonus|}}}
  |SellPrice={{{sellprice|}}}
  |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><!--
-->{{#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
|description=Type: {{{type}}}
{{{bonus}}}
}}
[[Category:Stamps]]</includeonly><noinclude>
Usage
Usage
<pre>{{stamp
<pre>{{stamp
Line 31: Line 74:
|type=example (combat/skills/misc)
|type=example (combat/skills/misc)
|bonus=example  
|bonus=example  
|material=example
|sellprice=example
|sellprice=example
|source=example
}}</pre>
}}</pre></noinclude>
[[Category:Infobox templates]]
 
</noinclude>
[[Category:Stamps]]

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
}}