Difference between revisions of "Template:Wiki"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added disamb)
m (improved disamb template)
Line 6: Line 6:
 
|TODO= {{Messagebox|'''TODO:''' {{{2|this must be updated.}}}|🚧|#96C}}{{TemplateCase||[[Category:To-do]]}}
 
|TODO= {{Messagebox|'''TODO:''' {{{2|this must be updated.}}}|🚧|#96C}}{{TemplateCase||[[Category:To-do]]}}
 
|WIP= {{Messagebox|This article is a '''[[:Category:WIP|work in progress]]'''!|🏗|dodgerblue}}{{TemplateCase||[[Category:WIP]]}}
 
|WIP= {{Messagebox|This article is a '''[[:Category:WIP|work in progress]]'''!|🏗|dodgerblue}}{{TemplateCase||[[Category:WIP]]}}
|DISAMB= {{Messagebox|This disambiguation page lists articles associated with the same title.|{{Icon|disamb}}|white}}{{TemplateCase||[[Category:Disambiguation Pages]]}}
+
|DISAMB= {{Messagebox|This disambiguation page lists articles associated with the same title.|{{Icon|disamb|35}}|purple}}{{TemplateCase||[[Category:Disambiguation Pages]]}}
 
|#default= -wrong wiki option ("{{{1}}}") defined-
 
|#default= -wrong wiki option ("{{{1}}}") defined-
 
}}
 
}}

Revision as of 15:30, 7 February 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
    • 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|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|DISAMB}}
Disambiguation
This disambiguation page lists articles associated with the same title.
https://community.bistudio.com/wiki?title=Template:Wiki&diff=244177&oldid=244176
community.bistudio.com
crawl=CC-MAIN-2022-40
30174
application/http; msgtype=response
sha1:SQ4SBI2QJRRJST6ZC64OEO7JYYCX7ZUF
<urn:uuid:b1d4159b-b6e2-44aa-ad04-f9412b224351>
2022-10-07T13:31:12Z
213.192.54.136
text/html
sha1:EKWVAK72WWKU5OQULZ6KL3RENJBDZN6F
<urn:uuid:bb1b394d-0a47-4ddf-98a4-eb39074dfa6a>
https://community.bistudio.com/wiki?title=Template:Wiki&diff=244177&oldid=244176
response
<urn:uuid:a24b29b3-476e-415c-9fe3-c2ddf759df9c>
isPartOf: CC-MAIN-2022-40
publisher: Common Crawl
description: Wide crawl of the web for September/October 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-45
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.4-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/