Difference between revisions of "Messages"
Line 33: | Line 33: | ||
==== Subnavigation ==== | ==== Subnavigation ==== | ||
− | {{ | + | {{configmsg|Tweeki-subnav}} |
− | {{ | + | {{configmsg|Tweeki-subnav-class}} |
==== Sidebar ==== | ==== Sidebar ==== |
Revision as of 12:15, 14 March 2015
Here you can find all messages (and their defaults) that can be easily customized by editing the respective pages:
Appearance
Tweeki-container-class: container
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.
Tweeki-navbar-brand: {{SITENAME}}
Tweeki-navbar-right: TOOLBOX,PERSONAL,SEARCH
Tweeki-navbar-class: navbar navbar-default navbar-fixed-top navbar-expand-lg fixed-top navbar-light bg-light
Tweeki-subnav-class: navigation nav nav-pills pull-right justify-content-end
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.