11,950
editsAd placeholder
Template:Priority: Difference between revisions
Jump to navigation
Jump to search
Updated documentation and made template code more readable
No edit summary |
(Updated documentation and made template code more readable) |
||
Line 1: | Line 1: | ||
{{ambox|type=content|image=[[File:Momentum_Condition_Icon.webp|35px|link=]]|text={{#switch: {{{1|}}} | <includeonly>{{ambox | ||
| section = This section may be lacking verification or other information on a [[:Category:Priority articles|high priority topic]]. | | type = content | ||
| This '''high priority article''' is currently [[:Category:Priority articles|in need of improvement]]. See the [[Help:Editing manual|guide]] if you | | image = [[File:Momentum_Condition_Icon.webp|35px|link=]] | ||
| text = {{#switch: {{{what|{{{1|}}}}}} | |||
| section = This section may be lacking verification or other information on a [[:Category:Priority articles|high priority topic]]. {{{reason|{{{2|}}}}}} See the [[Help:Editing manual|guide]] if you would like to contribute. | |||
| This '''high priority article''' is currently [[:Category:Priority articles|in need of improvement]]. {{{reason|{{{2|}}}}}} See the [[Help:Editing manual|guide]] if you would like to contribute | |||
}} | |||
}}{{Main namespace only|[[Category:Priority pages]]}}</includeonly><noinclude>{{documentation|content= | |||
Use this template to identify pages that should be a priority for adding important and accurate information. | |||
This template has a corresponding maintenance category at: [[:Category:Priority pages]]. | |||
{{ | == Examples == | ||
{{Template demo | |||
| style = list | |||
| caption 1 = Basic usage for an entire article | |||
| <nowiki>{{Priority}}</nowiki> | |||
| caption 2 = Specify that the notice only applies to a section of the article | |||
| <nowiki>{{Priority|article}}</nowiki> | |||
| caption 3 = Add additional information on what needs to be improved | |||
| <nowiki>{{Priority|reason=This article should be rewritten to better follow the style guidelines.}}</nowiki> | |||
| caption 4 = Block style | |||
| <nowiki> | |||
{{Priority | |||
| what = section | |||
| reason = This section should be rewritten to better follow the style guidelines. | |||
}} | |||
</nowiki> | |||
}} | |||
== Template data == | |||
<templatedata> | |||
{{ | { | ||
"description": "Mark a page as in need of priority updates.", | |||
"params": { | |||
"1": { | |||
"aliases": ["what"], | |||
"description": "What this notice applies to (article or section)", | |||
"type": "string", | |||
"default": "article", | |||
"suggestedvalues": ["article", "section"], | |||
"required": false | |||
}, | |||
"2": { | |||
"aliases": ["reason"], | |||
"description": "The reason this notice was added", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
} | |||
} | |||
</templatedata>}} | |||
[[Category:Templates]] | |||
[[Category:Message box templates]] | |||
</noinclude> |