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

From Kancolle Wiki
Jump to navigation Jump to search
(Finalization of FigureInfo Template for Figurine page. Documentation added.)
Line 1: Line 1:
 
{| style="border: 1px solid darkgray; border-top-left-radius:20px; border-bottom-left-radius:20px; border-top-right-radius:20px;border-bottom-right-radius:20px" cellpadding="5px" width="100%"
 
{| style="border: 1px solid darkgray; border-top-left-radius:20px; border-bottom-left-radius:20px; border-top-right-radius:20px;border-bottom-right-radius:20px" cellpadding="5px" width="100%"
 
|-
 
|-
|style="width:300px; border-top-left-radius:20px; border-bottom-left-radius:20px; border: solid 2px #{{#switch: {{{type|}}}|figure = cc9999 | nendo = 66cc99 | figma = lightblue|other=d3d3d3| d3d3d3}}" rowspan="3"|{{#if:{{{slideshow|}}}|<div style="border: solid 1px; overflow:hidden;width:365px;border-top-left-radius:15px; border-bottom-left-radius:15px;max-height:250px"><div style="position:relative;bottom:5px;right:5px;">{{{slideshow|</div></div>}}}}}
+
|style="width:300px; border-top-left-radius:20px; border-bottom-left-radius:20px; border: solid 2px #{{#switch: {{{type|}}}|figure = cc9999 | nendo = 66cc99 | figma = 0266c8|other=d3d3d3| d3d3d3}}" rowspan="3"|{{#if:{{{slideshow|}}}|<div style="border: solid 1px; overflow:hidden;width:365px;border-top-left-radius:15px; border-bottom-left-radius:15px;max-height:250px"><div style="position:relative;bottom:5px;right:5px;">{{{slideshow|</div></div>}}}}}
|style="border: solid 0px;background-color:#{{#switch: {{{type|}}}|figure = cc9999 | nendo = 66cc99 | figma = lightblue|other=d3d3d3| d3d3d3}}; max-height:20px; border-top-right-radius:17px" width="100%" align="center" colspan="3"| '''{{{name|Name?}}}'''<br />''{{{jpname|Japanese Name?}}}''
+
|style="border: solid 0px;background-color:#{{#switch: {{{type|}}}|figure = cc9999 | nendo = 66cc99 | figma = 0266c8|other=d3d3d3| d3d3d3}}; max-height:20px; border-top-right-radius:17px" width="100%" align="center" colspan="3"| '''{{{name|Name?}}}'''<br />''{{{jpname|Japanese Name?}}}''
 
|-
 
|-
|style="border: solid 2px #{{#switch: {{{type|}}}|figure = cc9999 | nendo = 66cc99 | figma = lightblue|other=d3d3d3| d3d3d3}}; padding:10px; position:relative; left:0.5px; border-bottom-right-radius:19px" width="100%"|<div style="max-height:200px;overflow:hidden;">{{{info|Information Goes Here}}}</div>
+
|style="border: solid 2px #{{#switch: {{{type|}}}|figure = cc9999 | nendo = 66cc99 | figma = 0266c8|other=d3d3d3| d3d3d3}}; padding:10px; position:relative; left:0.5px; border-bottom-right-radius:19px" width="100%"|<div style="max-height:200px;overflow:hidden;">{{{info|Information Goes Here}}}</div>
 
'''Scale:''' {{{scale|Scale}}}<br />
 
'''Scale:''' {{{scale|Scale}}}<br />
 
'''Price (As written on manufacturer's site): '''{{{price|¥0}}}<br />
 
'''Price (As written on manufacturer's site): '''{{{price|¥0}}}<br />
Line 21: Line 21:
 
nendo = #66cc99
 
nendo = #66cc99
  
figma = lightblue
+
figma = #0266c8
  
 
other = #d3d3d3
 
other = #d3d3d3

Revision as of 04:26, 10 January 2015

Name?
Japanese Name?
Information Goes Here

Scale: Scale
Price (As written on manufacturer's site): ¥0
Release Date: 0000/00
Specifications: Specs
Sculptor: Sculptor


Preferred if all fields are filled. Slideshow is absolutely necessary!

There are four color codes for the template, which is determined by the type variable:

figure = #cc9999

nendo = #66cc99

figma = #0266c8

other = #d3d3d3

Multiple variables can be used with this template. As stated before, slideshow is a must because the image code broke... So somehow slideshows are possible but individual images aren't.

Variables possible are:

name - The name inside the header window. 
jpname - Secondary italic name, for alternative Japanese names.
type - Type of the figurine. There are 4 kinds, as written above.
scale - The scale ratio.
price - Price.
date - Date released.
specs - The specifications.
sculpt - Sculptor of the figurine.
info - Detailed information on the figurine.
slideshow - Self Explanatory. ABSOLUTELY MUST BE INCLUDED IN CODE


Use this code for the slideshow:

<gallery type="slideshow" widths="360px" position="center" hideaddbutton="false">

</gallery>


Where the names of the desired images for the slideshow can be entered into the space before </gallery>.

So far there have been no limitations discovered in the code but if any are found please send a message to Gensui Hime.

Below is a sample:

{{FigureInfo
| name = Final Boss
| jpname = さいごのぼす
| type = nendo
| scale = 1/1
| price = priceless
| date = beginning of time
| specs = Power to end worlds.
| sculpt = DMM
| info = The final boss of DMM. Known to appear frequently on error pages.
| slideshow=<gallery type="slideshow" widths="360px" position="center" hideaddbutton="true">NPC_FinalBoss.png
</gallery>
}}


Final Boss
さいごのぼす
The final boss of DMM. Known to appear frequently on error pages.

Scale: 1/1
Price (As written on manufacturer's site): priceless
Release Date: beginning of time
Specifications: Power to end worlds.
Sculptor: DMM



Example 2:

{{FigureInfo
| name = Multiple Slideshow Images
| jpname = ???
| type = figure
| scale = 1/8
| price = Unknown
| date = 01/2015
| specs = Spec test
| sculpt = ?
| info = Mmm images.
| slideshow = <gallery type="slideshow" widths="360px" position="center" hideaddbutton="false">KongouDmg_Figure_MAX.jpg
</gallery>
}}


Multiple Slideshow Images
???
Mmm images.

Scale: 1/8
Price (As written on manufacturer's site): Unknown
Release Date: 01/2015
Specifications: Spec test
Sculptor: ?