BIKI Helper – Extension
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (woops) |
Lou Montana (talk | contribs) (Add pics!) |
||
Line 25: | Line 25: | ||
== Features == | == Features == | ||
* Wiki Editor Toolbar shortcuts | * Wiki Editor Toolbar shortcuts | ||
* {{hl|<syntaxhighlight lang="handlebars" inline>{{#biki-date}}</syntaxhighlight>}} wiki function - see {{Link|#biki-date Function Syntax}} | * {{hl|<syntaxhighlight lang="handlebars" inline>{{#biki-date}}</syntaxhighlight>}} wiki function - see {{Link|#biki-date Function Syntax}} | ||
* Namespaced page's title formatting, available through the <syntaxhighlight lang="css" inline>#biki-title-namespace</syntaxhighlight> CSS classname | * Namespaced page's title formatting, available through the <syntaxhighlight lang="css" inline>#biki-title-namespace</syntaxhighlight> CSS classname | ||
=== Editor Toolbar Buttons === | |||
[[File:wiki-biki_helper_added_editor_toolbar_buttons.jpg|thumb|New buttons available]] | |||
Added functionalities: | |||
* Code tags ([[SQF Syntax]], [[SQS Syntax]], config (C++), Enforce Script (C#), JSON) | |||
* Infoboxes ({{Template|Feature}} informative/important/warning, {{Template|Wiki}} TODO/WIP) | |||
* Game icons ({{Template|GVI}} for most games) | |||
{{Clear}} | |||
=== biki-date Function Syntax === | === biki-date Function Syntax === | ||
Line 104: | Line 110: | ||
* date1: from what date to start - ideally format yyyy-mm-dd or yyyymmdd (hh:ii:ss or hhiiss) | * date1: from what date to start - ideally format yyyy-mm-dd or yyyymmdd (hh:ii:ss or hhiiss) | ||
* date2: <!--(Optional, default now) --> up to what date to calculate - same as ''date1'' | * date2: <!--(Optional, default now) --> up to what date to calculate - same as ''date1'' | ||
=== Page Title Formatting === | |||
<gallery mode="slideshow"> | |||
wiki-biki_helper_page-title-before.jpg|Before | |||
wiki-biki_helper_page-title-after.jpg|After | |||
</gallery> | |||
Revision as of 15:44, 19 April 2024
BIKI Helper | |
---|---|
Description | Provides useful tools here and there on the BIKI. |
Author | Lou Montana |
Project Start | 2022-07-12: Project start |
Release Date |
|
Version | 1.10 |
This extension provides useful tools here and there on the BIKI.
Features
- Wiki Editor Toolbar shortcuts
{{#biki-date}}
wiki function - see biki-date Function Syntax- Namespaced page's title formatting, available through the
#biki-title-namespace
CSS classname
Editor Toolbar Buttons
Added functionalities:
- Code tags (SQF Syntax, SQS Syntax, config (C++), Enforce Script (C#), JSON)
- Infoboxes ({{Feature}} informative/important/warning, {{Wiki}} TODO/WIP)
- Game icons ({{GVI}} for most games)
biki-date Function Syntax
{{#biki-date}} | |
1460 | |
47 | |
3 | |
3 year(s), 11 month(s), 29 day(s)
|
- format: can be one of
- age_full_days, age_full_months, age_full_years
- ymd (year month day), his (hour minute second) or ymdhis
- date1: from what date to start - ideally format yyyy-mm-dd or yyyymmdd (hh:ii:ss or hhiiss)
- date2: up to what date to calculate - same as date1
Page Title Formatting
Installation
- Unzip the directory to wiki
/extensions /BIKIHelper - Add
wfLoadExtension( 'BIKIHelper' );
to LocalSettings.php