Template:Infobox/line/doc
From Eureka Wiki
< Template:Infobox | line
Jump to navigation
Jump to search
This is a documentation subpage for Template:Infobox/line. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
Usage[edit source]
This template is used to built an infobox from bricks. The {{Infobox/line}} template is used to add content as table line without a border. It allows to let it appear in a whole column a field in normal, not bold characters.
Syntax[edit source]
{{Infobox/startbox}} {{Infobox/line|field value|position|background color|text color|colspan value|height value}} {{Infobox/endbox}}
Parameters[edit source]
Parameter | Mandatory | Default value | Explanation |
---|---|---|---|
{{{1|}}} | No | N/A | Used to indicate the field's value in the infobox line. Example: {{infobox/line|My text}}
|
{{{2|}}} | No | center | Used to indicate the text's position in the infobox line. To put the content on the left side, write left, and to put the text on the right side, write right. Example: {{infobox/line|My text|left}}
|
{{{3|}}} | No | F9F9F9 | Used to indicate the background color in the infobox line. Default background color is grey. Example: {{infobox/line|My text|left|FF0000}}
|
{{{4|}}} | No | 000000 | Used to indicate the text color in the infobox line. Default background color is black. Example: {{infobox/line|My text|left|FF0000|FFFFFF}}
|
{{{5|}}} | No | 2 | Used to indicate the colspan value in the infobox line. Example: {{infobox/line|My text|left|FF0000|FFFFFF|3}}
|
{{{6|}}} | No | N/A | Used to indicate the height value of the infobox line. Don't add px. Example: {{infobox/line|My text|left|FF0000|FFFFFF|3|100}} . This parameter should be used only for specific reasons.
|
Examples[edit source]
Basic example[edit source]
{{Infobox/startbox}} {{Infobox/line|My text}} {{Infobox/endbox}} |
|
Example inside a template[edit source]
{{Infobox/startbox}} {{Infobox/line | {{{commentary|}}}|left|FF0000 }} {{Infobox/endbox}}