Template:Uses template styles: Difference between revisions
From Space Station 14 Wiki
(Created page with "<includeonly>{{Callout |align=right |header=Uses template styles |Info |This template uses template styles found in: {{#ifeq: {{#invoke:params|count}}|0 |<ul><li>[[{{FULLPAGENAME}}/styles.css]]</li></ul> |<ul>{{#invoke:params|for_each|<li>$@</li>}}</ul> }} }}<!-- # when used not on template's page (or /doc page), add to category -->{{Add categories if not on page or subpage|Template:Uses template styles|Templates using template styles}}</includeonly><noinclude> {{d...") |
(template for use in templates) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Callout | <includeonly>{{Callout | ||
|stacked=1 | |||
|align=right | |align=right | ||
|header=Uses template styles | |header=Uses template styles | ||
Line 15: | Line 16: | ||
{{documentation | {{documentation | ||
|below banner= | |below banner= | ||
{{template for use in templates}} | |||
{{Template populates categories|Templates using template styles}} | {{Template populates categories|Templates using template styles}} | ||
}} | }} | ||
Line 20: | Line 22: | ||
[[Category:Templates for documenting other templates]] | [[Category:Templates for documenting other templates]] | ||
[[Category:Notice templates]] | [[Category:Notice templates]] | ||
<templatedata> | <templatedata> | ||
{ | { |
Latest revision as of 11:57, 17 August 2024
For use in other templates
This template is meant to be used within other templates and not by itself.
Populates a category
This template will add a category when used:
(though on what conditions — consult with the template itself)
(though on what conditions — consult with the template itself)
Examples
by default, points to /styles.css
of the current page.
↓
Uses template styles
This template uses template styles found in:
Custom styles page
{{Uses template styles
↓
Uses template styles
This template uses template styles found in:
Multiple styles pages
{{Uses template styles
↓
Uses template styles
This template uses template styles found in:
Used to mark templates that use template styles and provide a link to the styles they use. When used without parameters, points to "/styles.css" subpage. Any amount of pages can be listed with numeric arguments.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Styles page 1 | 1 | no description | Page name | suggested |
Styles page 2 | 2 | no description | Page name | suggested |