Template:Stub: Difference between revisions
m string |
m Reformatted defaults. |
||
| Line 1: | Line 1: | ||
<div class="notice metadata plainlinks stub-box" id="stub" style="border:2px dashed gray; margin:0.2em auto 0.8em auto; padding:0.5em; text-align:center; width:80%;">''This | <div class="notice metadata plainlinks stub-box" id="stub" style="border:2px dashed gray; margin:0.2em auto 0.8em auto; padding:0.5em; text-align:center; width:80%;">''This {{{type|{{{1|article}}}}}} is a [[:Category:Stubs|stub]]. You can help {{SITENAME}} by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''</div><includeonly>[[Category:Stubs]]</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<templatedata> | <templatedata> | ||
Revision as of 09:04, 31 December 2025
{{Stub}} displays a message box at the top of stubs, marking them as such and encouraging editors to expand them. A stub is a page too short to cover its subject adequately. By default, {{stub}} assumes that the page is an article. For pages outside the mainspace, the first positional parameter or |type= can be used to specify the page type (e.g., template documentation). Pages with this template are automatically added to Category:Stubs.
{{Stub|template documentation}}(on Template:Stub/doc) →
{{Stub|type=template documentation}}(on Template:Stub/doc) →
TemplateData
When placed at the top of a page, this template marks it as a stub and encourages editors to contribute.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page type | 1 type | Specifies the type of the page in the message
| String | optional |
Marks a page as a stub.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| type | type | Replaces 'article' with parameter if given. | String | optional |