Database changes have finished applying - please report any issues you're (still) seeing to support@shoutwiki.com.
Template:Infobox/optional line
From Eureka Wiki
Jump to navigation
Jump to search
Usage[edit source]
This template is used to built an infobox from bricks. The {{Infobox/optional 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/optional line|trigger|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 set the line trigger parameter. Example: {{infobox/optional line|country|USA}} . If the parameter #2 is empty, the parameter #1 is also used to fill the field value
|
{{{2|}}} | No | N/A | Used to indicate the field's value in the infobox line. Example: {{infobox/optional line|{{{mytext|}}}|''My text''}}
|
{{{3|}}} | 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}}
|
{{{4|}}} | No | F9F9F9 | Used to indicate the background color in the infobox line. Default background color is grey. Example: {{infobox/line|My text||left|FF0000}}
|
{{{5|}}} | 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}}
|
{{{6|}}} | No | 2 | Used to indicate the colspan value in the infobox line. Example: {{infobox/line|My text||left|FF0000|FFFFFF|3}}
|
{{{7|}}} | 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/optional line|My text}} {{Infobox/endbox}} |
|
Example inside a template[edit source]
{{Infobox/startbox}} {{Infobox/optional line | {{{commentary|}}}||left|FF0000 }} {{Infobox/endbox}}
See also[edit source]
The above documentation is transcluded from Template:Infobox/optional line/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |