Template:If autoconfirmed/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

Usage

Example: {{If autoconfirmed|text for autoconfirmed users|text for non-autoconfirmed users}}

By default, <span>...</span> tags are used to wrap the specified content. |tag=div can be used if the content contains block-level elements.

TemplateData

<templatedata> { "params": { "1": { "label": "If autoconfirmed", "description": "Wikitext to display if user is autoconfirmed", "type": "content", "suggested": true }, "2": { "label": "If not autoconfirmed", "description": "Wikitext to display if user is not autoconfirmed (includes IPs)", "type": "content", "suggested": true }, "tag": { "description": "Changes the HTML tag used", "example": "div", "default": "span" } }, "description": "Displays wikitext based on whether or not a user is autoconfirmed." } </templatedata>

See also