Template:Pp-meta/doc
Jump to navigation
Jump to search
Description
Syntax
- With descriptions
{{pp-meta
| type = <any of "full", "semi", "pc1", "pc2", "indef", "move", "create" or "office" depending on protection type>
| disallowlevel = <if type is not move or create and the template should only be used on one protection level, then "autoconfirmed" or "sysop">
| small = {{{small|}}} <unless template should always be small, then "yes", or if never small, "no" or omit>
| right = {{{right|}}} <unless small versions of the template should be somewhere other than the default location>
| expiry = {{{expiry|}}} <omit for indef templates>
| reason = <your reason here>
| xfd = <if type is "create", then "{{{xfd|}}}", else omit>
| demospace = {{{demospace|}}} <unless template should only be used in one mainspace, when it is then
appropriate to set this to "main", "talk", or "other" where talk includes all odd-numbered namespaces>
| demolevel = {{{demolevel|undefined}}} <unless you want the template to strictly fail on inappropriate protection levels, or want to disable the protection checks>
| image = <your image here without Image: prefix, omit unless nonstandard>
| icon-link = <your link without any [[]] but perhaps with a #section here, applies to icon version>
| icon-text = <your *complete* alternate icon text including full stop if applicable.
Use only plaintext. Omit unless nonstandard.>
| icon-reason = <your specific reason here without full stop, use only plaintext>
| reason-text = <your complete top line without formatting but including full stop and allowing wikilinks.>
| explanation-text = <Your full explanation here>
| categories = {{{categories|<your categories here, else replace all with "no">}}}
}}
- Plain text
{{pp-meta
| type =
| disallowlevel =
| small =
| expiry =
| reason =
| xfd =
| demospace =
| demolevel =
| image =
| icon-link =
| icon-text =
| icon-reason =
| reason-text =
| explanation-text =
| categories =
}}
Examples
TemplateData
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| type | type | no description | Unknown | optional |
| demolevel | demolevel | no description | Unknown | optional |
| disallowlevel | disallowlevel | no description | Unknown | optional |
| small | small | no description | Unknown | optional |
| image | image | no description | Unknown | optional |
| icon-link | icon-link | no description | Unknown | optional |
| icon-text | icon-text | no description | Unknown | optional |
| expiry | expiry | no description | Unknown | optional |
| icon-reason | icon-reason | no description | Unknown | optional |
| name | name | no description | Unknown | optional |
| subst | subst | no description | Unknown | optional |
| demospace | demospace | no description | Unknown | optional |
| reason-text | reason-text | no description | Unknown | optional |
| reason | reason | no description | Unknown | optional |
| explanation-text | explanation-text | no description | Unknown | optional |
| dispute | dispute | no description | Unknown | optional |
| section | section | no description | Unknown | optional |
| xfd | xfd | no description | Unknown | optional |