Template:Created with/layout/doc: Difference between revisions
Template page
More actions
m +link |
m +cat |
||
| Line 43: | Line 43: | ||
|name = {{BASEPAGENAME}}{{Lua|Module:Dir}} | |name = {{BASEPAGENAME}}{{Lua|Module:Dir}} | ||
|desc = Small box used by several templates: | |desc = Small box used by several templates: | ||
<div style="float:left;padding-right:2em;width: | <div style="float:left;padding-right:2em;width:20%">{{nobold|__TOC__}}</div> <small> | ||
* {{nobold|In{{T0|Valid SVG}}}} | * {{nobold|In{{T0|Valid SVG}}}} | ||
* {{nobold|{{T0|Created with}}}} | * {{nobold|{{T0|Created with}}}} | ||
| Line 67: | Line 67: | ||
* background | * background | ||
* border | * border | ||
<includeonly> | |||
[[Category:Created with ... templates| ]] | |||
[[Category:Layout templates| ]] | |||
</includeonly> | |||
Revision as of 05:33, 24 September 2020
< 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 and border colors:
- padding
- background
- border