Template:Permission: Difference between revisions
(Created page with "<includeonly>[[File:Emb-{{#switch:{{{1}}} |yes=green |ask=yellow |no=red | red}}.png]]</includeonly><noinclude> There are two parameters that can be defined for this template...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[File:Emb-{{#switch:{{{1}}} |yes=green |ask=yellow |no=red | red}}.png]]</includeonly><noinclude> | <includeonly>[[File:Emb-{{#switch:{{{1}}} |yes=green |ask=yellow |no=red | red}}.png]]</includeonly><noinclude> | ||
This template can be used to quickly and graphically express permissions on collaboration pages. Permission status is a required parameter and must be set using one of three words: ''yes'', ''ask'', or ''no''. | |||
'''Required: Permission status''' | '''Required: Permission status''' | ||
Line 8: | Line 8: | ||
* ''no'' renders a red icon with a stop sign {{Permission|no}} | * ''no'' renders a red icon with a stop sign {{Permission|no}} | ||
To have the icon aligned as centered within a table cell, please see | To have the icon aligned as centered within a table cell, please see {{Tl|PermissionC}}. | ||
[[Category:Formatting and function templates]]</noinclude> | [[Category:Formatting and function templates]]</noinclude> |
Latest revision as of 15:43, 23 November 2021
This template can be used to quickly and graphically express permissions on collaboration pages. Permission status is a required parameter and must be set using one of three words: yes, ask, or no.
Required: Permission status
- yes renders a green icon with a thumbs-up symbol
- ask renders a yellow icon with a pencil
- no renders a red icon with a stop sign
To have the icon aligned as centered within a table cell, please see {{PermissionC}}.