Wiki – Template
Jump to navigation
Jump to search
m (fixed to-do category) |
m (added disamb) |
||
Line 6: | Line 6: | ||
|TODO= {{Messagebox|'''TODO:''' {{{2|this must be updated.}}}|🚧|#96C}}{{TemplateCase||[[Category:To-do]]}} | |TODO= {{Messagebox|'''TODO:''' {{{2|this must be updated.}}}|🚧|#96C}}{{TemplateCase||[[Category:To-do]]}} | ||
|WIP= {{Messagebox|This article is a '''[[:Category:WIP|work in progress]]'''!|🏗|dodgerblue}}{{TemplateCase||[[Category:WIP]]}} | |WIP= {{Messagebox|This article is a '''[[:Category:WIP|work in progress]]'''!|🏗|dodgerblue}}{{TemplateCase||[[Category:WIP]]}} | ||
|DISAMB= {{Messagebox|This disambiguation page lists articles associated with the same title.|{{Icon|disamb}}|white}}{{TemplateCase||[[Category:Disambiguation Pages]]}} | |||
|#default= -wrong wiki option ("{{{1}}}") defined- | |#default= -wrong wiki option ("{{{1}}}") defined- | ||
}} | }} | ||
Line 66: | Line 67: | ||
| <nowiki>{{Wiki|WIP}}</nowiki> | | <nowiki>{{Wiki|WIP}}</nowiki> | ||
| {{Wiki|WIP}} | | {{Wiki|WIP}} | ||
|- | |||
| <nowiki>{{Wiki|DISAMB}}</nowiki> | |||
| {{Wiki|DISAMB}} | |||
|} | |} | ||
[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude> | [[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude> |
Revision as of 14:29, 7 February 2021
This template serves as a toolbox for wiki editors. It contains most useful templates, and automatically categorises pages.
Usage
{{Wiki|type|arguments}}
- type: (case-insensitive) messagebox type, can be:
- delete: a Deletion request
- argument1: deletion request reason
- merge: a Merge request
- argument1: destination page
- argument2: merge reason
- placeholder: a placeholder mark, meaning the Function page has a basic header documentation
- stub: a Stub mark, meaning the page/section can be expanded
- TODO: a To-Do mark, meaning the page/section must be (re)written soon™
- WIP: a work in progress page - a wiki editor is currently working on it
- delete: a Deletion request
- argument: (Optional) argument, depends on type
Code | Result |
---|---|
{{Wiki}} | -no wiki option defined!- |
{{Wiki|Hello there!}} | -wrong wiki option ("Hello there!") defined- |
{{Wiki|delete}} | |
{{Wiki|delete|Why not?}} | |
{{Wiki|merge}} | |
{{Wiki|merge|Main Page}} | |
{{Wiki|merge|Main Page|Why not?}} | |
{{Wiki|placeholder}} | |
{{Wiki|stub}} | |
{{Wiki|todo}} | |
{{Wiki|todo|message}} | |
{{Wiki|WIP}} | |
{{Wiki|DISAMB}} |