Line 1: |
Line 1: |
− | <!--Implementation--> | + | <includeonly><span style=" |
− | <span style=" | |
| position:absolute; | | position:absolute; |
− | left:{{#expr:{{{x-axis|0}}}-50/2 round 0}}px; | + | left:{{#expr:{{{x|0}}}-50/2 round 0}}px; |
− | top:{{#expr:{{{y-axis|0}}}-50/2 round 0}}px; | + | top:{{#expr:{{{y|0}}}-50/2 round 0}}px; |
| border-radius:50%; | | border-radius:50%; |
| width:50px; | | width:50px; |
| height:50px; | | height:50px; |
− | {{#if: {{{tooltip|}}}|cursor:help;" title="{{{tooltip|}}}"|"}}>[[File:{{#switch:{{{type|}}} | + | {{#if: {{{tooltip|}}}|cursor:help;" title="{{{tooltip|}}}"|"}}>[[File:{{#if:{{{1|}}}|{{#ifeq:{{{type|}}}|P|Shop|Item}}_Icon_{{{1}}}.png|Empty Equipment Card.png}}|{{#if: {{{type|}}}|50px{{!}} |50px{{!}} }}link={{{link|#{{#if:{{{type|}}}|{{{type}}}_}}{{{1}}}}}}]] |
− | |ring = Marriage_and_Papers_055 inventory.png
| + | </span></includeonly><noinclude> |
− | |medal = Medal_057_inventory.png
| + | ==Purpose== |
− | |screws = Improvement_Material_004_inventory.png
| + | :Item template to be used in a position:relative divider frame. |
− | |irako = Food_supply_ship_irako.png|presentbox = Present_box_icon.png
| + | :Intended for interactive maps and especially on [[Shop]] page. |
− | |chocolate = Valentine_chocolate_icon.png
| + | :''This template is loosely based off [[Template:Node]].'' |
− | |amedal = First-Class_Medal_061_inventory.png
| + | ==Positioning arguments== |
− | |sbox = Small_Furniture_coin_box_010_inventory.png
| + | :<code><nowiki>x</nowiki></code>, <code><nowiki>y</nowiki></code> |
− | |mbox = Medium_Furniture_coin_box_011_inventory.png
| + | :*Top-left most pixel is the origin |
− | |lbox= Furniture_box_large.jpg
| + | :*Measured in pixel, input without px unit |
− | |mamiya = Food_supply_ship_mamiya.png
| + | :*'''Images are scaled down to 700px width-wise to fit the screen. If you're using the full size image to make those coordinate, you're off by miles.''' |
− | |blueprint = Blueprint_058_inventory.png
| + | ==Node type argument== |
− | |furniturefairy = Furniture_fairy.png
| + | :<code><nowiki>type</nowiki></code> |
− | |hqpersonnel = Headquarters_Personnel.png
| + | :*Purchased items use: <code><nowiki>type=P</nowiki></code> |
− | |punchhole = Reinforcement_Expansion.png
| + | |
− | |bucket = Instant_repair.jpg
| + | ==Embedded link & tooltip arguments== |
− | |burner = Instant_construction.jpg
| + | :<code><nowiki>tooltip</nowiki></code> |
− | |devmat = Development_Material_056_inventory.png
| + | :*Add a mouse-over tooltip with <code><nowiki>cursor:help</nowiki></code> CSS style. |
− | |dockext = Dock_key_049_inventory.png
| + | :<code><nowiki>link</nowiki></code> |
− | |damecon = Emergency_repair.png
| + | :*Override <code><nowiki>tooltip</nowiki></code> and embed internal wiki link. |
− | |damecongod = Repair_goddess.png
| + | ==Sample/result== |
− | |hishimochi = Hishimochi.png
| + | <tabber>保有アイテム= |
− | |mackerel = Mackerel_112_inventory.png
| + | <pre> |
− | |decorationmaterial = Decoration_Material_120_inventory.png
| + | <div style="text-align:center;color:red">Interactive map. Click on the icons to see more detail.</div> |
− | |acepilot = Skilled_Crew_Member_116_inventory.png
| + | <div id="map3" style="position:relative;">[[File:Itempanel.png|link=]] |
− | |protopult = Prototype_Deck_Catapult.png
| + | {{ItemMap|x=47|y=39|Marriage Ring and Documents}}{{clear}} |
− | |netypeengine = Ne_Type_Engine_118_inventory.png
| + | {{ItemMap|x=103|y=39|Medal}}{{clear}} |
− | |cannedfish = Canned_Mackerel_114_inventory.png
| + | {{ItemMap|x=159|y=39|Improvement Material}}{{clear}} |
− | |onigiri = Combat_Provisions.png
| + | {{ItemMap|x=215|y=39|Food Supply Ship Irako}}{{clear}} |
− | |fueldrum = Underway_Replenishment_110_inventory.png
| + | {{ItemMap|x=271|y=39|Present Box}}{{clear}} |
− | |constructcorps = Construction_Corps_Item.png
| + | {{ItemMap|x=327|y=39|Special Chocolate}}{{clear}} |
− | |ntablueprint = New_Technology_Aircraft_Blueprint_Icon.png
| + | {{ItemMap|x=382|y=39|First Class Medal}}{{clear}} |
− | |gunmountmats = New_Model_Gun_Mount_Improvement_Material_Icon.png
| + | {{ItemMap|x=439|y=39|New Technology Aircraft Blueprint}}{{clear}} |
− | |aerialmats = New_Model_Aerial_Armament_Materials_Icon.png
| + | {{ItemMap|x=47|y=108|Furniture Box (Small)}}{{clear}} |
− | |sonigiri = Combat_Provisions_(Special_Onigiri)_Icon.png
| + | {{ItemMap|x=103|y=108|Furniture Box (Medium)}}{{clear}} |
− | |actionreport = Action_Report_Icon.png
| + | {{ItemMap|x=159|y=108|Furniture Box (Large)}}{{clear}} |
− | |xmaspresentbox = Xmas_Select_Gift_Box_Icon.png
| + | {{ItemMap|x=215|y=108|Food Supply Ship Mamiya}}{{clear}} |
− | |okome = Rice_138.png
| + | {{ItemMap|x=271|y=108|Remodel Blueprint}}{{clear}} |
− | |umeboshi = Umeboshi_140.png
| + | {{ItemMap|x=327|y=108|Furniture Fairy}}{{clear}} |
− | |nori = Nori_142.png
| + | {{ItemMap|x=383|y=108|Headquarters Personnel}}{{clear}} |
− | |tea = Tea_144.png
| + | {{ItemMap|x=439|y=108|Reinforcement Expansion}}{{clear}} |
− | |houshou_meal_ticket = Houshou_Meal_Ticket_146.png
| + | {{ItemMap|x=47|y=177|Instant Repair Material}}{{clear}} |
− | |p_fuel = Fuel.jpg
| + | {{ItemMap|x=103|y=177|Instant Construction Material}}{{clear}} |
− | |p_ammo = Ammo_shop.jpg
| + | {{ItemMap|x=159|y=177|Development Material}}{{clear}} |
− | |p_steel = Steel_shop.jpg
| + | {{ItemMap|x=215|y=177|Dock Opening Key}}{{clear}} |
− | |p_bauxite = bauxite_shop.jpg
| + | {{ItemMap|x=271|y=177|Emergency Repair Personnel}}{{clear}} |
− | |p_furniturefairy = special_order_furniture_shop.jpg
| + | {{ItemMap|x=327|y=177|Emergency Repair Goddess}}{{clear}} |
− | |p_devmat = dev_material_shop.jpg
| + | {{ItemMap|x=383|y=177|Hishimochi}}{{clear}} |
− | |p_bucket = instant_repair_shop.jpg
| + | {{ItemMap|x=439|y=177|Saury|link=#Seasonal}}{{clear}} |
− | |p_burner = instant_construction_shop.jpg
| + | {{ItemMap|x=47|y=246|Skilled Crew Member}}{{clear}} |
− | |p_damecon = Repair_member_shop.jpg
| + | {{ItemMap|x=103|y=246|Prototype Flight Deck Catapult}}{{clear}} |
− | |p_damecongod = Repair_goddess_shop.jpg
| + | {{ItemMap|x=159|y=246|Ne Type Engine}}{{clear}} |
− | |p_dockext = Dock_extension_set.jpg
| + | {{ItemMap|x=215|y=246|Canned Saury}}{{clear}} |
− | |p_880rscbundl = 880_Resource_Bundle.jpg
| + | {{ItemMap|x=271|y=246|Combat Ration}}{{clear}} |
− | |p_whitedaycookie = White_Day_2014_Cookies.png
| + | {{ItemMap|x=327|y=246|Underway Replenishment}}{{clear}} |
− | |p_portexp = Port_extension_shop.jpg
| + | {{ItemMap|x=383|y=246|Construction Corps}}{{clear}} |
− | |p_ring = Papers_and_ring.png
| + | {{ItemMap|x=439|y=246|Submarine Supply Material}}{{clear}} |
− | |p_bargainrsc = Bargain_resources_set_shop.jpg
| + | </div> |
− | |p_mamiya = Food_set.jpg
| + | {{clear}} |
− | |p_irako = Shop Food Pack 2.jpg
| + | </pre> |
− | |p_onigiri = Shop Sortie Morale Booster.jpg
| + | |
− | |p_fuelpack = Fuel_pack_shop.jpg
| + | <div style="text-align:center;color:red">Interactive map. Click on the icons to see more detail.</div> |
− | |p_bauxitepack = Bauxite_pack_shop.jpg
| + | <div id="map3" style="position:relative;">[[File:Itempanel.png|link=]] |
− | |p_bargainsort = Bargain_sortie_set_shop.jpg
| + | {{ItemMap|x=47|y=39|Marriage Ring and Documents}}{{clear}} |
− | |p_screws = Shop Improvement Pack.jpg
| + | {{ItemMap|x=103|y=39|Medal}}{{clear}} |
− | |p_punchhole = Shop Support Slot.jpg
| + | {{ItemMap|x=159|y=39|Improvement Material}}{{clear}} |
− | |p_fueldrum = Shop Sortie Resupply.jpg
| + | {{ItemMap|x=215|y=39|Food Supply Ship Irako}}{{clear}} |
− | |p_constructcorps = Construction_Corps.png
| + | {{ItemMap|x=271|y=39|Present Box}}{{clear}} |
− | |Blank_square.svg}}|{{#if: {{{type|}}}| |50px{{!}} }}link={{{link|}}}]]
| + | {{ItemMap|x=327|y=39|Special Chocolate}}{{clear}} |
− | </span> | + | {{ItemMap|x=382|y=39|First Class Medal}}{{clear}} |
− | <noinclude>
| + | {{ItemMap|x=439|y=39|New Technology Aircraft Blueprint}}{{clear}} |
− | {{Documentation}} | + | {{ItemMap|x=47|y=108|Furniture Box (Small)}}{{clear}} |
| + | {{ItemMap|x=103|y=108|Furniture Box (Medium)}}{{clear}} |
| + | {{ItemMap|x=159|y=108|Furniture Box (Large)}}{{clear}} |
| + | {{ItemMap|x=215|y=108|Food Supply Ship Mamiya}}{{clear}} |
| + | {{ItemMap|x=271|y=108|Remodel Blueprint}}{{clear}} |
| + | {{ItemMap|x=327|y=108|Furniture Fairy}}{{clear}} |
| + | {{ItemMap|x=383|y=108|Headquarters Personnel}}{{clear}} |
| + | {{ItemMap|x=439|y=108|Reinforcement Expansion}}{{clear}} |
| + | {{ItemMap|x=47|y=177|Instant Repair Material}}{{clear}} |
| + | {{ItemMap|x=103|y=177|Instant Construction Material}}{{clear}} |
| + | {{ItemMap|x=159|y=177|Development Material}}{{clear}} |
| + | {{ItemMap|x=215|y=177|Dock Opening Key}}{{clear}} |
| + | {{ItemMap|x=271|y=177|Emergency Repair Personnel}}{{clear}} |
| + | {{ItemMap|x=327|y=177|Emergency Repair Goddess}}{{clear}} |
| + | {{ItemMap|x=383|y=177|Hishimochi}}{{clear}} |
| + | {{ItemMap|x=439|y=177|Saury|link=#Seasonal}}{{clear}} |
| + | {{ItemMap|x=47|y=246|Skilled Crew Member}}{{clear}} |
| + | {{ItemMap|x=103|y=246|Prototype Flight Deck Catapult}}{{clear}} |
| + | {{ItemMap|x=159|y=246|Ne Type Engine}}{{clear}} |
| + | {{ItemMap|x=215|y=246|Canned Saury}}{{clear}} |
| + | {{ItemMap|x=271|y=246|Combat Ration}}{{clear}} |
| + | {{ItemMap|x=327|y=246|Underway Replenishment}}{{clear}} |
| + | {{ItemMap|x=383|y=246|Construction Corps}}{{clear}} |
| + | {{ItemMap|x=439|y=246|Submarine Supply Material}}{{clear}} |
| + | </div> |
| + | {{clear}} |
| + | |
| + | |-|拡張アイテム= |
| + | <pre> |
| + | <div style="text-align:center;color:red">Interactive map. Click on the icons to see more detail.</div> |
| + | <div id="map5" style="position:relative;">[[File:ExtendedItempanel.png|link=]] |
| + | <!--{{ItemMap|x=39|y=39|placeholder10}}{{clear}}--> |
| + | <!--{{ItemMap|x=95|y=39|placeholder11}}{{clear}}--> |
| + | {{ItemMap|x=151|y=39|Action Report}}{{clear}} |
| + | {{ItemMap|x=39|y=108|New Model Gun Mount Improvement Material}}{{clear}} |
| + | {{ItemMap|x=95|y=108|New Model Aerial Armament Material}}{{clear}} |
| + | {{ItemMap|x=151|y=108|New Model Rocket Development Material}}{{clear}} |
| + | {{ItemMap|x=39|y=177|Combat Ration (Special Onigiri)}}{{clear}} |
| + | {{ItemMap|x=95|y=177|Emergency Repair Material}}{{clear}} |
| + | {{ItemMap|x=151|y=177|New Model Armament Material}}{{clear}} |
| + | {{ItemMap|x=39|y=246|Xmas Select Gift Box}}{{clear}} |
| + | <!--{{ItemMap|x=95|y=246|placeholder15}}{{clear}}--> |
| + | <!--{{ItemMap|x=151|y=246|placeholder16}}{{clear}}--> |
| + | </div> |
| + | {{clear}} |
| + | </pre> |
| + | |
| + | <div style="text-align:center;color:red">Interactive map. Click on the icons to see more detail.</div> |
| + | <div id="map5" style="position:relative;">[[File:ExtendedItempanel.png|link=]] |
| + | <!--{{ItemMap|x=39|y=39|placeholder10}}{{clear}}--> |
| + | <!--{{ItemMap|x=95|y=39|placeholder11}}{{clear}}--> |
| + | {{ItemMap|x=151|y=39|Action Report}}{{clear}} |
| + | {{ItemMap|x=39|y=108|New Model Gun Mount Improvement Material}}{{clear}} |
| + | {{ItemMap|x=95|y=108|New Model Aerial Armament Material}}{{clear}} |
| + | {{ItemMap|x=151|y=108|New Model Rocket Development Material}}{{clear}} |
| + | {{ItemMap|x=39|y=177|Combat Ration (Special Onigiri)}}{{clear}} |
| + | {{ItemMap|x=95|y=177|Emergency Repair Material}}{{clear}} |
| + | {{ItemMap|x=151|y=177|New Model Armament Material}}{{clear}} |
| + | {{ItemMap|x=39|y=246|Xmas Select Gift Box}}{{clear}} |
| + | <!--{{ItemMap|x=95|y=246|placeholder15}}{{clear}}--> |
| + | <!--{{ItemMap|x=151|y=246|placeholder16}}{{clear}}--> |
| + | </div> |
| + | {{clear}} |
| + | |
| + | |-|購入済みアイテム= |
| + | <pre> |
| + | <div style="text-align:center;color:red">Interactive map. Click on the icons to see more detail.</div> |
| + | <div id="map4" style="position:relative;">[[File:購入済みアイテム_249.png|link=]] |
| + | {{ItemMap|x=50|y=68|type=P|Fuel}}{{clear}} |
| + | {{ItemMap|x=106|y=68|type=P|Ammo}}{{clear}} |
| + | {{ItemMap|x=162|y=68|type=P|Steel}}{{clear}} |
| + | {{ItemMap|x=252|y=68|type=P|Bauxite}}{{clear}} |
| + | {{ItemMap|x=308|y=68|type=P|Emergency Repair Personnel}}{{clear}} |
| + | {{ItemMap|x=365|y=68|type=P|Emergency Repair Goddess}}{{clear}} |
| + | {{ItemMap|x=422|y=68|type=P|Combat Ration}}{{clear}} |
| + | {{ItemMap|x=50|y=144|type=P|Development Material}}{{clear}} |
| + | {{ItemMap|x=106|y=144|type=P|Instant Construction Material}}{{clear}} |
| + | {{ItemMap|x=162|y=144|type=P|Instant Repair Material}}{{clear}} |
| + | {{ItemMap|x=252|y=144|type=P|Discounted Arsenal Set}}{{clear}} |
| + | {{ItemMap|x=308|y=144|type=P|Discounted Sortie Set}}{{clear}} |
| + | {{ItemMap|x=365|y=144|type=P|Dock Expansion Set}}{{clear}} |
| + | {{ItemMap|x=422|y=144|type=P|Underway Replenishment}}{{clear}} |
| + | {{ItemMap|x=50|y=218|type=P|88 Resource Set}}{{clear}} |
| + | {{ItemMap|x=106|y=219|type=P|Furniture Fairy}}{{clear}} |
| + | {{ItemMap|x=162|y=219|type=P|Tanker Expropriation}}{{clear}} |
| + | {{ItemMap|x=252|y=219|type=P|Homeport Expansion}}{{clear}} |
| + | {{ItemMap|x=308|y=219|type=P|Food Supply Ship Mamiya}}{{clear}} |
| + | {{ItemMap|x=365|y=219|type=P|Aluminium Mass Production}}{{clear}} |
| + | {{ItemMap|x=422|y=219|type=P|Reinforcement Expansion}}{{clear}} |
| + | {{ItemMap|x=50|y=292|type=P|Marriage Ring and Documents}}{{clear}} |
| + | {{ItemMap|x=106|y=294|type=P|White Day Cookies}}{{clear}} |
| + | {{ItemMap|x=162|y=294|type=P|Food Supply Ship Irako}}{{clear}} |
| + | {{ItemMap|x=252|y=294|type=P|Improvement Material}}{{clear}} |
| + | {{ItemMap|x=308|y=294|type=P|Construction Corps}}{{clear}} |
| + | {{ItemMap|x=365|y=294|type=P|Emergency Repair Material}}{{clear}} |
| + | {{ItemMap|x=422|y=294|type=P|Submarine Supply Material}}{{clear}} |
| + | </div> |
| + | {{clear}} |
| + | </pre> |
| + | |
| + | <div style="text-align:center;color:red">Interactive map. Click on the icons to see more detail.</div> |
| + | <div id="map4" style="position:relative;">[[File:購入済みアイテム_249.png|link=]] |
| + | {{ItemMap|x=50|y=68|type=P|Fuel}}{{clear}} |
| + | {{ItemMap|x=106|y=68|type=P|Ammo}}{{clear}} |
| + | {{ItemMap|x=162|y=68|type=P|Steel}}{{clear}} |
| + | {{ItemMap|x=252|y=68|type=P|Bauxite}}{{clear}} |
| + | {{ItemMap|x=308|y=68|type=P|Emergency Repair Personnel}}{{clear}} |
| + | {{ItemMap|x=365|y=68|type=P|Emergency Repair Goddess}}{{clear}} |
| + | {{ItemMap|x=422|y=68|type=P|Combat Ration}}{{clear}} |
| + | {{ItemMap|x=50|y=144|type=P|Development Material}}{{clear}} |
| + | {{ItemMap|x=106|y=144|type=P|Instant Construction Material}}{{clear}} |
| + | {{ItemMap|x=162|y=144|type=P|Instant Repair Material}}{{clear}} |
| + | {{ItemMap|x=252|y=144|type=P|Discounted Arsenal Set}}{{clear}} |
| + | {{ItemMap|x=308|y=144|type=P|Discounted Sortie Set}}{{clear}} |
| + | {{ItemMap|x=365|y=144|type=P|Dock Expansion Set}}{{clear}} |
| + | {{ItemMap|x=422|y=144|type=P|Underway Replenishment}}{{clear}} |
| + | {{ItemMap|x=50|y=218|type=P|88 Resource Set}}{{clear}} |
| + | {{ItemMap|x=106|y=219|type=P|Furniture Fairy}}{{clear}} |
| + | {{ItemMap|x=162|y=219|type=P|Tanker Expropriation}}{{clear}} |
| + | {{ItemMap|x=252|y=219|type=P|Homeport Expansion}}{{clear}} |
| + | {{ItemMap|x=308|y=219|type=P|Food Supply Ship Mamiya}}{{clear}} |
| + | {{ItemMap|x=365|y=219|type=P|Aluminium Mass Production}}{{clear}} |
| + | {{ItemMap|x=422|y=219|type=P|Reinforcement Expansion}}{{clear}} |
| + | {{ItemMap|x=50|y=292|type=P|Marriage Ring and Documents}}{{clear}} |
| + | {{ItemMap|x=106|y=294|type=P|White Day Cookies}}{{clear}} |
| + | {{ItemMap|x=162|y=294|type=P|Food Supply Ship Irako}}{{clear}} |
| + | {{ItemMap|x=252|y=294|type=P|Improvement Material}}{{clear}} |
| + | {{ItemMap|x=308|y=294|type=P|Construction Corps}}{{clear}} |
| + | {{ItemMap|x=365|y=294|type=P|Emergency Repair Material}}{{clear}} |
| + | {{ItemMap|x=422|y=294|type=P|Submarine Supply Material}}{{clear}} |
| + | </div> |
| + | {{clear}} |
| + | </tabber> |
| + | |
| </noinclude> | | </noinclude> |