Difference between revisions of "Messages"
(→Footer) |
|||
Line 57: | Line 57: | ||
: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 <code>footer-custom</code>. | :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 <code>footer-custom</code>. | ||
− | [[Mediawiki:Tweeki-footer-class]]: footer | + | [[Mediawiki:Tweeki-footer-class]]: footer-sticky |
− | :Classes to use for the footer. | + | :Classes to use for the footer. Add your own classes or use Tweeki's standard classes <code>footer-sticky</code> (footer will only be fixed at the bottom if the page content is smaller than the height of the screen) or <code>footer-fixed</code> (footer will always be fixed). |
=== Edit Section Button === | === Edit Section Button === |
Revision as of 13:30, 13 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.
You can customize the general appearance for all of the following with these system messages:
Mediawiki:Tweeki-ELEMENT-btnclass: 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.
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
Mediawiki:Tweeki-subnav: SIDEBAR
- Content of the sub navigation. Set to "-" to not show a sub navigation.
Mediawiki:Tweeki-subnav-class: 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.
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
.
Mediawiki:Tweeki-footer-class: footer-sticky
- Classes to use for the footer. Add your own classes or use Tweeki's standard classes
footer-sticky
(footer will only be fixed at the bottom if the page content is smaller than the height of the screen) orfooter-fixed
(footer will always be fixed).
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.