Difference between revisions of "Configuration"

From Tweeki
Jump to: navigation, search
Line 1: Line 1:
== Messages (and their defaults) ==
 
 
=== Navbar ===
 
 
[[Mediawiki:Tweeki-navbar-brand]]: {{SITENAME}}
 
:Content of the "brand" link.
 
 
[[Mediawiki:Tweeki-navbar-left]]: ''empty''
 
:Content of the left side of the navbar.
 
 
[[Mediawiki:Tweeki-navbar-right]]: SEARCH,TOOLBOX,PERSONAL
 
:Content of the right side of the navbar.
 
 
[[Mediawiki:Tweeki-navbar-class]]: navbar navbar-default navbar-fixed-top
 
:Classes to use for the navbar. For further possibilities see http://getbootstrap.com/components/#navbar
 
 
=== Subnavigation ===
 
 
[[Mediawiki:Tweeki-subnav]]: SIDEBAR
 
:Content of the sub navigation. Set to "-" to not show a sub navigation.
 
 
=== Sidebar ===
 
 
[[Mediawiki:Tweeki-sidebar]]: EDIT-EXT,TOC
 
:Content of the sidebar.
 
 
=== Footer ===
 
 
[[Mediawiki:Tweeki-footer]]:
 
:Additional content for the footer - will be placed between the standard text footers and the icon footers. Name to use for the hiding mechanisms provided by Tweeki: <code>footer-custom</code>.
 
 
=== Edit Section Button ===
 
 
You can customize the appearance of the edit section button with system messages. You can also use customized CSS to change aligning etc. Tweeki's default button should look like this: <button wrapper="" class="btn btn-default btn-xs"><i class='glyphicon glyphicon-pencil'></i> Edit Section|</button>
 
 
[[Mediawiki:Tweeki-editsection-text]]: Edit section
 
:Text for the Edit Section Button
 
 
[[Mediawiki:Tweeki-editsection-class]]: btn btn-default btn-xs
 
:Classes to use for the Edit Section Button
 
 
[[Mediawiki:Tweeki-editsection-icon]]: <i class='icon icon-pencil'></i>
 
:Icon to insert into the Edit Section Button
 
 
=== Link Customization ===
 
 
[[Mediawiki:Tweeki-login]]: {{Mediawiki:login}} / {{Mediawiki:createaccount}}
 
:Text used for the login link.
 
 
[[Mediawiki:Tweeki-toolbox]]: ''empty''
 
:Custom link content for toolbox dropdown. (e.g. <code><nowiki><i class="icon icon-cog"></i></nowiki></code>)
 
 
[[Mediawiki:Tweeki-edit-ext]]: Edit $1
 
:Text for the EDIT-EXT button
 
 
 
== Tweekihide parser function ==
 
== Tweekihide parser function ==
  

Revision as of 11:50, 10 February 2015

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).