Template:Priority: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Remove redundant demo= parameter. Note that this means non-Main pages cannot be priority.)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="noexcerpt navigation-not-searchable" style="background: linear-gradient(to right, #000, #3b0108); border-radius:10px; max-width: 580px; padding: 5px; display: flex; flex-wrap: wrap; font-size:smaller;">
<includeonly>{{ambox
<div style="display: grid; align-items:center;">
| type = content
[[File:Spell Enchantment CommandFlee.png|left|50px|link=]]
| image = [[File:Momentum_Condition_Icon.webp|35px|link=]]
</div>
| text = {{#switch: {{{what|{{{1|}}}}}}
<div style="display: grid; align-items: center;">
  | 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.
'''{{color|#ed4248|Priority:}}''' <i>{{#switch: {{{1|}}}
  | 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
| section = This section may be lacking verification or other information on a high priority topic.<br>See the [[Help:How to Contribute|guide]] if you'd like to contribute.
  }}
| stub = This page is a stub. It's lacking information on a high priority topic.<br>See the [[Help:How to Contribute|guide]] if you'd like to contribute.
}}{{Main namespace only|[[Category:Priority pages]]}}</includeonly><noinclude>{{documentation|content=
| This page may be lacking verification or other information on a high priority topic.<br>See the [[Help:How to Contribute|guide]] if you'd like to contribute.}}</i>
Use this template to identify pages that should be a priority for adding important and accurate information.
</div>
</div><includeonly>{{Main namespace only|[[Category:Priority pages]]}}</includeonly><noinclude>
[[Category:Templates]]


Use this template to identify pages that should be a priority for adding important and accurate information. It adds this page to [[:Category:Priority pages]]
This template has a corresponding maintenance category at: [[:Category:Priority pages]].


{{InfoBlob|<nowiki>{{Priority}}</nowiki>}} gives you the template above.
== 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|section}}</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>
}}


But you can use
== Template data ==
 
<templatedata>
{{Priority|section}}
{
 
    "description": "Mark a page as in need of priority updates.",
{{InfoBlob|<nowiki>{{Priority|section}}</nowiki>}} to use for specific sections of the page.
"params": {
 
"1": {
For stubs use
            "aliases": ["what"],
 
            "description": "What this notice applies to (article or section)",
{{Priority|stub}}
            "type": "string",
 
"default": "article",
{{InfoBlob|<nowiki>{{Priority|stub}}</nowiki>}} to mark priority stub pages.
            "suggestedvalues": ["article", "section"],
 
            "required": false
 
},
See also [[Template:UnderConstruction]]
"2": {
            "aliases": ["reason"],
            "description": "The reason this notice was added",
            "type": "string",
            "suggested": true
        }
}
}
</templatedata>}}
[[Category:Templates]]
[[Category:Message box templates]]
</noinclude>

Latest revision as of 04:06, 14 December 2024

Template documentation

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

Basic usage for an entire article

Markup
{{Priority}}
Renders as

Specify that the notice only applies to a section of the article

Markup
{{Priority|section}}
Renders as

Add additional information on what needs to be improved

Markup
{{Priority|reason=This article should be rewritten to better follow the style guidelines.}}
Renders as

Block style

Markup

{{Priority | what = section | reason = This section should be rewritten to better follow the style guidelines. }}

Renders as

Template data

Mark a page as in need of priority updates.

Template parameters

ParameterDescriptionTypeStatus
11 what

What this notice applies to (article or section)

Suggested values
article section
Default
article
Stringoptional
22 reason

The reason this notice was added

Stringsuggested