Template:Priority: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="background: linear-gradient(to right, #000, #3b0108); border-radius:10px; max-width: 630px; padding: 5px; display: flex; flex-wrap: wrap;">
<includeonly>{{ambox
<div style="display: grid; align-items:center;">
| type = content
[[File:Spell Enchantment CommandFlee.png|left|70px|link=]]
| image = [[File:Momentum_Condition_Icon.webp|35px|link=]]
</div>
| text = {{#switch: {{{what|{{{1|}}}}}}
<div style="display: grid; align-items: center; width:540px;">
  | 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. See the [[Help:How to Contribute|guide]] if you'd like to contribute.
  }}
| This page may be lacking verification or other information on a high priority topic. See the [[Help:How to Contribute|guide]] if you'd like to contribute.}}</i>
}}{{Main namespace only|[[Category:Priority pages]]}}</includeonly><noinclude>{{documentation|content=
</div>
Use this template to identify pages that should be a priority for adding important and accurate information.
</div><includeonly>{{#ifeq: {{{demo|}}} | yes | <!--blank--> | [[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|demo=yes}}
{
 
    "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": {
See also [[Template:UnderConstruction]]
            "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>

Latest revision as of 05: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[Edit template data]

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