• 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
m
no edit summary
Line 1: Line 1: −
{| style="border: 1px solid darkgray; border-top-left-radius:20px; border-bottom-left-radius:20px;" cellpadding="5px" width="100%"
+
{| style="border: 1px solid darkgray; border-top-left-radius:20px; border-bottom-left-radius:20px;max-width:870px;width:100%;" cellpadding="5px"
 
|-
 
|-
| 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;"><gallery type="slideshow" widths="267px" crop="true" position="center" hideaddbutton="true">{{{slideshow}}}</gallery></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;">{{#ifeq:{{{type|}}}|floor|<div style="position:relative;right:100%;">|}}{{#if:{{{image|}}}|[[File:{{{image|}}}{{!}}center{{#if:{{{description|}}}|{{!}}{{{description|}}}|}}]]|}}{{#ifeq:{{{type|}}}|floor|</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:100%;| chest = left:10%;bottom:80px;|}}}}}">{{#if:{{{image|}}}|[[File:{{{image|}}}{{!}}center{{#if:{{{description|}}}|{{!}}{{{description|}}}|}}{{#if: {{{size|{{#switch: {{{type|}}}| wall = 600px| window = 300px| desk = 265px| chest=220px| }}}}}|{{!}}{{{size|{{#switch: {{{type|}}}| wall = 600px| window = 300px| desk = 265px| chest=220px| }}}}}|}}]]|}}</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 8: Line 8:  
| style="border: solid 0px;" align="center"| [[File:Furniture_coin.png]]{{#ifexpr: {{{coin|0}}} = 0 |Free|{{{coin|0}}}}}
 
| style="border: solid 0px;" align="center"| [[File:Furniture_coin.png]]{{#ifexpr: {{{coin|0}}} = 0 |Free|{{{coin|0}}}}}
 
| style="border: solid 0px; min-width: 50px;" align="center"| {{#ifexpr: {{{fairy|0}}} > 0 |[[File:Furniture_fairy.png]]{{{fairy|0}}}}}
 
| style="border: solid 0px; min-width: 50px;" align="center"| {{#ifexpr: {{{fairy|0}}} > 0 |[[File:Furniture_fairy.png]]{{{fairy|0}}}}}
| style="border: solid 2px #{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99 | d3d3d3}}; padding:10px;" width="80%"| <div style="max-height:200px;overflow:hidden;">{{#if:{{{releasenote|}}}|''{{{releasenote|}}}''<br/><br/>|}}{{#if:{{{feature|}}}|Special: {{{feature|}}}<br/><br/>|}}{{#if:{{{BGM|}}}|BGM: {{{BGM|}}}|}}</div>
+
| style="border: solid 2px #{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99 | d3d3d3}}; padding:10px;" width="80%"| <div style="max-height:200px;overflow:hidden;">{{#if:{{{releasenote|}}}|''{{{releasenote|Available from 3/14/2015}}}''<br/><br/>|}}{{#if:{{{feature|}}}|Special: {{{feature|}}}<br/><br/>|}}{{#if:{{{BGM|}}}|BGM: {{{BGM|}}}|}}</div>
 
|-
 
|-
| style="border: solid 0px;background-color:#{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99 | d3d3d3}};" colspan="3" |
+
| style="border: solid 0px;background-color:#{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99 | d3d3d3}};" colspan="3" |  
 +
{{#if:{{{note|}}}|{{!}}-
 +
{{!}} colspan="4"{{!}}
 +
{{{!}} class="wikitable mw-collapsible mw-collapsed" width="100%"
 +
! style="font-size:90%"{{!}} Notes
 +
{{!}}-
 +
{{!}}
 +
{{{note|}}}
 +
{{!}}}|}}
 
|}
 
|}
   
<noinclude>
 
<noinclude>
   Line 44: Line 51:  
| feature=Template Feature, this item has awesome special feature that will blow your mind, or not, it'll just change color according to the time of date.
 
| feature=Template Feature, this item has awesome special feature that will blow your mind, or not, it'll just change color according to the time of date.
 
| releasenote=Available since 1/1/2014. Reward for those who logged in during 1/1~1/3/2014
 
| releasenote=Available since 1/1/2014. Reward for those who logged in during 1/1~1/3/2014
 +
| note=*What else can I say?
 +
*This is awesome!
 
}}
 
}}
 
</pre>
 
</pre>
Line 59: Line 68:  
| feature=Template Feature, this item has awesome special feature that will blow your mind, or not, it'll just change color according to the time of date.
 
| feature=Template Feature, this item has awesome special feature that will blow your mind, or not, it'll just change color according to the time of date.
 
| releasenote=Available since 1/1/2014. Reward for those who logged in during 1/1~1/3/2014
 
| releasenote=Available since 1/1/2014. Reward for those who logged in during 1/1~1/3/2014
 +
| note=*What else can I say?
 +
*This is awesome!
 
}}
 
}}
   Line 65: Line 76:  
{{FurnitureInfo
 
{{FurnitureInfo
 
| name=Final boss
 
| name=Final boss
| type=chest
+
| japanesename=朝雲
| japanesename=麻雲
   
| image=NPC_FinalBoss.png
 
| image=NPC_FinalBoss.png
 
| coin=200000
 
| coin=200000
Line 75: Line 85:  
{{FurnitureInfo
 
{{FurnitureInfo
 
| name=Final boss
 
| name=Final boss
| type=chest
+
| japanesename=朝雲
| japanesename=麻雲
   
| image=NPC_FinalBoss.png
 
| image=NPC_FinalBoss.png
 
| coin=200000
 
| coin=200000
Line 82: Line 91:  
}}
 
}}
   −
'''Slideshow view (Experimental)'''
+
'''Slideshow (Experimental as of 12/26/2014)'''
 +
 
 +
Slideshow is available for furniture containing multiple images.
   −
Slideshow view is available for items containing multiple images.
   
There are a few limitations of this mode:
 
There are a few limitations of this mode:
 
# Maximum height is constrained to 200 pixel
 
# Maximum height is constrained to 200 pixel
Line 90: Line 100:  
# The zoom is faulty on furniture types other than "floor" or "object"
 
# The zoom is faulty on furniture types other than "floor" or "object"
 
# "description" and "image" fields are disabled
 
# "description" and "image" fields are disabled
 +
 +
If possible, try to use the default templates above instead of the slideshow.
 +
 
<pre>
 
<pre>
 
{{FurnitureInfo
 
{{FurnitureInfo
 
| name=Snowfield
 
| name=Snowfield
 
| type=floor
 
| type=floor
| japanesename=麻雲
+
| japanesename=雪原
| slideshow=Floor_023_01.png
+
| slideshow=<gallery type="slideshow" widths="267px" crop="true" position="center" hideaddbutton="true">Floor_023_01.png
 
Floor_023_02.png
 
Floor_023_02.png
 
Floor_023_03.png
 
Floor_023_03.png
 
Floor_023_04.png
 
Floor_023_04.png
 +
Furniture-204.jpg</gallery>
 
| coin=2000
 
| coin=2000
 
| fairy=1
 
| fairy=1
 
}}
 
}}
 
</pre>
 
</pre>
 +
    
{{FurnitureInfo
 
{{FurnitureInfo
Line 108: Line 123:  
| type=floor
 
| type=floor
 
| japanesename=雪原
 
| japanesename=雪原
| slideshow=Floor_023_01.png
+
| slideshow=<gallery type="slideshow" widths="267px" crop="true" position="center" hideaddbutton="true">Floor_023_01.png
 
Floor_023_02.png
 
Floor_023_02.png
 
Floor_023_03.png
 
Floor_023_03.png
 
Floor_023_04.png
 
Floor_023_04.png
 +
Furniture-204.jpg
 +
</gallery>
 
| 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"| Wall
 +
|rowspan="5" style="background:gray;"|
 +
|
 +
|align="center"| 600px
 +
|-
 +
|align="center"| Floor
 +
|align="center"| right:100%;
 +
|
 +
|-
 +
|align="center"| Desk
 +
|
 +
|align="center"|265px
 +
|-
 +
|align="center"| Window
 +
|
 +
|align="center"| 300px
 +
|-
 +
|align="center"| Chest
 +
|align="center"| left:10%; bottom:80px;
 +
|align="center"| 220px
 +
|}
 +
 +
<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
 +
}}
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>
5,421

edits

Navigation menu