Difference between revisions of "Template:Stub"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
m
m
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{|class="wikitable plainlinks" style="margin: 1em auto; padding: 2px; background: #e2f0f8; border: 1px solid #000;"
{| class="wikitable plainlinks" style="margin: 1em auto; padding: 2px; background: #e2f0f8; border: 1px solid #000; text-align: center;"
|align="center" | This {{#if:{{{section|}}}|section|article}} is a '''stub'''. You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].{{#if:{{{1|}}}|<br>''Suggestions:'' {{{1}}}}}
| This {{#if:{{{section|}}}|section|article}} is a '''stub'''. You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].{{#if:{{{1|}}}|<br>''Suggestions:'' {{{1}}}}}
|}<includeonly>{{#if:{{{nocat|}}}||{{#if:{{{section|}}}|[[Category:Pages with section stubs]]|[[Category:Stubs]]}}}}</includeonly><noinclude>
|}<includeonly>{{#if:{{{nocat|}}}||{{#if:{{{section|}}}|[[Category:Pages with section stubs]]|[[Category:Stubs]]}}}}</includeonly><noinclude>


Line 9: Line 9:


==Parameters==
==Parameters==
{| class = "wikitable"
{| class="wikitable"
! Parameter || Mandatory || Default || Purpose || Detailed description
! Parameter || Mandatory || Default || Purpose || Detailed description
|-
|-
Line 17: Line 17:
! section
! section
| No ||  || Section stubs || To specify that only the parent section is a stub, give this a value, like "y".
| No ||  || Section stubs || To specify that only the parent section is a stub, give this a value, like "y".
|-
! nocat
| No ||  || No categorization || To stop the page from being categorized, give this a value, like "y".
|}
|}


[[Category:Maintenance templates]]</noinclude>
[[Category:Maintenance templates]]</noinclude>

Revision as of 19:41, 19 December 2022

Info

Place {{stub}} at the top of articles or {{stub|section=y}} at the top of sections that are considerably incomplete. This will alert editors about it so that someone can come along and add more information.

Articles with this template are automatically categorized under Category:Stubs, while articles containing section stubs are categorized under Category:Pages with section stubs.

Parameters

Parameter Mandatory Default Purpose Detailed description
1 No Suggestions Add your reasoning for thinking this is a stub here, as well as some suggestions.
section No Section stubs To specify that only the parent section is a stub, give this a value, like "y".