Difference between revisions of "Template:Kirby Infobox"
(Added missing rows) |
|||
Line 110: | Line 110: | ||
{{#if:{{{row10|}}}|{{!}}style="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}}}; background:{{{title-color|}}}; width:{{{row-width|auto}}}"{{!}}{{{row10}}} | {{#if:{{{row10|}}}|{{!}}style="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}}}; background:{{{title-color|}}}; width:{{{row-width|auto}}}"{{!}}{{{row10}}} | ||
{{!}}style="border-right:solid 1px {{{border|#f25c86}}}; border-bottom:solid 1px {{{border-color|#f25c86}}}; color:{{{column-font-color|black}}}; background:{{{column-color|}}};"{{!}}{{{text10}}}|}} | {{!}}style="border-right:solid 1px {{{border|#f25c86}}}; border-bottom:solid 1px {{{border-color|#f25c86}}}; color:{{{column-font-color|black}}}; background:{{{column-color|}}};"{{!}}{{{text10}}}|}} | ||
+ | |- | ||
+ | {{#if:{{{row11|}}}|{{!}}style="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}}}; background:{{{title-color|}}}; width:{{{row-width|auto}}}"{{!}}{{{row11}}} | ||
+ | {{!}}style="border-right:solid 1px {{{border|#f25c86}}}; border-bottom:solid 1px {{{border-color|#f25c86}}}; color:{{{column-font-color|black}}}; background:{{{column-color|}}};"{{!}}{{{text11}}}|}} | ||
+ | |- | ||
+ | {{#if:{{{row12|}}}|{{!}}style="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}}}; background:{{{title-color|}}}; width:{{{row-width|auto}}}"{{!}}{{{row12}}} | ||
+ | {{!}}style="border-right:solid 1px {{{border|#f25c86}}}; border-bottom:solid 1px {{{border-color|#f25c86}}}; color:{{{column-font-color|black}}}; background:{{{column-color|}}};"{{!}}{{{text12}}}|}} | ||
+ | |- | ||
+ | {{#if:{{{row13|}}}|{{!}}style="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}}}; background:{{{title-color|}}}; width:{{{row-width|auto}}}"{{!}}{{{row13}}} | ||
+ | {{!}}style="border-right:solid 1px {{{border|#f25c86}}}; border-bottom:solid 1px {{{border-color|#f25c86}}}; color:{{{column-font-color|black}}}; background:{{{column-color|}}};"{{!}}{{{text13}}}|}} | ||
+ | |- | ||
+ | {{#if:{{{row14|}}}|{{!}}style="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}}}; background:{{{title-color|}}}; width:{{{row-width|auto}}}"{{!}}{{{row14}}} | ||
+ | {{!}}style="border-right:solid 1px {{{border|#f25c86}}}; border-bottom:solid 1px {{{border-color|#f25c86}}}; color:{{{column-font-color|black}}}; background:{{{column-color|}}};"{{!}}{{{text14}}}|}} | ||
+ | |- | ||
+ | {{#if:{{{row15|}}}|{{!}}style="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}}}; background:{{{title-color|}}}; width:{{{row-width|auto}}}"{{!}}{{{row15}}} | ||
+ | {{!}}style="border-right:solid 1px {{{border|#f25c86}}}; border-bottom:solid 1px {{{border-color|#f25c86}}}; color:{{{column-font-color|black}}}; background:{{{column-color|}}};"{{!}}{{{text15}}}|}} | ||
|} | |} | ||
</includeonly> | </includeonly> |
Revision as of 16:11, 23 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 }}