Template:Maintenance note: Difference between revisions

No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#tag:html||modules=jquery.makeCollapsible}}
{{Maintenance section box
 
| tag_type = Maintenance note
<div class="maintenance-inline mw-collapsible mw-collapsed">
| text    = {{{text|Please see the [[{{TALKPAGENAME}}|talk page]] for more information.}}}
  <div class="mw-collapsible-toggle">
}}<includeonly>{{#if:{{{nocat|}}}||[[Category:Articles with maintenance note]]}}</includeonly><noinclude>
    '''Maintenance note'''
[[Category:Maintenance templates]]
  </div>
[[Category:Sectionbox maintenance templates]]
  <div class="maintenance-inline-body">
<templatedata>
    {{{1|This section needs maintenance.}}}
{
    {{#if: {{{date|}}} | <span class="maintenance-inline-date">(added {{{date}}})</span> }}
    "description": "Displays a box note for general maintenance.",
  </div>
    "params": {
</div>
        "text": {
            "label": "Specify reason",
            "type": "string",
            "suggested": true,
            "required": false,
            "description": "Overrides the default text. If empty, shows the standard maintenance warning with a talk page link."
        },
        "nocat": {
            "label": "Suppress Category",
            "type": "boolean",
            "description": "Enter 'true' to prevent this page from being tagged for followup."
        }
    }
}
</templatedata>
</noinclude>