Template:Stub: Difference between revisions

From Leeds Hackspace Wiki
Jump to navigation Jump to search
(Created a Stub Template)
 
(Added template data)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{WarningBoxOrange|'''Stub''' This page is a Stub {{{1|This page is a stub, you can help by expanding it.}}}}}
{{WarningBoxOrange|'''Stub''' This page is a Stub. {{{1|It needs more info and you can help by expanding it.}}}}}
<IncludeOnly>[[Category:Needs Updating]]</IncludeOnly>
<IncludeOnly>[[Category:Needs Updating]]</IncludeOnly>
<noinclude>
<noinclude>
Line 16: Line 16:
{{Stub|This is the reason why it's a stub}}
{{Stub|This is the reason why it's a stub}}
</nowiki></pre>
</nowiki></pre>
<templatedata>
{
"params": {
"1": {
"label": "Text",
"description": "The text to replace the \"you can help by expanding it\"",
"example": "Pylons needed",
"type": "string"
}
},
"format": "block"
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 17:36, 25 September 2019

Warning icon Stub This page is a Stub. It needs more info and you can help by expanding it.


Add this template to a page to add it to Needs Updating category.

Insert this text:

{{Stub}}

or

{{Stub|This is the reason why it's a stub}}

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The text to replace the "you can help by expanding it"

Example
Pylons needed
Stringoptional