Template:PageStatusIndicators/doc: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
Deleted User (talk | contribs) m (Text replacement - ".svg" to ".png") Β |
||
| Line 4: | Line 4: | ||
:{{t|PageStatusIndicators|name=|content=|id=|class=|style=code}}. | :{{t|PageStatusIndicators|name=|content=|id=|class=|style=code}}. | ||
;Sample syntax | ;Sample syntax | ||
:<syntaxhighlight lang="handlebars">{{PageStatusIndicators|name=featured-article|content=[[File:FA icon. | :<syntaxhighlight lang="handlebars">{{PageStatusIndicators|name=featured-article|content=[[File:FA icon.png|10px]]|id=fa|class=top-right shine}}</syntaxhighlight> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Latest revision as of 20:27, 14 May 2022
- Description
- This template is used to display Page status indicators.
- Syntax
{{PageStatusIndicators|.name=|content=|id=|class=}}- Sample syntax
Adds a standardized icon using Page status indicators
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name | name | Name of the icon/template | String | required |
| class | class | CSS class of the icon | String | optional |
| id | id | ID of the icon | String | optional |
| content | content | Must be an image | File | required |