Parser Functions

From Tweeki
Revision as of 14:54, 27 December 2017 by Thai (talk | contribs)
Jump to: navigation, search

Tweekihide parser function

Usage: {{#tweekihide:element1|element2|...}}

This parser function can be used to hide elements from a specific page (e.g. the main page).

You can use all navigational sections and elements (also custom ones).

Attention! Elements need to be listed in $wgTweekiSkinHideable to be hideable via the parser function!

Tweekibodyclass parser function

Usage: {{#tweekibodyclass:class1|class2|...}}

This parser function be used to add a class to the <body> tag of a specific page.