Difference between revisions of "Messages"

From Tweeki
Jump to: navigation, search
Line 59: Line 59:
 
=== Edit Section Button ===
 
=== 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>
+
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: <btn wrapper="" class="btn btn-default btn-xs">|<i class='glyphicon glyphicon-pencil'></i> Edit Section</btn>
  
 
[[Mediawiki:Tweeki-editsection-text]]: Edit section
 
[[Mediawiki:Tweeki-editsection-text]]: Edit section

Revision as of 10:21, 4 March 2015

Here you can find all messages (and their defaults) that can be easily customized by editing the respective pages:

Appearance

Mediawiki:Tweeki-container-class: container

Should be one of 'container' or 'container-fluid'. This class is used for the navbar, the main content and the footer.

Navigational sections

You can customize the general appearance for all of the following with these system messages:

Mediawiki:Tweeki-ELEMENT-class: btn btn-primary

Class for the produced buttons.

Mediawiki:Tweeki-ELEMENT-wrapper: li

HTML element to be used as a wrapper.

Mediawiki:Tweeki-ELEMENT-wrapperclass: btn-group btn-block

Class for the wrapper element.

Mediawiki:Tweeki-ELEMENT-dropdownclass: push-right

Class for the dropdown ul-tag.

Navbar

Mediawiki:Tweeki-navbar-brand: {{SITENAME}}

Content of the "brand" link. You can also use a image, e.g. set the content of the message to File:MYFILE.png (without brackets) and costumize size and positioning for .navbar-brand img.

Mediawiki:Tweeki-navbar-left: empty

Content of the left side of the navbar.

Mediawiki:Tweeki-navbar-right: TOOLBOX, PERSONAL, SEARCH

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.

Mediawiki:Tweeki-subnav-navclass: navigation nav nav-pills pull-right

Classes to use for the subnavigation. For further possibilities see http://getbootstrap.com/components/#nav

Sidebar

Mediawiki:Tweeki-sidebar: EDIT-EXT,TOC

Content of the sidebar.

Footer

Mediawiki:Tweeki-footer:FOOTER

Add custom elements before or after the default content or replace the default content alltogether.

Mediawiki:Tweeki-footer-custom:

Additional content for the footer - will be placed between the standard text footers and the icon footers. The element's name to use for the hiding mechanisms provided by Tweeki is footer-custom.

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: Edit Section

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: <span class='glyphicon glyphicon-pencil'></span>

Icon to insert into the Edit Section Button

Link Customization

Mediawiki:Tweeki-login: Login / Create Account

Text used for the login link.

Mediawiki:Tweeki-toolbox: empty

Custom link content for toolbox dropdown. (you can also use an icon, e.g. <span class="glyphicon glyphicon-cog"></span>)

Mediawiki:Tweeki-edit-ext: Edit $1

Text for the EDIT-EXT button

Preferences

Mediawiki:Prefs-tweeki-advanced: Advanced Features

Heading for the preferences

Mediawiki:Prefs-tweeki-advanced-desc: Show advanced features

Descriptive Text for the advanced features option in the preferences.

Mediawiki:Prefs-tweeki-advanced-desc: Some features that you might know from other MediaWiki installations have possibly been hidden by the administrator in order not to confuse the average user. Set this option to show them.

Help Text for the advanced features option in the preferences.

Meta

Mediawiki:Skinname-tweeki: Tweeki

Name of the skin.

Mediawiki:Tweeki-desc: Tweeki is built on top of Strapping which is built on top of a modified Vector theme from MediaWiki and utilizes Twitter's Bootstrap for base layout, typography, and additional widgets.

Description of the skin.

Mediawiki:Tweeki-toc-top: to top

Text for the 'to top' link in the TOC.