Template:Infobox character/ru: Difference between revisions
From Elwiki
Shironsaki (talk | contribs) No edit summary |
Shironsaki (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#Widget:Infobox | <includeonly>{{#Widget:Infobox}}{{#if:{{{colset|}}} | ||
| {{#vardefine:colset|{{{colset|}}}}} | | {{#vardefine:colset|{{{colset|}}}}} | ||
| {{#vardefine:colset|1}} | | {{#vardefine:colset|1}} |
Revision as of 04:39, 11 February 2017
Description
This is infobox proto. All infoboxes should use this proto.
How to Use
Valid Parameters:
- Content Parameters:
title
,image
,label???
,data???
- Layout Parameters:
colset
,set???
- Styling Parameters:
style
,class
,color
- Content Parameters:
Parameter Instructions
title
: (Optional) The heading. Omitting will result in a thin line.image
: (Optional) The image on the top.label???
: Heading of entry. Required for entry.data???
: Data of entry. Required for entry.set???
: (Optional) Number of entry columns (label does not count).colset
: (Optional) Required only if havingset???
, the product ofset
numbers in the whole infobox.style
: (Optional) Style of in infobox, following CSS syntax.class
: (Optional) Class of infobox, following HTMLclass
attribute syntax.color
: (Optional) Color of the heading. Default uses wikiskin default.
Other Notes
- Both
label???
anddata???
is required to add an entry.set???
is required to add an multiple-column entry.- If you are adding a multiple-column entry, the
data
should be written asdata???/...
. - In this case, if
data
is omitted, a entry will still be added.
colset
can also be least common multiple (LCM), just make sure theset???
is fractional tocolset
- Both