- 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 (Improve fairy display: null string for empty field and 0) |
>Fujihita m (Fix a slight bug with coin icon's alignment, coin=0 is now parsed as Free) |
||
Line 6: | Line 6: | ||
{{{japanesename|}}} | {{{japanesename|}}} | ||
|- | |- | ||
− | | style="border: solid 0px;" align="center"| [[File:Furniture_coin.png]] | + | | style="border: solid 0px;" align="center"| [[File:Furniture_coin.png]]{{#ifexpr: {{{coin|0}}} = 0 | |
− | {{{coin| | + | Free| |
− | | style="border: solid 0px;" align="center"| {{#ifexpr: {{{fairy|0}}} > 0 |[[File:Furniture_fairy.png]] | + | {{{coin|0}}}}} |
+ | | style="border: solid 0px; min-width: 50px;" align="center"| {{#ifexpr: {{{fairy|0}}} > 0 |[[File:Furniture_fairy.png]] | ||
{{{fairy|0}}} }} | {{{fairy|0}}} }} | ||
| style="border: solid 0px;" width="80%"| {{#if:{{{BGM|}}}|★{{{BGM|}}}<br/>| }} {{#if:{{{feature1|}}}|★{{{feature1|}}}<br/>| }} {{#if:{{{feature2|}}}|★{{{feature2|}}}<br/>| }} {{#if:{{{feature3|}}}|★{{{feature3|}}}<br/>| }} | | style="border: solid 0px;" width="80%"| {{#if:{{{BGM|}}}|★{{{BGM|}}}<br/>| }} {{#if:{{{feature1|}}}|★{{{feature1|}}}<br/>| }} {{#if:{{{feature2|}}}|★{{{feature2|}}}<br/>| }} {{#if:{{{feature3|}}}|★{{{feature3|}}}<br/>| }} |
Revision as of 09:17, 6 December 2014
Name? | |||
Free | |||
Full sample, all fields are filled.
type -> color
- wallpaper = #cc9966
- floor = #cc9999
- desk = #9999cc
- window = #99cccc
- decoration = #66cc99
- furniture = #cccc99
- default = lightgray
{{FurnitureInfo | name=Thanks to 2,000,000" scroll | japanesename=「200万の感謝」掛け軸 | type=decoration | image=File:Furniture-204.jpg | description=Hover over this for item description, Japanese description if possible | coin=15000 | fairy=1 | BGM=Template BGM | feature1=Template Feature 1 | feature2=Template Feature 2 | feature2=Template Feature 3 | 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 |
★Template BGM ★Template Feature 1 ★Template Feature 2 ★Template Feature 3 | |
Available since 1/1/2014
Reward for those who logged in during 1/1~1/3/2014 |
Simplified sample, stripped down to essential fields only
{{FurnitureInfo | name=Final boss | japanesename=麻雲 | type=furniture | image=File:NPC_FinalBoss.png | coin=200000 | fairy=999 }}
Final boss
麻雲 | |||
200000 |
999 |
||