- 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"
Gensui Hime (talk | contribs) (Added some notes) |
Gensui Hime (talk | contribs) |
||
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 = | + | |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 = | + | |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 2px #{{#switch: {{{type|}}}|figure = | + | |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 /> | ||
'''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 19: | Line 20: | ||
There are four color codes for the template, which is determined by the type variable: | There are four color codes for the template, which is determined by the type variable: | ||
− | figure = # | + | figure = #cc74bd |
− | nendo = # | + | nendo = #49ff45 |
figma = #0266c8 | figma = #0266c8 |
Revision as of 17:57, 10 January 2015
Name? Japanese Name? | |||
Information Goes Here
|
Preferred if all fields are filled. Slideshow is absolutely necessary!
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:
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.
|
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.
|