Difference between revisions of "Template:Wiki"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix description)
m (Fix list)
Line 10: Line 10:
 
|param1= type
 
|param1= type
 
|descr1= (case-insensitive) messagebox type, can be:
 
|descr1= (case-insensitive) messagebox type, can be:
* delete
+
** delete
* stub
+
** stub
* wip
+
** wip
 
|param2= argument
 
|param2= argument
 
|descr2= (Optional) argument (for <tt>delete</tt> type only for now)
 
|descr2= (Optional) argument (for <tt>delete</tt> type only for now)

Revision as of 20:30, 6 February 2021

This template serves as a toolbox for wiki editors. It contains most useful templates, and automatically categorises pages.

This template is used on these pages.

Usage

{{Wiki|type|argument}}

  • type: (case-insensitive) messagebox type, can be:
    • delete
    • stub
    • wip
  • argument: (Optional) argument (for delete type only for now)
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|stub}}
{{Wiki|wip}}
🏗
This article is a work in progress!