Template:Wiki

From Bohemia Interactive Community
Revision as of 02:18, 7 February 2021 by R3vo (talk | contribs) (Updated doc)
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
    • 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
  • 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|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|stub}}
{{Wiki|todo}}
๐Ÿšง
TODO: this must be updated.
{{Wiki|todo|message}}
๐Ÿšง
TODO: message
{{Wiki|WIP}}
๐Ÿ—
This article is a work in progress!
{{Wiki|placeholder}}
๐Ÿ—
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.