Difference between revisions of "Template:Stub"
(Undo revision 101995 by Ickputzdirwech (talk) it was worth it, I found some pages) Tag: Undo |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{ | + | <includeonly>{{Rwbox |
+ | | name = stub | ||
+ | | type = manual | ||
+ | | color = #1e90ff | ||
+ | | small = {{{small|no}}} | ||
+ | | image = [[File:StumpChoppedA.png|40px]] | ||
+ | | text = '''Chopped Stump''' | ||
+ | <br>''This {{#if:{{{section|}}}|section|article}} is a '''[[:Category:Stubs|stub]]'''. You can help {{SITENAME}} by '''[{{fullurl:{{#titleparts:{{FULLPAGENAME}}|1}}|action=edit}} expanding it]{{#if:{{{reason|}}}|. Reason: {{{reason|}}} {{#set: Maintenance Reason = {{{reason|}}}}}}}'''.}}[[Category:Stubs]] | ||
+ | | nocat = true | ||
+ | }}{{#if: {{{1|}}}{{{section|}}} | |{{#set:From DLC = Biotech (DLC)}}[[Category:Biotech]]}}</includeonly><noinclude> | ||
+ | {{documentation}}</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! --> |
Revision as of 14:14, 1 November 2022
Description
This template is used to mark pages as stubs, and categorizing them in Category:Stubs.
Parameters
This template has no mandatory parameters, it is however good practice to always provide the "reason" parameter.
"reason" parameter
You should always provide an explanation what information is missing - be it as obvious to you as it gets. This can be any text (e.g. {{Stub| reason = Description of the missing information}}
).
"section" parameter
Setting this parameter to any value (e.g. {{Stub| section = 1}}
) will change the message from "article" to "section" and suppresses adding the page to Category:Stubs..
"nocat" parameter
Setting this parameter to any value (e.g. {{Stub| nocat = true}}
) suppresses adding the page to Category:Stubs.
Include this parameter when using the template for testing purposes, like on this page.
Examples
The template can be used with no arguments:
{{Stub}}
producing:
Chopped Stump
This article is a stub. You can help RimWorld Wiki by expanding it. |
| nocat = true }}
As you can see the template complains if you don't provide a reason. You should therefore always provide it:
{{Stub| reason = Description of the missing information}}
producing:
Chopped Stump
This article is a stub. You can help RimWorld Wiki by expanding it. Reason: Description of the missing information. |
| nocat = true }}
A specific section can be designated as a stub:
{{Stub| reason = Description of the missing information | section = 1 }}
producing:
Chopped Stump
This section is a stub. You can help RimWorld Wiki by expanding it. Reason: Description of the missing information. |
| nocat = true }}
See also
Maintenance
- Incomplete pages/sections:
- {{Documentation wanted}} for marking templates without documentation.
- {{Image wanted}} for marking pages or sections that are missing images.
- {{Stub}} for marking incomplete pages or sections.
- Request major changes:
- Deletion:
- {{Delete}} for marking pages that should be deleted.
- {{Obsolete}} for marking pages that are no longer relevant to the current game version.
- {{Safe to delete}} for marking pages that are ready to be deleted.
- {{SpeedyDelete}} for marking pages that should be deleted as fast as possible.
Content
- {{Biotech}} for marking content from Biotech (DLC) .
- {{Ideology}} for marking content from Ideology (DLC) .
- {{Royalty}} for marking content from Royalty (DLC) .
- {{Console}} for marking content from the console edition .
- {{Spoiler}} for marking potential spoilers.
The above documentation is transcluded from Template:Stub/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |