Template:Created with/layout/doc: Difference between revisions
Template page
More actions
m +explanation |
m +parm |
||
| Line 29: | Line 29: | ||
|5 =style | |5 =style | ||
|5label = | |5label =attributes | ||
|5d =CSS style attributes, to overwrite the standard attributes | |5d =CSS style attributes, to overwrite the standard attributes | ||
|5type = | |5type = | ||
|5stat =optional- | |5stat =optional- | ||
|6 = | |6 =width | ||
|6label = | |6label =attribute | ||
|6d = | |6d =the <code>width</code> dimension attribute for modification | ||
|6type =string | |6type =string | ||
|6def =< | |6def =<code>auto</code> | ||
|6stat =optional- | |6stat =optional- | ||
|7 =lang | |||
|7label =langcode | |||
|7d ={{w|List of ISO 639-1 codes|ISO 639}} language code | |||
|7type =string | |||
|7def =<nowiki>{{int:lang}}</nowiki> | |||
|7stat =optional- | |||
|name = {{BASEPAGENAME}}{{Lua|Module:Dir}} | |name = {{BASEPAGENAME}}{{Lua|Module:Dir}} | ||
| Line 70: | Line 77: | ||
* <code>background</code> (#F8F9FA) very light grey, for good readability of the black text | * <code>background</code> (#F8F9FA) very light grey, for good readability of the black text | ||
* <code>border</code> (1px solid #BAB) the stroke-width, stroke-style, stroke-color; it is recommended to modify only that parameter. | * <code>border</code> (1px solid #BAB) the stroke-width, stroke-style, stroke-color; it is recommended to modify only that parameter. | ||
The '''total width''' of a box is left-margin + left-border + left-padding + <code>width</code> + right-padding + right-border + right-margin.<br> | |||
Similarly, the '''total height''' of a box equals top-margin + top-border + top-padding + <code>height</code> + bottom-padding + bottom-border + bottom-margin. | |||
<includeonly> | <includeonly> | ||