Template:Style formatting template/doc: Difference between revisions
More actions
No edit summary |
hidden |
||
| (6 intermediate revisions by 4 users not shown) | |||
| Line 7: | Line 7: | ||
|1def=<nowiki>{{int:lang}}</nowiki> | |1def=<nowiki>{{int:lang}}</nowiki> | ||
|1stat=required | |1stat=required | ||
|2=style | |||
|2d={{LangSwitch | |||
|en=add or replace style attributes for the box, e.g. <code>border:1px solid #F00</code> | |||
|fr=par example <code>border:1px solid #F00</code> | |||
}} | |||
|2stat=optional- | |||
|name={{PAGENAME}} | |name={{PAGENAME}} | ||
| Line 23: | Line 30: | ||
}} | }} | ||
{{style formatting template list|hidden=1}} | |||
==See Also == | ==See Also == | ||
*[[Template:Style formatting license template/doc]] | * [[Template:Style formatting license template/doc]] documentation page for similar license templates | ||
<includeonly> | <includeonly> | ||
[[Category:Style formatting templates|{{PAGENAME}}]] | [[Category:Style formatting templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 22:27, 24 August 2025
Table style formatting template meant to provide uniform styles to different families of non-license templates. Those templates are also used for tracking images with different templates so it is important not to use them for other purposes.
Usage
{{Style formatting template/doc |lang= }}
Meant to be used only inside of other license or information templates
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
lang | Language code to use for template direction (ltr or rtl) | {{int:lang}} | required | |
style | add or replace style attributes for the box, e.g. border:1px solid #F00 | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: unknown
The template is intended to be used by the following user groups: all users
Localization
This template is not intended to be localized.
Other style formatting templates
License templates
License style formatting layout templates are for use in license tags only as they are also used to track images with different types of licenses. Using them for other purposes will disrupt that system. To view them see: Template:Style formatting template list.
Other templates
| Template | Purpose | ||
|---|---|---|---|
| {{Restriction-Layout}} |
| ||
| {{Infobar-Layout}} |
| ||
| {{FoP-Layout}} |
| ||
| {{TOO-Layout}} |
| ||
| {{Partnership-Layout}} |
| ||
| {{Source-Layout}} |
| ||
| {{Source-Layout2}} |
| ||
| {{QI-Layout}} |
| ||
| {{FP-Layout}} |
|
Generic templates
These templates give table style formatting with no tags. For use with any template.
| Template | Purpose | |
|---|---|---|
| {{Layout copy|layout=Restriction}} |
| |
| {{Layout copy|layout=FoP}} |
| |
| {{Layout copy|layout=Partnership}} |
| |
| {{Layout copy|layout=Source}} |
| |
| {{Layout copy|layout=Speedy delete}} |
| |
| {{Layout copy|layout=Featured}} |
| |
| {{Layout copy|layout=QI}} |
| |
| {{Layout copy|layout=VI}} |
|
See Also
- Template:Style formatting license template/doc documentation page for similar license templates