BIKI Helper – Extension
Category: MediaWiki Extension
Lou Montana (talk | contribs) (Add Header Anchor Link feature) |
Lou Montana (talk | contribs) (Add Functions exclusion) |
||
Line 121: | Line 121: | ||
{{Clear}} | {{Clear}} | ||
=== Page Title Formatting === | === Page Title Formatting === | ||
<div class="float-right"> | |||
[[File:wiki-biki_helper_page-title-before.jpg|Before]]<br> | |||
[[File:wiki-biki_helper_page-title-after.jpg|After]] | |||
</div> | |||
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. | ||
{{Clear}} | |||
=== Subtitle Categories === | === Subtitle Categories === | ||
Categories are reminded at the top of the page as subtitle. An exception is made for pages in {{Link|:Category:Scripting Commands}}. | Categories are reminded at the top of the page as subtitle. An exception is made for pages in the {{Link|:Category:Scripting Commands|Scripting Commands}} and {{Link|:Category:Functions|Functions}} categories. | ||
=== Header Anchor Link === | === Header Anchor Link === | ||
H1..H6 titles display a self-pointing link when hovered. | H1..H6 ''page content'' titles display a self-pointing link when hovered. | ||
Latest revision as of 13:01, 17 April 2025
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.20 |
This extension provides useful tools here and there on the BIKI.
Features
Editor Toolbar Buttons
Added functionalities:
- Highlight and BIKI Link buttons
- 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
Namespaced page's title formatting, available through the #biki-title-namespace
CSS classname.
Subtitle Categories
Categories are reminded at the top of the page as subtitle. An exception is made for pages in the Scripting Commands and Functions categories.
Header Anchor Link
H1..H6 page content titles display a self-pointing link when hovered.
Installation
- Unzip the directory to wiki
/extensions /BIKIHelper - Add
wfLoadExtension( 'BIKIHelper' );
to LocalSettings.php