• 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
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
|style="width:300px; border-top-left-radius:20px; border-bottom-left-radius:20px; border: solid 2px #{{#switch: {{{type|}}}| figure = cc74bd | nendo = 49ff45 | 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="width:300px; border-top-left-radius:20px; border-bottom-left-radius:20px; border: solid 2px #{{#switch: {{{type|}}}| figure = cc74bd | nendo = 49ff45 | 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 = cc74bd | nendo = 49ff45 | 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 0px;background-color:#{{#switch: {{{type|}}}|figure = cc74bd | bust = cc74bdv | nendo = 49ff45 | 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 = cc74bd | nendo = 49ff45 | figma = 0266c8|other=d3d3d3| d3d3d3}}; padding:10px; position:relative; left:0.5px; border-bottom-right-radius:19px" width="100%"|{{{info|Information Goes Here}}}
 
|style="border: solid 2px #{{#switch: {{{type|}}}|figure = cc74bd | nendo = 49ff45 | figma = 0266c8|other=d3d3d3| d3d3d3}}; padding:10px; position:relative; left:0.5px; border-bottom-right-radius:19px" width="100%"|{{{info|Information Goes Here}}}
 
<br />
 
<br />
 
'''Scale:''' {{{scale|Scale}}}<br />
 
'''Scale:''' {{{scale|Scale}}}<br />
'''Price (As written on manufacturer's site): '''{{{price|¥0}}}<br />
+
'''Price (MSRP): '''{{{price|¥0}}}<br />
 
'''Release Date: '''{{{date|0000/00}}}<br />
 
'''Release Date: '''{{{date|0000/00}}}<br />
 
'''Specifications: '''{{{specs|Specs}}}<br />
 
'''Specifications: '''{{{specs|Specs}}}<br />
Line 14: Line 14:
  
 
<noinclude>
 
<noinclude>
''' Preferred if all fields are filled. Slideshow is absolutely necessary!'''
+
{{documentation}}
 
 
NOTE: Cases where the info text would get cut off when the text is too long has been discovered. As of now I have no idea how to solve this. Leave a message to Gensui Hime if you find a way to resolve this. Also, dynamic slideshow height adjustment is also a desired feature, and if anyone can actually make it possible, that would be awesome.
 
 
 
There are four color codes for the template, which is determined by the type variable:
 
 
 
figure = #cc74bd
 
 
 
nendo = #49ff45
 
 
 
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:
 
 
 
<pre>
 
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
 
</pre>
 
 
 
 
 
Use this code for the slideshow:
 
 
 
<pre>
 
<gallery type="slideshow" widths="360px" position="center" hideaddbutton="false">
 
 
 
</gallery>
 
</pre>
 
 
 
 
 
 
 
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:
 
 
 
<pre>
 
{{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>
 
}}
 
</pre>
 
 
 
 
 
{{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="false">NPC_FinalBoss.png
 
</gallery>
 
}}
 
 
 
 
 
Example 2:
 
 
 
<pre>
 
{{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>
 
}}
 
</pre>
 
 
 
{{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>
 
}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16:02, 1 December 2016

Name?
Japanese Name?
Information Goes Here


Scale: Scale
Price (MSRP): ¥0
Release Date: 0000/00
Specifications: Specs
Sculptor: Sculptor


Template-info.png Template documentation [view] [edit] [history] [purge]

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

NOTE: Dynamic slideshow height adjustment is also a desired feature, and if anyone can actually make it possible, that would be awesome.

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

figure = #cc74bd

nendo = #49ff45

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. MSRP preempts the need to mention 'Before Tax'.
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 (MSRP): 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 (MSRP): Unknown
Release Date: 01/2015
Specifications: Spec test
Sculptor: ?