Template:Stub: Difference between revisions
Jump to navigation
Jump to search
Dat Hack3r (talk | contribs) m I always thought this had rounded corners. I guess it does now. |
Dat Hack3r (talk | contribs) m Add space |
||
| Line 1: | Line 1: | ||
<div class="notice metadata plainlinks stub-box" id="stub" style="border:2px dashed gray; border-radius: 10px; 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 the {{SITENAME}} by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''</div><includeonly>[[Category:Stubs]]</includeonly><noinclude> | <div class="notice metadata plainlinks stub-box" id="stub" style="border: 2px dashed gray; border-radius: 10px; 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 the {{SITENAME}} by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''</div><includeonly>[[Category:Stubs]]</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 18:58, 31 January 2026
{{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 |