Wiki – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add WIP description argument) |
Lou Montana (talk | contribs) m (Fix category link) |
||
Line 6: | Line 6: | ||
|LOREM= Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris{{#ifeq:{{{2|}}}|...|…|<nowiki/> nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}} | |LOREM= Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris{{#ifeq:{{{2|}}}|...|…|<nowiki/> nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}} | ||
|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]]}} | ||
|PLACEHOLDER= {{Messagebox|Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]].|🏗|DarkGray}}{{TemplateCase||[[Category:Description needed]]}} | |PLACEHOLDER= {{Messagebox|[[:Category:Maintenance/RV/Description needed|Placeholder description]] extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]].|🏗|DarkGray}}{{TemplateCase||[[Category:Maintenance/RV/Description needed]]}} | ||
|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:To-do]]}} | |TODO= {{Messagebox|'''TODO:''' {{{2|this must be updated.}}}|🚧|#96C}}{{TemplateCase||[[Category:To-do]]}} | ||
Line 27: | Line 27: | ||
*** argument1: destination page | *** argument1: destination page | ||
*** argument2: merge reason | *** argument2: merge reason | ||
** placeholder: a [[:Category:Description needed|placeholder]] mark, meaning the [[:Category:Functions|Function]] page has a basic header documentation | ** placeholder: a [[:Category:Maintenance/RV/Description needed|placeholder]] mark, meaning the [[:Category:Functions|Function]] page has a basic header documentation | ||
** 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''™ | ** TODO: a [[:Category:To-do|To-Do]] mark, meaning the page/section must be (re)written ''soon''™ |
Revision as of 21:20, 14 June 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
- disamb: a Disambiguation page
- lipsum: a Lorem ipsum excerpt
- argument1: ... to have a shortened version (see examples below)
- 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|disamb}} | |
{{Wiki|lorem}} | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
{{Wiki|lorem|...}} | Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris… |
{{Wiki|merge}} | |
{{Wiki|merge|Main Page}} | |
{{Wiki|merge|Main Page|Why not?}} | |
{{Wiki|placeholder}} | |
{{Wiki|stub}} | |
{{Wiki|todo}} | |
{{Wiki|todo|message}} | |
{{Wiki|WIP}} | |
{{Wiki|WIP|working on new pictures.}} |