Template:Fishingaccessory: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
(Created page with "<includeonly> <div class="infobox"> <table><th class="header">{{PAGENAME}}</th></table> <div class="infobox-image">[[File:{{PAGENAME}}.png]]</div> <div style="font-size: 80%;...")
 
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>Type</th>
<td>{{{type}}}</td>
</tr>
<th class="subheader" colspan="2">Bonuses</th>
    </tr>
{{#if:{{{depth1|}}}|<th>[[File:Depth1.png]]</th>
    <td>{{{depth1|}}}</td>
    </tr>}}}
{{#if:{{{depth2|}}}|<th>[[File:Depth2.png]]</th>
    <td>{{{depth2|}}}</td>
    </tr>}}}
{{#if:{{{depth3|}}}|<th>[[File:Depth3.png]]</th>
    <td>{{{depth3|}}}</td>
    </tr>}}}
{{#if:{{{depth4|}}}|<th>[[File:Depth4.png]]</th>
    <td>{{{depth4|}}}</td>
    </tr>}}}
    {{#if:{{{fishingexp|}}}|<th>Fishing Experience</th>
    <td>{{{fishingexp}}}</td>
    </tr>}}
    {{#if:{{{fishingspeed|}}}|<th>Fishing Speed</th>
    <td>{{{fishingspeed}}}</td>
    </tr>}}
{{#if:{{{fishingpower|}}}|<th>Fishing Power</th>
    <td>{{{fishingpower}}}</td>
    </tr>}}
<th class="subheader" colspan="2">Other</th>
    </tr>
    {{#if:{{{sellprice|}}}|
    <th>Sell Price</th>
    <td>{{Coindisplay|input={{{sellprice}}}}}</td>
    </tr>}}
    <th>Source</th>
    <td>{{{source|Source Missing!}}}</td>
    </tr></table>
</div>
</includeonly>


### Cargo Declare ###
-->{{#cargo_declare:_table=Fishing_Accessories
  |Image=Wikitext
  |Name=String
  |GreenDepth=Integer
  |YellowDepth=Integer
  |RedDepth=Integer
  |PurpleDepth=Integer
  |ExpBonus=Integer
  |SpeedBonus=Integer
  |PowerBonus=Integer
  |SellPrice=Integer
  |Type=String
  |AccessoryType=String
}}</noinclude><!--
### Cargo Store ###
--><includeonly>{{#if:{{NAMESPACE}}||{{#invoke:SlabStuff|SlabNumGrab|Item={{PAGENAME}}}}
{{#cargo_store:_table=Fishing_Accessories
  |Image=[[File:{{PAGENAME}}.png]]
  |Name={{{title|{{PAGENAME}}}}}
  |GreenDepth={{{depth1|0}}}
  |YellowDepth={{{depth2|0}}}
  |RedDepth={{{depth3|0}}}
  |PurpleDepth={{{depth4|0}}}
  |ExpBonus={{{fishingexp|0}}}
  |SpeedBonus={{{fishingspeed|0}}}
  |PowerBonus={{{fishingpower|0}}}
  |SellPrice={{{sellprice|0}}}
  |Type={{{type|Null}}}
  |AccessoryType={{{accessorytype|Null}}}
}}}}<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 source="image">
        <default>[[File:{{PAGENAME}}.png]]</default>
    </image>
    <header>Fishing Stats</header>
    <group name="FishDepth" layout="horizontal">
<data source="depth1">
<label>[[File:Fishing Depth G.png|class=FishDepth|link=]]</label>
<default>-</default>
</data>
<data source="depth2">
<label>[[File:Fishing Depth Y.png|class=FishDepth|link=]]</label>
<default>-</default>
</data>
<data source="depth3">
<label>[[File:Fishing Depth R.png|class=FishDepth|link=]]</label>
<default>-</default>
</data>
<data source="depth4">
<label>[[File:Fishing Depth P.png|class=FishDepth|link=]]</label>
<default>-</default>
</data>
</group>
    <group name="FishBonus" layout="horizontal">
<data source="fishingexp">
<label>Fish Exp</label>
<default>-</default>
</data>
<data source="fishingspeed">
<label>Fish Speed</label>
<default>-</default>
</data>
<data source="fishingpower">
<label>Fish POW</label>
<default>-</default>
</data>
</group>
    <header>Other Details</header>
<data source="type">
<label>Type</label>
</data>
    <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=</table>
|order by=OrderNumber
}}
{{Usedin}}
[[Category:Fishing]][[Category:Items]]</includeonly><noinclude>
How to copy the template into the editor
<pre>
{{class
|depth1=
|depth2=
|depth3=
|depth4=
|fishingexp=
|fishingspeed=
|fishingpower=
|type=
|accessorytype=
}} </pre>
[[Category:Infobox templates]]
</noinclude>
</noinclude>
[[Category:Fishing]]
[[Category:Items]]

Latest revision as of 02:49, 22 March 2024

This template defines the table "Fishing_Accessories". View table. How to copy the template into the editor

{{class
|depth1=
|depth2=
|depth3=
|depth4=
|fishingexp=
|fishingspeed=
|fishingpower=
|type=
|accessorytype=
}}