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

Changes

Jump to navigation Jump to search
no edit summary
Line 17: Line 17:  
::The background image. Default value is [[File:Empty equipment card slot.png|50px|link=]]
 
::The background image. Default value is [[File:Empty equipment card slot.png|50px|link=]]
 
:<code><nowiki>text</nowiki></code>
 
:<code><nowiki>text</nowiki></code>
::The overlay text. Default value is なのです!
+
::The overlay text (images and audio also work). Default value is なのです!
 
:<code><nowiki>[1]</nowiki></code>
 
:<code><nowiki>[1]</nowiki></code>
::The non-text overlay (e.g. image or nested <code><nowiki>ItemStack</nowiki></code> call).
+
::Used for nested <code><nowiki>ItemStack</nowiki></code> calls, the generated element will be [[Wikipedia:HTML_element#Block_elements|block-level]].
 
;Styling arguments
 
;Styling arguments
 
:<code><nowiki>font-size</nowiki></code>
 
:<code><nowiki>font-size</nowiki></code>
Line 26: Line 26:  
::Set the position of the overlay text. Default value is right:4px;bottom:-18px
 
::Set the position of the overlay text. Default value is right:4px;bottom:-18px
 
:<code><nowiki>position</nowiki></code>
 
:<code><nowiki>position</nowiki></code>
::Set the position of the non-text overlay.
+
::Set the position of the overlay generated by nested <code><nowiki>ItemStack</nowiki></code> call.
 
:<code><nowiki>text-color</nowiki></code>
 
:<code><nowiki>text-color</nowiki></code>
 
::Set the color of the text. Default value is f61
 
::Set the color of the text. Default value is f61
Line 92: Line 92:  
{{ItemStack
 
{{ItemStack
 
|item = {{ShipCardKai|Ikazuchi/Kai}}
 
|item = {{ShipCardKai|Ikazuchi/Kai}}
|position = left:175px;top:255px
+
|text-position = bottom:-135px;right:5px
|[[File:Marriage Ring Icon.png]]
+
|text = [[File:Marriage Ring Icon.png]]
 
}}
 
}}
 
</pre>
 
</pre>
 
{{ItemStack
 
{{ItemStack
 
|item = {{ShipCardKai|Ikazuchi/Kai}}
 
|item = {{ShipCardKai|Ikazuchi/Kai}}
|position = left:175px;top:255px
+
|text-position = bottom:-135px;right:5px
|[[File:Marriage Ring Icon.png]]
+
|text = [[File:Marriage Ring Icon.png]]
 
}}
 
}}
cssedit, gkautomate
7,064

edits

Navigation menu