BIKI Helper – Extension
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) (Add namespace formatting info (v1.10)) |
||
Line 15: | Line 15: | ||
* 2022-07-12: 1.00, first upload | * 2022-07-12: 1.00, first upload | ||
* 2023-06-21: 1.05, add date functions | * 2023-06-21: 1.05, add date functions | ||
* 2023-04-15: 1.10, add page title's namespace formatting | |||
|- | |- | ||
! Version | ! Version | ||
| 1. | | 1.10 | ||
|} | |} | ||
This extension provides useful tools here and there on the BIKI. | This extension provides useful tools here and there on the BIKI. | ||
Line 30: | Line 31: | ||
*** Game icons ({{Template|GVI}} for most games) | *** Game icons ({{Template|GVI}} for most games) | ||
* {{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 | |||
=== biki-date Function Syntax === | === biki-date Function Syntax === |
Revision as of 12:19, 15 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:
- Advanced
- Code tags (SQF Syntax, SQS Syntax, config (C++), Enforce Script (C#), JSON)
- Infoboxes ({{Feature}} informative/important/warning, {{Wiki}} TODO)
- Game icons ({{GVI}} for most games)
- Advanced
{{#biki-date}}
wiki function - see biki-date Function Syntax- Namespaced page's title formatting, available through the
#biki-title-namespace
CSS classname
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
Installation
- Unzip the directory to wiki
/extensions /BIKIHelper - Add
wfLoadExtension( 'BIKIHelper' );
to LocalSettings.php