Wiki – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix description) |
Lou Montana (talk | contribs) (Add TODO) |
||
Line 3: | Line 3: | ||
|MERGE= {{Messagebox|This article has been proposed to merge with {{#if:{{{2|}}}|[[{{{2}}}]]|'''-no article provided-'''}}.{{#if:{{{3|}}}|<nowiki/> Reason: {{{3}}}}}|<div style{{=}}"font-size: .75em; line-height: .6em">↘<br>↗</div><!--↣-->|blueviolet}}{{TemplateCase||[[Category:Merge Requests]]}} | |MERGE= {{Messagebox|This article has been proposed to merge with {{#if:{{{2|}}}|[[{{{2}}}]]|'''-no article provided-'''}}.{{#if:{{{3|}}}|<nowiki/> Reason: {{{3}}}}}|<div style{{=}}"font-size: .75em; line-height: .6em">↘<br>↗</div><!--↣-->|blueviolet}}{{TemplateCase||[[Category:Merge Requests]]}} | ||
|STUB= <div class="notice metadata" id="stub">''This article is a [[:Category:Stubs|Stub]]. You can help BI Community Wiki by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]</span>.''</div>{{TemplateCase||[[Category:Stubs]]}} | |STUB= <div class="notice metadata" id="stub">''This article is a [[:Category:Stubs|Stub]]. You can help BI Community Wiki by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]</span>.''</div>{{TemplateCase||[[Category:Stubs]]}} | ||
|TODO= {{Messagebox|'''TODO:''' {{{2|this must be updated.}}}|🚧|#96C}}{{TemplateCase||[[Category:Maintenance]]}} | |||
|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]]}} | ||
|#default= -wrong wiki option ("{{{1}}}") defined- | |#default= -wrong wiki option ("{{{1}}}") defined- | ||
Line 19: | Line 20: | ||
*** argument2: merge reason | *** argument2: merge reason | ||
** stub: a [[:Category:Stubs|Stub]] mark, meaning the page/section can be expanded | ** stub: a [[:Category:Stubs|Stub]] mark, meaning the page/section can be expanded | ||
** TODO: a [[:Category:To-do|To-Do]] mark, meaning the page/section must be (re)written ''soon''™ | |||
** WIP: a [[:Category:WIP|work in progress]] page - a wiki editor is ''currently'' working on it | ** WIP: a [[:Category:WIP|work in progress]] page - a wiki editor is ''currently'' working on it | ||
* argument: (Optional) argument, depends on ''type'' | * argument: (Optional) argument, depends on ''type'' | ||
Line 50: | Line 52: | ||
| <nowiki>{{Wiki|stub}}</nowiki> | | <nowiki>{{Wiki|stub}}</nowiki> | ||
| {{Wiki|stub}} | | {{Wiki|stub}} | ||
|- | |||
| <nowiki>{{Wiki|todo}}</nowiki> | |||
| {{Wiki|todo}} | |||
|- | |||
| <nowiki>{{Wiki|todo|message}}</nowiki> | |||
| {{Wiki|todo|message}} | |||
|- | |- | ||
| <nowiki>{{Wiki|WIP}}</nowiki> | | <nowiki>{{Wiki|WIP}}</nowiki> |
Revision as of 01:02, 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
- 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|stub}} | |
{{Wiki|todo}} | |
{{Wiki|todo|message}} | |
{{Wiki|WIP}} |