Template:Wiki

From Bohemia Interactive Community
Revision as of 12:38, 27 April 2021 by Lou Montana (talk | contribs) (Add WIP description argument)
Jump to navigation Jump to search

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
  • 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}}
Disambig.png
This disambiguation page lists articles associated with the same title.
{{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.