Template:Created with/layout/doc
Template page
More actions
< Template: Created with/layout
Small box used by several templates:
Usage
{{Created with/layout |logo= |text= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
logo | filename | icon/logo to be displayed | empty | suggested |
iconsize | size | size for displaying the icon/logo | 33x22px | optional |
text | text | individual main text | 'empty' | suggested |
more | text | more text (additional) | empty | optional |
style | parameters | CSS style attributes, to overwrite the standard attributes | empty | optional |
lang | langcode | ISO 639 language code | {{int:lang}} | optional |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Placement:
In general within the file description – but can be elsewhere
Localization
This template is not intended to be localized. Normally it is the final output, after all translations done by the previous templates.
Style attributes
Besides the variations with logo and text, a great variety can be get with background colors and mainly with the border styles:
- margin and padding are to alter with care - it is recommended to not modify them. The four parameters are for top, right, bottom, left.
margin(0px) the distance to surrounding itemspadding(2px 4px 2px 6px) distance to items witthin the box; the first and third parameter can alter the height of the box!
color(#000) the color of the textbackground(#F8F9FA) very light grey, for good readability of the black textborder(1px solid #BAB) the stroke-width, stroke-style, stroke-color; it is recommended to modify only that parameter.