- 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:FurnitureInfo"
Jump to navigation
Jump to search
>Fujihita m (Add height limiter) |
>Fujihita (A slightly new design) |
||
Line 2: | Line 2: | ||
{| style="border: 1px solid darkgray" cellpadding="5px" width="100%" | {| style="border: 1px solid darkgray" cellpadding="5px" width="100%" | ||
|- | |- | ||
− | | style="width:250px; border: solid 3px #{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99| d3d3d3}};" rowspan="3"| <div style="overflow:hidden;width:250px;max-height: | + | | style="width:250px; border: solid 3px #{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99| d3d3d3}}; background:#" rowspan="3"| <div style="border-radius:20px;overflow:hidden;width:250px;max-height:250px;">{{#ifeq:{{{type|}}}|floor|<div style="position:relative;right:100%;">|}}{{#if:{{{image|}}}|[[{{{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?}}}''' | ||
{{{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 | + | | 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/>|}}{{#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" | |
|} | |} | ||
Line 28: | Line 28: | ||
'''Note:''' | '''Note:''' | ||
"type=floor" has different preview alignment from other types, the image is shifted relatively to the left half the width of the image. This is done to center viewing window on the image. | "type=floor" has different preview alignment from other types, the image is shifted relatively to the left half the width of the image. This is done to center viewing window on the image. | ||
+ | |||
+ | '''Note 2:''' | ||
+ | The text box containing release note, BGM and feature has a limit height of 200px before overflown texts become hidden. | ||
<pre> | <pre> | ||
{{FurnitureInfo | {{FurnitureInfo | ||
| name=Thanks to 2,000,000" scroll | | name=Thanks to 2,000,000" scroll | ||
+ | | type=object | ||
| japanesename=「200万の感謝」掛け軸 | | japanesename=「200万の感謝」掛け軸 | ||
− | |||
| image=File:Furniture-204.jpg | | image=File:Furniture-204.jpg | ||
| description=Hover over this for item description, Japanese description if possible | | description=Hover over this for item description, Japanese description if possible | ||
Line 39: | Line 42: | ||
| fairy=1 | | fairy=1 | ||
| BGM=Template BGM | | BGM=Template BGM | ||
− | | | + | | 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 | | releasenote=Available since 1/1/2014 | ||
Reward for those who logged in during 1/1~1/3/2014 | Reward for those who logged in during 1/1~1/3/2014 | ||
Line 50: | Line 51: | ||
{{FurnitureInfo | {{FurnitureInfo | ||
| name=Thanks to 2,000,000" scroll | | name=Thanks to 2,000,000" scroll | ||
+ | | type=object | ||
| japanesename=「200万の感謝」掛け軸 | | japanesename=「200万の感謝」掛け軸 | ||
− | |||
| image=File:Furniture-204.jpg | | image=File:Furniture-204.jpg | ||
| description=Hover over this for item description, Japanese description if possible | | description=Hover over this for item description, Japanese description if possible | ||
Line 57: | Line 58: | ||
| fairy=1 | | fairy=1 | ||
| BGM=Template BGM | | BGM=Template BGM | ||
− | | | + | | 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 | | releasenote=Available since 1/1/2014 | ||
Reward for those who logged in during 1/1~1/3/2014 | Reward for those who logged in during 1/1~1/3/2014 | ||
Line 68: | Line 67: | ||
{{FurnitureInfo | {{FurnitureInfo | ||
| name=Final boss | | name=Final boss | ||
+ | | type=chest | ||
| japanesename=麻雲 | | japanesename=麻雲 | ||
− | |||
| image=File:NPC_FinalBoss.png | | image=File:NPC_FinalBoss.png | ||
| coin=200000 | | coin=200000 | ||
Line 78: | Line 77: | ||
{{FurnitureInfo | {{FurnitureInfo | ||
| name=Final boss | | name=Final boss | ||
+ | | type=chest | ||
| japanesename=麻雲 | | japanesename=麻雲 | ||
− | |||
| image=File:NPC_FinalBoss.png | | image=File:NPC_FinalBoss.png | ||
| coin=200000 | | coin=200000 |
Revision as of 15:32, 11 December 2014
Name? | |||
Free | |||
Full sample, all fields are filled.
type -> color
- wall = #cc9966
- floor = #cc9999
- desk = #9999cc
- window = #99cccc
- object = #66cc99
- chest = #cccc99
- default = lightgray
Note: "type=floor" has different preview alignment from other types, the image is shifted relatively to the left half the width of the image. This is done to center viewing window on the image.
Note 2: The text box containing release note, BGM and feature has a limit height of 200px before overflown texts become hidden.
{{FurnitureInfo | name=Thanks to 2,000,000" scroll | type=object | japanesename=「200万の感謝」掛け軸 | image=File:Furniture-204.jpg | description=Hover over this for item description, Japanese description if possible | coin=15000 | fairy=1 | BGM=Template BGM | 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 }}
Thanks to 2,000,000" scroll
「200万の感謝」掛け軸 | |||
15000 | 1 | ||
Simplified sample, stripped down to essential fields only
{{FurnitureInfo | name=Final boss | type=chest | japanesename=麻雲 | image=File:NPC_FinalBoss.png | coin=200000 }}
Final boss
麻雲 | |||
200000 | 999 | ||