Difference between revisions of "Template:Kirby Infobox"
(Added missing rows) |
|||
Line 1: | Line 1: | ||
− | <noinclude>{{Documentation | + | <noinclude>{{Documentation|content= |
− | |content= | ||
== About the template == | == About the template == | ||
This template is the basic template for information related to the [[Kirby series]] and other Kirby related articles. | This template is the basic template for information related to the [[Kirby series]] and other Kirby related articles. | ||
Line 74: | Line 73: | ||
</pre> | </pre> | ||
}} | }} | ||
− | </noinclude> | + | </noinclude><includeonly> |
− | <includeonly> | ||
{|style="border-top:solid 2px {{{border-color|#f25c86}}}; border-left:solid 2px {{{border-color|#f25c86}}}; border-right:solid 1px {{{border-color|#f25c86}}}; border-bottom:solid 1px {{{border-color|#f25c86}}}; border-radius:5px; border-spacing:0; width:300px; margin:0 0 1em 1em; padding:0; clear: right; float: right;" | {|style="border-top:solid 2px {{{border-color|#f25c86}}}; border-left:solid 2px {{{border-color|#f25c86}}}; border-right:solid 1px {{{border-color|#f25c86}}}; border-bottom:solid 1px {{{border-color|#f25c86}}}; border-radius:5px; border-spacing:0; width:300px; margin:0 0 1em 1em; padding:0; clear: right; float: right;" | ||
{{#if:{{{title|}}}|{{!}}colspan=2 style="background:{{{title-color|}}}; border-right:solid 1px {{{border-color|#f25c86}}}; border-bottom:solid 1px {{{border-color|#f25c86}}}; text-align:center; font-weight:bold; color:{{{title-font-color|black}}};"{{!}}{{{title}}}|}} | {{#if:{{{title|}}}|{{!}}colspan=2 style="background:{{{title-color|}}}; border-right:solid 1px {{{border-color|#f25c86}}}; border-bottom:solid 1px {{{border-color|#f25c86}}}; text-align:center; font-weight:bold; color:{{{title-font-color|black}}};"{{!}}{{{title}}}|}} |
Latest revision as of 16:43, 27 May 2023
Template Documentation [Edit]
This is an in-line documentation.
About the template
This template is the basic template for information related to the Kirby series and other Kirby related articles.
Completed templates
Usage
{{Kirby Infobox |title = Title header |title-color = The color of the title header (default is #FFC0C8) |column-color = The color of the left columns. |border-color = The color of the template's border (default is #f25c86) |title-font-color = The color of the text in the title header (default is black) |column-font-color = The color of the text in the left columns (default is black) |image = The image file |imgsize = The width/height of the image (must be no bigger than 300px. Example: 100px) |caption = A short description of the image. |row1 = The title of the first column |text1 = The text that corresponds to the content of the first column |row2 = The title of the second column |text2 = The text that corresponds to the content of the second column }}
Example and preview
This is a title | |
Caption | |
Row 1 a | A |
Row 2 b | B |
Row 3 c | C |
Row 4 d | D |
Row 5 e | E |
Row 6 f | F |
{{Kirby Infobox |title = This is a title |image = 暗黑魅塔.png |caption = Caption |title-color = #d0d0ff |border-color = #8080ff |title-font-color = white |column-font-color = #8080ff |row-width = 100px |row1 = Row 1 a |text1 = A |row2 = Row 2 b |text2 = B |row3 = Row 3 c |text3 = C |row4 = Row 4 d |text4 = D |row5 = Row 5 e |text5 = E |row6 = Row 6 f |text6 = F }}