Template:PageStatusIndicators/doc: Difference between revisions

From FasciPedia
Jump to navigation Jump to search
Template>Headquarter8302
No edit summary
Β 
m (Text replacement - ".svg" to ".png")
Β 
(One intermediate revision by one other user not shown)
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.svg|10px]]|id=fa|class=top-right shine}}</syntaxhighlight>
:<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
{{PageStatusIndicators|name=featured-article|content=[[File:FA icon.png|10px]]|id=fa|class=top-right shine}}

Adds a standardized icon using Page status indicators

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
namename

Name of the icon/template

Stringrequired
classclass

CSS class of the icon

Stringoptional
idid

ID of the icon

Stringoptional
contentcontent

Must be an image

Filerequired