Template:Stub/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation/Header}} | |||
This template categorizes articles that include it into [[:Category:Article Stubs]] and marks them with a noticeable message. This note is typically added to [[Special:ShortPages|short]] or incomplete pages to draw attention to them for expansion, and to invite readers and editors to add more. | |||
==Syntax== | |||
{{T|Stub|v1=reason}} | |||
* '''1''' - Reason the stub is being added, an explanation of what information is wanted on the page. Defaults to {{F|No reason provided.}} | |||
< | ==Example== | ||
{{T|Stub|Example note here.|_Y_=1}} | |||
==Template Data== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"description": "A brief explanation of what is missing from the page.", | |||
"type": "content", | |||
"label": "Reason", | |||
"suggested": true, | |||
"default": "No reason provided." | |||
} | |||
}, | |||
"format": "inline", | |||
"description": "This template categorizes articles that include it into Article Stubs and marks them with a noticeable message. This note is typically added to short or incomplete pages to draw attention to them for expansion, and to invite readers and editors to add more." | |||
} | |||
</templatedata> | |||
Latest revision as of 17:38, 11 July 2026
This is the documentation page for Stub. It contains usage information, categories, and other content not part of the original template page. | ||
|---|---|---|
| Main | Documentation | Usage |
This template categorizes articles that include it into Category:Article Stubs and marks them with a noticeable message. This note is typically added to short or incomplete pages to draw attention to them for expansion, and to invite readers and editors to add more.
Syntax
{{Stub|reason}}
- 1 - Reason the stub is being added, an explanation of what information is wanted on the page. Defaults to No reason provided.
Example
{{Stub|Example note here.}} yields:
This article is a stub.
Our community needs more information on this page! Can you help out? Click here to add more. The reason provided was:
Example note here.
Template Data
This template categorizes articles that include it into Article Stubs and marks them with a noticeable message. This note is typically added to short or incomplete pages to draw attention to them for expansion, and to invite readers and editors to add more.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Reason | 1 | A brief explanation of what is missing from the page.
| Content | suggested |