Difference between revisions of "Template:Stub"

From Leeds Hackspace Wiki
Jump to: navigation, search
(Fixed message)
(Added template data)
 
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 18: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 has custom formatting.

ParameterDescriptionTypeStatus
Text1

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

Default
empty
Example
Pylons needed
Auto value
empty
Stringoptional