Template:Stub/doc: Difference between revisions

Template page
(template documentation moved to /doc)
 
(document tilde param)
Line 3: Line 3:
* Add the text <nowiki>{{stub}}</nowiki> to the top of your page.
* Add the text <nowiki>{{stub}}</nowiki> to the top of your page.
* You can also include an optional message: <nowiki>{{stub|Hello World}}</nowiki> and then the Hello World message will appear after the stub verbiage.
* You can also include an optional message: <nowiki>{{stub|Hello World}}</nowiki> and then the Hello World message will appear after the stub verbiage.
* There's also a parameter called <code>tilde</code>, which when set to <code>yes</code> will categorize the page to [[:Category:TildeStubs]] instead of the generic [[:Category:Stubs]]. This is only used by <code><nowiki>{{Tilde Infobox}}</nowiki></code> though, via its <code>stub</code> parameter.
About
About
*This template will categorize articles that include it into <nowiki>[[Category:Stubs]]</nowiki>.
*This template will categorize articles that include it into <nowiki>[[Category:Stubs]]</nowiki>.

Revision as of 11:13, 22 June 2021


Usage

  • Add the text {{stub}} to the top of your page.
  • You can also include an optional message: {{stub|Hello World}} and then the Hello World message will appear after the stub verbiage.
  • There's also a parameter called tilde, which when set to yes will categorize the page to Category:TildeStubs instead of the generic Category:Stubs. This is only used by {{Tilde Infobox}} though, via its stub parameter.

About

  • This template will categorize articles that include it into [[Category:Stubs]].