Wiki – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix category link)
(Add extractionScript)
Line 3: Line 3:
|DISAMB
|DISAMB
|DISAMBIG= {{Messagebox|This [[:Category:Disambiguation Pages|disambiguation page]] lists articles associated with the same title.|{{Icon|disamb|35}}|burlyWood}}{{TemplateCase||[[Category:Disambiguation Pages]]}}
|DISAMBIG= {{Messagebox|This [[:Category:Disambiguation Pages|disambiguation page]] lists articles associated with the same title.|{{Icon|disamb|35}}|burlyWood}}{{TemplateCase||[[Category:Disambiguation Pages]]}}
|EXTRACTIONSCRIPT= {{Feature|Informative|Extraction script can be found on the [[Biki Export Scripts#{{{2|{{FULLPAGENAME}}}}}|Biki Export Scripts]] page.}}
|LIPSUM
|LIPSUM
|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|}}}|...|&hellip;|<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|}}}|...|&hellip;|<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.}}
Line 22: Line 23:
*** argument1: deletion request reason
*** argument1: deletion request reason
** disamb: a [[:Category:Disambiguation Pages|Disambiguation]] page
** disamb: a [[:Category:Disambiguation Pages|Disambiguation]] page
** extractionScript: a link to the [[Biki Export Scripts]] page
*** argument1: (Optional, default <tt><nowiki>{{FULLPAGENAME}}</nowiki></tt> link anchor
** lipsum: a {{Wikipedia|Lorem ipsum}} excerpt
** lipsum: a {{Wikipedia|Lorem ipsum}} excerpt
*** argument1: <tt>...</tt> to have a shortened version (see examples below)
*** argument1: <tt>...</tt> to have a shortened version (see examples below)
Line 52: Line 55:
| <nowiki>{{Wiki|disamb}}</nowiki>
| <nowiki>{{Wiki|disamb}}</nowiki>
| {{Wiki|disamb}}
| {{Wiki|disamb}}
|-
| <nowiki>{{Wiki|extractionScript}}</nowiki>
| {{Wiki|extractionScript}}
|-
| <nowiki>{{Wiki|extractionScript|OtherName}}</nowiki>
| {{Wiki|extractionScript|OtherName}}
|-
|-
| <nowiki>{{Wiki|lorem}}</nowiki>
| <nowiki>{{Wiki|lorem}}</nowiki>

Revision as of 23:52, 17 August 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
    • extractionScript: a link to the Biki Export Scripts page
      • argument1: (Optional, default {{FULLPAGENAME}} link anchor
    • 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
  • argument: (Optional) argument, depends on type
Examples
Code Result
{{Wiki}} -no wiki option defined!-
{{Wiki|Hello there!}} -wrong wiki option ("Hello there!") defined-
{{Wiki|delete}}
🗙
This article has been submitted for deletion.
{{Wiki|delete|Why not?}}
🗙
This article has been submitted for deletion. The reason given was: Why not?
{{Wiki|disamb}}
Disambiguation
This disambiguation page lists articles associated with the same title.
{{Wiki|extractionScript}}
Extraction script can be found on the Biki Export Scripts page.
{{Wiki|extractionScript|OtherName}}
Extraction script can be found on the Biki Export Scripts page.
{{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}}

This article has been proposed to merge with -no article provided-.
{{Wiki|merge|Main Page}}

This article has been proposed to merge with Main Page.
{{Wiki|merge|Main Page|Why not?}}

This article has been proposed to merge with Main Page. Reason: Why not?
{{Wiki|placeholder}}
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
{{Wiki|stub}}
{{Wiki|todo}}
🚧
TODO: this must be updated.
{{Wiki|todo|message}}
🚧
TODO: message
{{Wiki|WIP}}
🏗
This article is a work in progress!
{{Wiki|WIP|working on new pictures.}}
🏗
This article is a work in progress! Reason: working on new pictures.