• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Template:ItemStack"

From Kancolle Wiki
Jump to navigation Jump to search
(Add template)
 
m (Fix second example)
Line 1: Line 1:
<span style="position:relative">{{{item|[[File:Improvement material.png{{!}}50px{{!}}link=]]}}}<span style="
+
<span style="position:relative">{{{item|[[File:Empty equipment card slot.png{{!}}50px{{!}}link=]]}}}<span style="
 
         font-size:{{{font-size|12px}}};
 
         font-size:{{{font-size|12px}}};
 
font-weight:800;
 
font-weight:800;
Line 22: Line 22:
 
0px 0px {{{glow-size|5px}}} #{{{glow-color|fff}}},
 
0px 0px {{{glow-size|5px}}} #{{{glow-color|fff}}},
 
0px 0px {{{glow-size|5px}}} #{{{glow-color|fff}}},
 
0px 0px {{{glow-size|5px}}} #{{{glow-color|fff}}},
">{{{text|x1}}}</span></span>
+
">{{{text|なのです!}}}</span></span>
<noinclude><pre>
+
<noinclude>
 +
;Standard usage with 50px item images
 +
<pre>
 
{{ItemStack
 
{{ItemStack
 
|item = [[File:Improvement material.png{{!}}50px{{!}}link=]]
 
|item = [[File:Improvement material.png{{!}}50px{{!}}link=]]
Line 33: Line 35:
 
|text = x7
 
|text = x7
 
}}
 
}}
 
+
;Custom usage with [[Template:EquipmentCardKai]]
 
<pre>
 
<pre>
 
{{ItemStack
 
{{ItemStack
|item = [[File:Improvement material.png{{!}}50px{{!}}link=]]
+
|item = {{EquipmentCardKai|Prototype 51cm Twin Gun Mount|size=100px}}
 
|right = 6px
 
|right = 6px
 
|bottom = -40px
 
|bottom = -40px
Line 42: Line 44:
 
|text = x9000
 
|text = x9000
 
|glow-size = 15px
 
|glow-size = 15px
|color = 000
+
|color = fff
 
|glow-color = f00
 
|glow-color = f00
 
}}
 
}}
 
</pre>
 
</pre>
 
{{ItemStack
 
{{ItemStack
|item = [[File:Improvement material.png{{!}}50px{{!}}link=]]
+
|item = {{EquipmentCardKai|Prototype 51cm Twin Gun Mount|size=100px}}
 
|right = 6px
 
|right = 6px
 
|bottom = -40px
 
|bottom = -40px
 
|font-size = 18px
 
|font-size = 18px
 
|text = x9000
 
|text = x9000
|glow-size = 15px
+
|glow-size = 8px
|color = 000
+
|color = fff
 
|glow-color = f00
 
|glow-color = f00
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 13:04, 16 October 2015

50pxなのです!

Standard usage with 50px item images
{{ItemStack
|item = [[File:Improvement material.png{{!}}50px{{!}}link=]]
|text = x7
}}

50pxx7

Custom usage with Template:EquipmentCardKai
{{ItemStack
|item = {{EquipmentCardKai|Prototype 51cm Twin Gun Mount|size=100px}}
|right = 6px
|bottom = -40px
|font-size = 18px
|text = x9000
|glow-size = 15px
|color = fff
|glow-color = f00
}}

Equipment Card Prototype 51cm Twin Gun Mount.pngx9000