Template:Fishingaccessory: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
mNo edit summary
 
(34 intermediate revisions by 6 users not shown)
Line 2: Line 2:


### Cargo Declare ###
### Cargo Declare ###
-->{{#cargo_declare:_table=Fishing_Accesories
-->{{#cargo_declare:_table=Fishing_Accessories
   |Image=Wikitext
   |Image=Wikitext
   |Name=String
   |Name=String
Line 14: Line 14:
   |SellPrice=Integer
   |SellPrice=Integer
   |Type=String
   |Type=String
   |Source=Wikitext
   |AccessoryType=String
}}</noinclude><!--
}}</noinclude><!--


### Cargo Store ###
### Cargo Store ###
--><includeonly>{{#if:{{NAMESPACE}}||
--><includeonly>{{#if:{{NAMESPACE}}||{{#invoke:SlabStuff|SlabNumGrab|Item={{PAGENAME}}}}
{{#cargo_store:_table=Fishing_Accesories
{{#cargo_store:_table=Fishing_Accessories
   |Image=[[File:{{PAGENAME}}.png]]
   |Image=[[File:{{PAGENAME}}.png]]
   |Name={{{title|{{PAGENAME}}}}}
   |Name={{{title|{{PAGENAME}}}}}
   |GreenDepth={{{depth1|}}
   |GreenDepth={{{depth1|0}}}
   |YellowDepth={{{depth2|}}
   |YellowDepth={{{depth2|0}}}
   |RedDepth={{{depth3|}}
   |RedDepth={{{depth3|0}}}
   |PurpleDepth={{{depth4|}}
   |PurpleDepth={{{depth4|0}}}
   |ExpBonus={{{fishingexp|}}}
   |ExpBonus={{{fishingexp|0}}}
   |SpeedBonus={{{fishingspeed|}}}
   |SpeedBonus={{{fishingspeed|0}}}
   |PowerBonus={{{fishingpower|}}}
   |PowerBonus={{{fishingpower|0}}}
   |SellPrice={{{sellprice|}}}
   |SellPrice={{{sellprice|0}}}
   |Type={{{type|}}}
   |Type={{{type|Null}}}
   |Source={{{source|Unobtainable}}}
   |AccessoryType={{{accessorytype|Null}}}
}}}}
}}}}<infobox>
 
<title>
{| class="Infobox"
<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>
! colspan="2" class="Header" | {{{title | {{PAGENAME}}}}}
<image source="image">
|-
        <default>[[File:{{PAGENAME}}.png]]</default>
| colspan="2" class="HeaderImage" | [[file:{{{title | {{PAGENAME}}}}}.png]]
    </image>
|-
    <header>Fishing Stats</header>
! colspan="2" class="SubHeader" | Bonuses
    <group name="FishDepth" layout="horizontal">
|-
<data source="depth1">
{{#if: {{{depth1|}}} |
<label>[[File:Fishing Depth G.png|class=FishDepth|link=]]</label>
! style="color:green;" {{!}} X
<default>-</default>
{{!}} {{{depth1}}} }}
</data>
|-
<data source="depth2">
{{#if: {{{depth2|}}} |
<label>[[File:Fishing Depth Y.png|class=FishDepth|link=]]</label>
! style="color:yellow;" {{!}} X
<default>-</default>
{{!}} {{{depth2}}} }}
</data>
|-
<data source="depth3">
{{#if: {{{depth3|}}} |
<label>[[File:Fishing Depth R.png|class=FishDepth|link=]]</label>
! style="color:red;" {{!}} X
<default>-</default>
{{!}} {{{depth3}}} }}
</data>
|-
<data source="depth4">
{{#if: {{{depth4|}}} |
<label>[[File:Fishing Depth P.png|class=FishDepth|link=]]</label>
! style="color:purple;" {{!}} X
<default>-</default>
{{!}} {{{depth4}}} }}
</data>
|-
</group>
{{#if: {{{fishingexp|}}} |
    <group name="FishBonus" layout="horizontal">
! Fishing Experience
<data source="fishingexp">
{{!}} {{{fishingexp}}} }}
<label>Fish Exp</label>
|-
<default>-</default>
{{#if: {{{fishingspeed|}}} |
</data>
! Fishing Speed
<data source="fishingspeed">
{{!}} {{{fishingspeed}}} }}
<label>Fish Speed</label>
|-
<default>-</default>
{{#if: {{{fishingpower|}}} |
</data>
! Fishing Power
<data source="fishingpower">
{{!}} {{{fishingpower}}} }}
<label>Fish POW</label>
|-
<default>-</default>
! colspan="2" class="SubHeader" | Other
</data>
|-
</group>
! Type
    <header>Other Details</header>
| {{{type}}}
<data source="type">
|-
<label>Type</label>
{{#if: {{{sellprice|}}} |
</data>
! Sell Price
    <data source="sellprice">
{{!}} {{Coindisplay | {{{sellprice}}}}} }}
<label>Sell Price</label>
|-
        <format>{{Coindisplay | {{{sellprice}}}}}</format>
! Source
</data>
| {{{source|Unobtainable}}}
    <data source="source">
|-
<label>Source</label>
|}
        <default>{{#invoke:SourcesQuery|PullSourcesFromList|item={{PAGENAME}}}}</default>
[[Category:Fishing]]
</data>
[[Category:Items]]
</infobox><!--
</includeonly>
-->{{#cargo_query:tables=VendorItems
 
|fields=Vendor=vendor,OrderNumber=number,Price=buyprice,Stock=stock
<noinclude>
|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
How to copy the template into the editor
<pre>
<pre>
Line 99: Line 109:
|fishingpower=
|fishingpower=
|type=
|type=
|source=
|accessorytype=
}} </pre>
}} </pre>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

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