Template:Layout copy/doc: Difference between revisions
More actions
←Created page with '<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{TemplateBox |1 =<!-- Name of the first parameter the template takes --> |1label =<!-- A (very) brief name for the parameter. --> |1d-en =<!-- English description of the first parameter the template takes --> |1d-td =<!-- description of the first parameter the template takes without any wiki marking--> |1aliases =<!--...' |
{{style formatting template list|hidden=1}} |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
|1stat =<!-- required, optional or optional-; optional- means it is optional and omitted in the usage-sample --> | |1stat =<!-- required, optional or optional-; optional- means it is optional and omitted in the usage-sample --> | ||
|name = | |name = {{PAGENAME}} | ||
|desc = Copies function of [[:Category:Style formatting templates]] but without all the applicable | |desc = Copies function of [[:Category:Style formatting templates]] but without all the applicable license layout tags and classes that call bots for maintenace and monitoring etc. To not mess with the maintenance categories but still '''get base styles that look good'''. To start with and adjust from there. Use to style HTML/wikitables (old) or to style {{tag|div|o}} tags (better). | ||
|namespace = | |namespace = | ||
|usergroup = | |usergroup = | ||
|placement = | |placement = | ||
|example = <nowiki><div {{Layout copy|layout=speedy}}> | |example = <nowiki><div {{Layout copy|layout=speedy delete}}> | ||
Hello from the other side. | Hello from the other side. | ||
</div></nowiki> | </div></nowiki> | ||
|example-value = <div {{Layout copy|layout=speedy}}> | |example-value = <div {{Layout copy|layout=speedy delete}}> | ||
Hello from the other side. | Hello from the other side. | ||
</div> | </div> | ||
| Line 34: | Line 34: | ||
|print = | |print = | ||
}} | }} | ||
{{style formatting template list|hidden=1}} | |||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line; interwikis at Wikidata --> | <!-- Categories below this line; interwikis at Wikidata --> | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 23:22, 4 September 2025
Copies function of Category:Style formatting templates but without all the applicable license layout tags and classes that call bots for maintenace and monitoring etc. To not mess with the maintenance categories but still get base styles that look good. To start with and adjust from there. Use to style HTML/wikitables (old) or to style <div> tags (better).
Usage
{{Layout copy/doc |1= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | empty | optional | ||
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
Example
{{Layout copy/doc|<div {{Layout copy|layout=speedy delete}}>
Hello from the other side.
</div>}}
renders as:
Hello from the other side.
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}} |
|