Template:Page notice: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
m (??)
m (fine)
 
Line 1: Line 1:
<includeonly><div class="page-notice {{#if:{{{type|}}}|notice-{{{type}}}}}">This {{#if:{{{section|}}}|section|page}} {{{description}}}{{#if:{{{1|}}}|
<includeonly><div class="page-notice {{#if:{{{type|}}}|notice-{{{type}}}}}">This {{#if:{{{section|}}}|section|page}} {{{description}}}{{#if:{{{1|}}}|
<br /><br />'''Details''': ''{{{1}}}''}}{{#if:{{{noedit|}}}||
<br /><br />'''Details''': <i>{{{1}}}</i>
}}{{#if:{{{noedit|}}}||
<br /><br />If you can correct the issue, please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit the page] to do so, then remove this notice.
<br /><br />If you can correct the issue, please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit the page] to do so, then remove this notice.
}}{{#if:{{{links|}}}|
}}{{#if:{{{links|}}}|

Latest revision as of 20:01, 24 July 2020

Documentation [edit]

This template is used to display a notice at the top of a page or section of a page. Typically, you will want to use one of the implementations:

Parameters

  • first unnamed parameter: any additional details on the reason for adding the notice, or how the page can be improved. This is highly recommended.
  • description: a description of why the notice is being added. This is required.
  • section: if this parameter is defined, the notice will refer to "this section" instead of "this page".
  • links: any helpful links related to the page or the notice being applied. These will be displayed at the bottom of the notice.
  • type: the type of notice. This only affects the CSS class applied.
  • noedit: if this parameter is defined, the notice will not include a request and link to edit the page. This is useful for permanent notices, such as on documentation subpages.

The above documentation is transcluded from Template:Page notice/doc.