Wiki – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Template creation)
 
m (Fix description)
Line 7: Line 7:
|-no wiki option defined!-}}
|-no wiki option defined!-}}
</includeonly><noinclude>{{Doc/Template
</includeonly><noinclude>{{Doc/Template
|descr= Template description
|descr= This template serves as a toolbox for wiki editors. It contains most useful templates, and automatically categorises pages.
|param1= parameter1
|param1= type
|descr1= this is the first parameter
|descr1= (case-insensitive) messagebox type, can be:
|param2= parameter2
* delete
|descr2= (Optional) this is the second parameter
* stub
* wip
|param2= argument
|descr2= (Optional) argument (for <tt>delete</tt> type only for now)
|example1= <nowiki>{{Wiki}}</nowiki>
|example1= <nowiki>{{Wiki}}</nowiki>
|result1= {{Wiki}}
|result1= {{Wiki}}

Revision as of 15:13, 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!