• 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"

From Kancolle Wiki
Jump to navigation Jump to search
>Fujihita
(Remove automatic header parser altogether since it's a known limitation. Headers are to be included manually in included pages. For more information: http://www.mediawiki.org/wiki/Help_talk:Templates#Included_Titles_Cannot_Be_Edited_by_Subsection)
>Fujihita
(Add color code)
Line 2: Line 2:
 
{| style="border: 1px solid darkgray" cellpadding="6px" width="100%"
 
{| style="border: 1px solid darkgray" cellpadding="6px" width="100%"
 
|-
 
|-
| style="min-width:250px; border: solid 3px lightgray;" rowspan="3"| {{#if:{{{image|}}}|[[{{{image|}}}{{!}}center{{!}}250x250px{{#if:{{{description|}}}|{{!}}{{{description|}}}| }}]]| }}
+
| style="min-width:250px; border: solid 3px #{{#switch: {{{type|}}}| wallpaper = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | decoration = 66cc99 | furniture = cccc99| d3d3d3}};" rowspan="3"| {{#if:{{{image|}}}|[[{{{image|}}}{{!}}center{{!}}250x250px{{#if:{{{description|}}}|{{!}}{{{description|}}}| }}]]| }}
| style="border: solid 0px;background-color:lightgray;" width="100%" align="center" colspan="3"| '''{{{name|Name?}}}'''  
+
| style="border: solid 0px;background-color:#{{#switch: {{{type|}}}| wallpaper = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | decoration = 66cc99 | furniture = cccc99 | d3d3d3}};" width="100%" align="center" colspan="3"| '''{{{name|Name?}}}'''  
 
{{{japanesename|}}}
 
{{{japanesename|}}}
 
|-
 
|-
Line 12: Line 12:
 
| 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/>| }}
 
|-
 
|-
| style="border: solid 0px;background-color:lightgray;" colspan="3" | {{{releasenote|}}}
+
| style="border: solid 0px;background-color:#{{#switch: {{{type|}}}| wallpaper = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | decoration = 66cc99 | furniture = cccc99 | d3d3d3}};" colspan="3" | {{{releasenote|}}}
 
|}
 
|}
  
Line 18: Line 18:
  
 
'''Full sample, all fields are filled.'''
 
'''Full sample, all fields are filled.'''
 +
 +
type -> color
 +
*wallpaper = #cc9966
 +
*floor = #cc9999
 +
*desk = #9999cc
 +
*window = #99cccc
 +
*decoration = #66cc99
 +
*furniture = #cccc99
 +
*default = lightgray
 +
 +
 
<pre>
 
<pre>
 
{{FurnitureInfo
 
{{FurnitureInfo
 
| name=Thanks to 2,000,000" scroll
 
| name=Thanks to 2,000,000" scroll
 
| japanesename=「200万の感謝」掛け軸
 
| japanesename=「200万の感謝」掛け軸
 +
| type=decoration
 
| 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 51:
 
| name=Thanks to 2,000,000" scroll
 
| name=Thanks to 2,000,000" scroll
 
| japanesename=「200万の感謝」掛け軸
 
| japanesename=「200万の感謝」掛け軸
 +
| type=decoration
 
| 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 56: Line 69:
 
| name=Final boss
 
| name=Final boss
 
| japanesename=麻雲  
 
| japanesename=麻雲  
 +
| type=furniture
 
| image=File:NPC_FinalBoss.png
 
| image=File:NPC_FinalBoss.png
 
| coin=200000
 
| coin=200000
Line 66: Line 80:
 
| name=Final boss
 
| name=Final boss
 
| japanesename=麻雲  
 
| japanesename=麻雲  
 +
| type=furniture
 
| image=File:NPC_FinalBoss.png
 
| image=File:NPC_FinalBoss.png
 
| coin=200000
 
| coin=200000

Revision as of 16:10, 2 December 2014

Name?
Furniture coin.png

No data

Item Icon Furniture Fairy.png

No data


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
}}


Hover over this for item description, Japanese description if possible
Thanks to 2,000,000" scroll

「200万の感謝」掛け軸

Furniture coin.png

15000

Item Icon Furniture Fairy.png

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
}}


NPC Fairy Tutorial A 1.png
Final boss

麻雲

Furniture coin.png

200000

Item Icon Furniture Fairy.png

999