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

From Kancolle Wiki
Jump to navigation Jump to search
m
(styles to css part1, var utilisation & background&border colours css)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#vardefine:furnType|{{#switch:{{{type|}}}|wall=1|floor=2|desk=3|window=4|object=5|chest=6|7}}}}
 
{|style="border:1px solid darkgray; border-top-left-radius:20px; border-bottom-left-radius:20px; max-width:1200px; width:100%" cellpadding="5px"
 
{|style="border:1px solid darkgray; border-top-left-radius:20px; border-bottom-left-radius:20px; max-width:1200px; 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}}" align="center" rowspan=4|
+
|- style
 +
|style="width:250px; border-top-left-radius:20px; border-bottom-left-radius:20px; border: solid 3px" align="center" class="f00{{#var:furnType}}" rowspan=4|
 
{{#if: {{{picture|}}} {{{animated|}}} {{{reward|}}} {{{card|}}} {{{image1|}}}|{{#tag:tabber|Full=[[File:Furniture Full {{{ID|}}}.png|250px]]
 
{{#if: {{{picture|}}} {{{animated|}}} {{{reward|}}} {{{card|}}} {{{image1|}}}|{{#tag:tabber|Full=[[File:Furniture Full {{{ID|}}}.png|250px]]
 
{{!}}-{{!}}
 
{{!}}-{{!}}
Line 24: Line 25:
 
{{#if: {{{image6|}}}|6=[[File:{{{image6|}}}|250px]]|}}
 
{{#if: {{{image6|}}}|6=[[File:{{{image6|}}}|250px]]|}}
 
}}|[[File:Furniture Full {{{ID|}}}.png|250px]]}}
 
}}|[[File:Furniture Full {{{ID|}}}.png|250px]]}}
|style="color: black; border: solid 0px; background-color:#{{#switch: {{{type|}}}|wall=cc9966|floor= cc9999|desk= 9999cc|window= 99cccc|object= 66cc99|chest= cccc99|d3d3d3}}" align="center" colspan=2|ID: {{{ID|}}}
+
|style="color: black; border: solid 0px;" align="center" class="f0{{#var:furnType}}" colspan=2|ID: {{{ID|}}}
  
|style="color: black; border: solid 0px; background-color:#{{#switch: {{{type|}}}|wall=cc9966|floor= cc9999|desk= 9999cc|window= 99cccc|object= 66cc99|chest= cccc99|d3d3d3}}" align="center" colspan=2 rowspan=2|{{{nameJP|?}}}<br>''{{{nameEN|?}}}''
+
|style="color: black; border: solid 0px;" align="center" class="f0{{#var:furnType}}" colspan=2 rowspan=2|{{{nameJP|?}}}<br>''{{{nameEN|?}}}''
  
|style="width:15%; color:black; border: solid 0px; background-color:#{{#switch: {{{type|}}}|wall=cc9966|floor= cc9999|desk= 9999cc|window= 99cccc|object= 66cc99|chest= cccc99|d3d3d3}}" align="center" colspan=3 rowspan=2|Rarity:<br>{{#switch: {{{rarity|}}}|1=★☆☆☆☆☆☆|2= ★★☆☆☆☆☆|3= ★★★☆☆☆☆|4= ★★★★☆☆☆|5= ★★★★★☆☆|6= ★★★★★★☆|7= ★★★★★★★| ☆☆☆☆☆☆☆}}
+
|style="width:15%; color:black; border: solid 0px;" align="center" class="f0{{#var:furnType}}" colspan=3 rowspan=2|Rarity:<br>{{#switch: {{{rarity|}}}|1=★☆☆☆☆☆☆|2= ★★☆☆☆☆☆|3= ★★★☆☆☆☆|4= ★★★★☆☆☆|5= ★★★★★☆☆|6= ★★★★★★☆|7= ★★★★★★★| ☆☆☆☆☆☆☆}}
 
|-
 
|-
|style="color: black; border: solid 0px; background-color:#{{#switch: {{{type|}}}|wall=cc9966|floor= cc9999|desk= 9999cc|window= 99cccc|object= 66cc99|chest= cccc99|d3d3d3}}" align="center" colspan=2|Price:
+
|style="color: black; border: solid 0px;" class="f0{{#var:furnType}}" align="center" colspan=2|Price:
 
|-
 
|-
 
|width=71px align="center"| {{#if:{{{coin|}}}|[[File:Item Full Furniture Coin.png|50px|link=Furniture Coin]]<br>{{#if:{{{discount|}}}|''Full Price:''<br>|}}{{#ifexpr:{{{coin|}}}=0|Free|{{{coin|}}} }}|N/A}}
 
|width=71px align="center"| {{#if:{{{coin|}}}|[[File:Item Full Furniture Coin.png|50px|link=Furniture Coin]]<br>{{#if:{{{discount|}}}|''Full Price:''<br>|}}{{#ifexpr:{{{coin|}}}=0|Free|{{{coin|}}} }}|N/A}}
 
|width=71px align="center"| {{#if:{{{fairy|}}}|[[File:Item Full Furniture Fairy.png|50px|link=Furniture Fairy]]<br>1|{{#if:{{{discount|}}}|[[File:Item Full Furniture Coin.png|50px|link=Furniture Coin]]<br>''Discount:<br>{{{discount|}}}'' +1{{Item/Icon|Furniture Fairy|size=20px}}| }}}}
 
|width=71px align="center"| {{#if:{{{fairy|}}}|[[File:Item Full Furniture Fairy.png|50px|link=Furniture Fairy]]<br>1|{{#if:{{{discount|}}}|[[File:Item Full Furniture Coin.png|50px|link=Furniture Coin]]<br>''Discount:<br>{{{discount|}}}'' +1{{Item/Icon|Furniture Fairy|size=20px}}| }}}}
|style="border: solid 2px #{{#switch: {{{type|}}}| wall = cc9966| floor = cc9999 | desk = 9999cc | window = 99cccc | object = 66cc99 | chest = cccc99 | d3d3d3}}; padding:10px" colspan=3| {{{descriptionJP|?}}}<br>''{{{descriptionEN|?}}}''
+
|style="border: solid 2px; padding:10px" class="f00{{#var:furnType}}" colspan=3| {{{descriptionJP|?}}}<br>''{{{descriptionEN|?}}}''
 
|-
 
|-
|style="border:solid 2px #{{#switch: {{{type|}}}|wall= cc9966|floor= cc9999 |desk= 9999cc |window= 99cccc |object= 66cc99 |chest= cccc99 | d3d3d3}}; padding:10px" colspan=5|{{#if:{{{BGM|}}}|'''Special BGM:''' {{{BGM}}} [[File:NPC Fairy Furniture BGM.png|40px|link=Furniture#Music List|Special BGM]]<br>|}}'''Released the:''' {{#if:{{{release|}}}|{{GameUpdates|{{{release|}}}}}|''?''}}<br>'''Availability:''' {{{availability|?}}}{{#if:{{{feature|}}}|<br>'''Special Feature:''' {{{feature|}}}}}{{#if:{{{note|}}}|<br>'''Notes:''' {{{note|}}}}}
+
|style="border:solid 2px; padding:10px" class="f00{{#var:furnType}}" colspan=5|{{#if:{{{BGM|}}}|'''Special BGM:''' {{{BGM}}} [[File:NPC Fairy Furniture BGM.png|40px|link=Furniture#Music List|Special BGM]]<br>|}}'''Released the:''' {{#if:{{{release|}}}|{{GameUpdates|{{{release|}}}}}|''?''}}<br>'''Availability:''' {{{availability|?}}}{{#if:{{{feature|}}}|<br>'''Special Feature:''' {{{feature|}}}}}{{#if:{{{note|}}}|<br>'''Notes:''' {{{note|}}}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
  

Revision as of 13:15, 9 October 2024


Evolution of the Template:FurnitureInfo

{{FurnitureKai
| ID= 
| nameJP= 
| nameEN= 
| type= 
| picture= 
| animated= 
| reward= 
| card= 
| image1= 
| image2= 
| image3= 
| image4= 
| image5= 
| image6= 
| coin= 
| discount= 
| fairy= true
| rarity= 
| descriptionJP= 
| descriptionEN= 
| BGM= 
| feature= 
| release= 
| availability= 
| note= 
}}

{{FurnitureKai
| ID= the furniture ID
| nameJP= Japanese name
| nameEN= English name
| type= the type, being wall/floor/desk/window/object/chest (grey if empty)
| picture= true (optional, if there is a clickable picture)
| animated= true (optional, if there is an animated gif)
| reward= true (optional, if there is a reward asset)
| card= true (optional, if there is a card asset)

| image1= the 1st additional image (optional)
| image2= the 2nd additional image (optional)
| image3= the 3rd additional image (optional)
| image4= the 4th additional image (optional)
| image5= the 5th additional image (optional)
| image6= the 6th additional image (optional)

| coin= the price (optional, 0=Free)
| discount= the discounted price (optional, incompatible with "fairy")
| fairy= "true" if needed (optional, incompatible with "discount")
| rarity= from 1 to 7 (optional)
| descriptionJP= Japanese description
| descriptionEN= English description
| BGM= The special BGM added (optional)
| feature= The special feature (optional)
| release= The release date in YYYY/MM/DD format
| availability= The availability (shop/quest/reward/login/...)
| note= any additional note (optional)
}}

Examples


Furniture Full 286.png

ID: 286 Japanese name
English name
Rarity:
★☆☆☆☆☆☆
Price:
Item Full Furniture Coin.png
Free
Japanese description
English description
Released the: 2013/04/23
Availability: Furniture Shop


ID: 286 「200万の感謝」掛け軸
"2 Millon Thanks" Scroll
Rarity:
★★★★★★★
Price:
Item Full Furniture Coin.png
3000
Item Full Furniture Fairy.png
1
Japanese description
English description
Special BGM: Cool BGM uwu Special BGM
Released the: 2013/04/23
Availability: Reward for those who logged in during 01/01~01/03/2014
Special Feature: This item has awesome special features that will blow your mind.
Notes: Note test


ID: 286 「200万の感謝」掛け軸
"2 Millon Thanks" Scroll
Rarity:
★★★★★★★
Price:
Item Full Furniture Coin.png
Full Price:
150000
Item Full Furniture Coin.png
Discount:
5000
+1Item Icon Furniture Fairy.png
owo
discount
Released the: 2013/04/23
Availability: Reward for those who logged in during 01/01~01/03/2014
Special Feature: it costs less


250px

ID: ?
?
Rarity:
☆☆☆☆☆☆☆
Price:
N/A ?
?
Released the: ?
Availability: ?