Template:Stub/doc: Difference between revisions

From Honkai: Nexus Anima Wiki
Jump to navigation Jump to search
mNo edit summary
Raven.Familiar (talk | contribs)
No edit summary
Line 1: Line 1:
{{Documentation/Header}}
This template will categorize articles that include it into [[:Category:Article Stubs]], and mark them with a noticeable message. This note is typically added to [[Special:ShortPages|short pages]] to draw attention to them for expansion, and to invite readers and editors to add more.


;Description
==Syntax==
:This template is used to identify a stub. Any pages using this template will be automatically placed in the [[:Category:Stubs|Stubs]] category.
{{T|Stub|v1=reason}}
* '''1''' - Reason the stub is being added, explanation of what information is wanted on the page. Defaults to {{F|No reason provided.}}


<includeonly>[[Category:Notice Templates]]</includeonly><noinclude>[[Category:Template Documentation]]</noinclude>
==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 will categorize articles that include it into Article Stubs, and mark them with a noticeable message. This note is typically added to short pages to draw attention to them for expansion, and to invite readers and editors to add more."
}
</templatedata>

Revision as of 09:15, 31 August 2025

This is the documentation page for Stub.
It contains usage information, categories, and other content not part of the original template page.

This template will categorize articles that include it into Category:Article Stubs, and mark them with a noticeable message. This note is typically added to short 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, 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 will categorize articles that include it into Article Stubs, and mark them with a noticeable message. This note is typically added to short pages to draw attention to them for expansion, and to invite readers and editors to add more.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Reason1

A brief explanation of what is missing from the page.

Default
No reason provided.
Contentsuggested