Template:Fishingaccessory: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 14: Line 14:
   |SellPrice=Integer
   |SellPrice=Integer
   |Type=String
   |Type=String
   |Source=Wikitext
   |AccessoryType=String
}}</noinclude><!--
}}</noinclude><!--


Line 31: Line 31:
   |SellPrice={{{sellprice|0}}}
   |SellPrice={{{sellprice|0}}}
   |Type={{{type|Null}}}
   |Type={{{type|Null}}}
   |Source={{#invoke:SourcesQuery|Main|item={{{title|{{PAGENAME}}}}}}}
   |AccessoryType={{{accessorytype|Null}}}
}}}}<infobox>
}}}}<infobox>
<title source="title">
<title>
<default>{{#if:{{#var:SlabNum}}|<div class="SlabNum" style="float:left;">[[File:The Slab Icon.png|28px|link=The Slab]]<span>{{#var:SlabNum}}</span></div>}} {{PAGENAME}}</default>
<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>
</title>
<image source="image">
<image source="image">
Line 79: Line 79:
<label>Sell Price</label>
<label>Sell Price</label>
         <format>{{Coindisplay | {{{sellprice}}}}}</format>
         <format>{{Coindisplay | {{{sellprice}}}}}</format>
</data>
    <data source="order">
<label>Order</label>
</data>
</data>
     <data source="source">
     <data source="source">
<label>Source</label>
<label>Source</label>
         <default>{{#invoke:LuaVar|var|name=Sources}}</default>
         <default>{{#invoke:SourcesQuery|PullSourcesFromList|item={{PAGENAME}}}}</default>
</data>
</data>
</infobox><!--
</infobox><!--
Line 99: Line 96:
  |order by=OrderNumber
  |order by=OrderNumber
}}
}}
{{#vardefine:used|{{Usedin}}}}{{#if:{{#var:used}}|{{Usedin/head}}
{{Usedin}}
{{#var:used}}
[[Category:Fishing]][[Category:Items]]</includeonly><noinclude>
{{!}}}
}}
[[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 117: 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=
}}