• 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
Fix slideshow mode's syntax. Template does not work within gallery tags
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;" cellpadding="5px" width="100%"
 
|-
 
|-
| 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;">{{#ifeq:{{{type|}}}|floor|<div style="position:relative;right:100%;">|}}{{#if:{{{image|}}}|[[File:{{{image|}}}{{!}}center{{#if:{{{description|}}}|{{!}}{{{description|}}}|}}]]|}}{{#ifeq:{{{type|}}}|floor|</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?}}}'''  
Line 95: Line 95:  
| 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</gallery>
 
| coin=2000
 
| coin=2000
 
| fairy=1
 
| fairy=1
Line 108: Line 108:  
| 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</gallery>
 
| coin=2000
 
| coin=2000
 
| fairy=1
 
| fairy=1
 
}}
 
}}
 
</noinclude>
 
</noinclude>
Anonymous user

Navigation menu