• 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
Document "advanced image operations"
Line 2: Line 2:  
|-
 
|-
 
| style="width:250px; border-top-left-radius:20px; border-bottom-left-radius:20px; border: solid 3px #{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99| d3d3d3}}; background:#" rowspan="3"| {{#if:{{{slideshow|}}}|<div style="overflow:hidden;width:265px;max-height:200px;border-top-left-radius:20px; border-bottom-left-radius:20px;"><div style="position:relative;bottom:5px;right:5px;">{{{slideshow|}}}</div></div>
 
| style="width:250px; border-top-left-radius:20px; border-bottom-left-radius:20px; border: solid 3px #{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99| d3d3d3}}; background:#" rowspan="3"| {{#if:{{{slideshow|}}}|<div style="overflow:hidden;width:265px;max-height:200px;border-top-left-radius:20px; border-bottom-left-radius:20px;"><div style="position:relative;bottom:5px;right:5px;">{{{slideshow|}}}</div></div>
|<div style="overflow:hidden;width:265px;max-height:250px;border-top-left-radius:20px; border-bottom-left-radius:20px;"><div style="position:relative;{{{position|{{#switch: {{{type|}}}| floor = right:25%;| chest = left:10%;bottom:80px;|}}}}}">{{#if:{{{image|}}}|[[File:{{{image|}}}{{!}}center{{#if:{{{description|}}}|{{!}}{{{description|}}}|}}{{#if: {{{size|{{#switch: {{{type|}}}| wallpaper = 600px;| window = 350px| desk = 265px|}}}}}|{{!}}{{{size|{{#switch: {{{type|}}}| wallpaper = 600px;| window = 350px| desk = 265px|}}}}}|}}]]|}}</div></div>}}
+
|<div style="overflow:hidden;width:265px;max-height:250px;border-top-left-radius:20px; border-bottom-left-radius:20px;"><div style="position:relative;{{{position|{{#switch: {{{type|}}}| floor = right:25%;| chest = left:10%;bottom:80px;|}}}}}">{{#if:{{{image|}}}|[[File:{{{image|}}}{{!}}center{{#if:{{{description|}}}|{{!}}{{{description|}}}|}}{{#if: {{{size|{{#switch: {{{type|}}}| wallpaper = 600px| window = 350px| desk = 265px| }}}}}|{{!}}{{{size|{{#switch: {{{type|wallpaper}}}| wallpaper = 600px| window = 350px| desk = 265px| }}}}}|}}]]|}}</div></div>}}
 
| style="border: solid 0px;background-color:#{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99 | d3d3d3}};" width="100%" align="center" colspan="3"| '''{{{name|Name?}}}'''  
 
| style="border: solid 0px;background-color:#{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99 | d3d3d3}};" width="100%" align="center" colspan="3"| '''{{{name|Name?}}}'''  
 
{{{japanesename|}}}
 
{{{japanesename|}}}
Line 65: Line 65:  
{{FurnitureInfo
 
{{FurnitureInfo
 
| name=Final boss
 
| name=Final boss
| type=chest
   
| japanesename=朝雲
 
| japanesename=朝雲
 
| image=NPC_FinalBoss.png
 
| image=NPC_FinalBoss.png
Line 75: Line 74:  
{{FurnitureInfo
 
{{FurnitureInfo
 
| name=Final boss
 
| name=Final boss
| type=chest
   
| japanesename=朝雲  
 
| japanesename=朝雲  
 
| image=NPC_FinalBoss.png
 
| image=NPC_FinalBoss.png
Line 122: Line 120:  
| coin=2000
 
| coin=2000
 
| fairy=1
 
| fairy=1
 +
}}
 +
 +
'''Advanced image operations'''
 +
 +
*"position" field allows customized positioning within the frame
 +
*"size" field allows different scaling/zooming value
 +
 +
Some furniture types will have these values predefined, they can be overwritten by redefining the field. Find below the default values according to furniture type:
 +
{| style="margin:20px; border: 1px solid black;padding:10px;" width="60%"
 +
|align="center"| Wallpaper
 +
|rowspan="5" style="background:gray;"|
 +
|
 +
|align="center"| 600px
 +
|-
 +
|align="center"| Floor
 +
|align="center"| right:25%;
 +
|
 +
|-
 +
|align="center"| Desk
 +
|
 +
|align="center"|265px
 +
|-
 +
|align="center"| Window
 +
|
 +
|align="center"| 350px
 +
|-
 +
|align="center"| Chest
 +
|align="center"| left:10%; bottom:80px;
 +
|
 +
|}
 +
 +
<pre>
 +
{{FurnitureInfo
 +
| name=Final boss
 +
| japanesename=朝雲
 +
| image=NPC_FinalBoss.png
 +
| position=left:20%;bottom:30px;
 +
| size=100px
 +
| coin=200000
 +
}}
 +
</pre>
 +
 +
 +
{{FurnitureInfo
 +
| name=Final boss
 +
| japanesename=朝雲
 +
| image=NPC_FinalBoss.png
 +
| position=left:20%;bottom:30px;
 +
| size=100px
 +
| coin=200000
 
}}
 
}}
 
</noinclude>
 
</noinclude>
Anonymous user

Navigation menu