Template:Noticeboard header/doc
| This is a documentation subpage for Template:Noticeboard header. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]For a header without a navbox:
{{Noticeboard header|title=Welcome to the administrators' noticeboard|pagename=Wikipedia:Administrators' noticeboard|1=header content}}
For a header which matches the standard {{Noticeboard links}} styling:
{{Noticeboard header|navbox=yes|title=Welcome to the administrators' noticeboard|pagename=Wikipedia:Administrators' noticeboard|1=header content}}
For a header which matches the traditional AN/ANI raised border styling:
{{Noticeboard header|navbox=yes|anstyle=yes|title=Welcome to the administrators' noticeboard|pagename=Wikipedia:Administrators' noticeboard|1=header content}}
Parameters
[edit]TemplateData for Noticeboard header
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| navbox | navbox | no description
| Boolean | suggested |
| state | state | no description | String | optional |
| nostb | nostb | no description
| Boolean | optional |
| notoc | notoc | no description
| Boolean | optional |
| newsection | newsection | no description
| Boolean | optional |
| title | title | no description
| String | suggested |
| pagename | pagename | no description
| Page name | suggested |
| shortcut | shortcut | no description
| Page name | suggested |
| shortcut2 | shortcut2 | no description | Page name | optional |
| shortcut3 | shortcut3 | no description | Page name | optional |
| shortcut4 | shortcut4 | no description | Page name | optional |
| shortcut5 | shortcut5 | no description | Page name | optional |
| anstyle | anstyle | no description
| Boolean | optional |
| style | style | no description
| String | optional |
| titlestyle | titlestyle | no description | String | optional |
| groupstyle | groupstyle | no description | String | optional |
| backgroundstyle | backgroundstyle | no description | String | optional |
| Message Box Text | 1 | no description | Content | suggested |
| New Section Preload | newsectionpreload | Page to transclude in the edit window as default text for the new section created by the "Click here to start a new discussion" button.
| String | optional |
| New Section Preload Title | newsectionpreloadtitle | Value to set as the default title for the new section created by the "Click here to start a new discussion" button.
| String | optional |
| New Section Edit Intro | newsectioneditintro | A templated message to display at the top of the edit window or new topic tool for the new section created by the "Click here to start a new discussion" button.
| String | optional |
| New Section Discussion Tools Preload | newsectiondtpreload | When set to "1", allow the use of Discussion Tools with preload, preloadtitle, and editintro. Otherwise, Discussion Tools can only be used if those parameters are blank. Editors without Discussion Tools enabled will still see the standard edit window.
| Boolean | optional |
| New Section Button Text | newsectiontext | Text to display instead of "Click here to start a new discussion"
| String | optional |
| Additional Text | addltext | Text to display to the right of "Click here to start a new discussion" | String | optional |