Difference between revisions of "Messages"

From Tweeki
Jump to: navigation, search
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Here you can find all messages (and their defaults) that can be easily customized by editing the respective pages:
 
Here you can find all messages (and their defaults) that can be easily customized by editing the respective pages:
 +
 +
=== Appearance ===
 +
 +
{{configmsg|Tweeki-container-class|Class to be used for the main Bootstrap grid. Should be either <code>container</code> (fixed width, maximum at 1170px) or <code>container-fluid</code> (to use the full screen width).}}
  
 
=== Navigational sections ===
 
=== Navigational sections ===
Line 5: Line 9:
 
You can customize the general appearance for all of the following with these system messages:
 
You can customize the general appearance for all of the following with these system messages:
  
'''Mediawiki:Tweeki-ELEMENT-class''': btn btn-primary
+
'''Tweeki-ELEMENT-btnclass''': btn btn-primary
 
:Class for the produced buttons.
 
:Class for the produced buttons.
  
'''Mediawiki:Tweeki-ELEMENT-wrapper''': li
+
'''Tweeki-ELEMENT-wrapper''': li
 
:HTML element to be used as a wrapper.
 
:HTML element to be used as a wrapper.
  
'''Mediawiki:Tweeki-ELEMENT-wrapperclass''': btn-group btn-block
+
'''Tweeki-ELEMENT-wrapperclass''': btn-group btn-block
 
:Class for the wrapper element.
 
:Class for the wrapper element.
  
'''Mediawiki:Tweeki-ELEMENT-dropdownclass''': push-right
+
'''Tweeki-ELEMENT-dropdownclass''': push-right
 
:Class for the dropdown <code>ul</code>-tag.
 
:Class for the dropdown <code>ul</code>-tag.
  
 
==== Navbar ====
 
==== Navbar ====
  
[[Mediawiki:Tweeki-navbar-brand]]: <nowiki>{{SITENAME}}</nowiki>
+
{{configmsg|Tweeki-navbar-brand|Content of the 'brand' link. You can also use a image, e.g. set the content of the message to <code>File:MYFILE.png</code> (without brackets) and costumize size and positioning for <code>.navbar-brand img</code>.}}
:Content of the "brand" link. You can also use a image, e.g. set the content of the message to <code>File:MYFILE.png</code> (without brackets) and costumize size and positioning for <code>.navbar-brand img</code>.
 
  
[[Mediawiki:Tweeki-navbar-left]]: ''empty''
+
{{configmsg|Tweeki-navbar-left|Content of the left side of the navbar.}}
:Content of the left side of the navbar.
 
  
[[Mediawiki:Tweeki-navbar-right]]: TOOLBOX, PERSONAL, SEARCH
+
{{configmsg|Tweeki-navbar-right|Content of the right side of the navbar.}}
:Content of the right side of the navbar.
 
  
[[Mediawiki:Tweeki-navbar-class]]: navbar navbar-default navbar-fixed-top
+
{{configmsg|Tweeki-navbar-class|Classes to use for the navbar. For further possibilities see http://getbootstrap.com/components/#navbar}}
:Classes to use for the navbar. For further possibilities see http://getbootstrap.com/components/#navbar
 
  
 
==== Subnavigation ====
 
==== Subnavigation ====
  
[[Mediawiki:Tweeki-subnav]]: SIDEBAR
+
{{configmsg|Tweeki-subnav|Content of the sub navigation. Set to '-' to not show a sub navigation.}}
:Content of the sub navigation. Set to "-" to not show a sub navigation.
 
  
[[Mediawiki:Tweeki-subnav-class]]: navigation nav nav-pills pull-right
+
{{configmsg|Tweeki-subnav-class|Classes to use for the subnavigation. For further possibilities see http://getbootstrap.com/components/#nav}}
:Classes to use for the subnavigation. For further possibilities see http://getbootstrap.com/components/#nav
 
  
 
==== Sidebar ====
 
==== Sidebar ====
  
[[Mediawiki:Tweeki-sidebar]]: EDIT-EXT,TOC
+
{{configmsg|Tweeki-sidebar-left|Content of the left sidebar.}}
:Content of the sidebar.
+
 
 +
{{configmsg|Tweeki-sidebar-right|Content of the right sidebar.}}
  
 
==== Footer ====
 
==== Footer ====
  
[[Mediawiki:Tweeki-footer]]:FOOTER
+
{{configmsg|Tweeki-footer|Add custom elements before or after the default content or replace the default content alltogether.}}
:Add custom elements before or after the default content or replace the default content alltogether.
+
 
 +
{{configmsg|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 <code>footer-custom</code>.}}
 +
 
 +
{{configmsg|Tweeki-footer-class|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).}}
  
[[Mediawiki:Tweeki-footer-custom]]:
+
=== Edit Section Link ===
: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>.
 
  
=== Edit Section Button ===
+
You can customize the appearance of the edit section button with system messages (if <code>wgTweekiSkinCustomEditSectionLink</code> is set to <code>true</code>). You can also use customized CSS to change aligning etc. Tweeki's default button should look like this and will only be shown when hovering over the section's headline: <btn wrapper="" class="bnt-link">|<i class="fa fa-pen"></i></btn>
  
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 could easily change it to something like this <btn wrapper="" class="btn btn-outline-secondary btn-sm">|<i class='fa fa-pen'></i> Edit Section</btn> – by using the following messages:
  
[[Mediawiki:Tweeki-editsection-text]]: Edit section
+
{{configmsg|Tweeki-editsection-text|Text for the edit section link}}
:Text for the Edit Section Button
 
  
[[Mediawiki:Tweeki-editsection-class]]: btn btn-default btn-xs
+
{{configmsg|Tweeki-editsection-class|Classes to use for the edit section link}}
:Classes to use for the Edit Section Button
 
  
[[Mediawiki:Tweeki-editsection-icon]]: <nowiki><span class='glyphicon glyphicon-pencil'></span></nowiki>
+
{{configmsg|Tweeki-editsection-icon|Icon to insert into the edit section link}}
:Icon to insert into the Edit Section Button
 
  
 
=== Link Customization ===
 
=== Link Customization ===
  
[[Mediawiki:Tweeki-login]]: Login / Create Account
+
{{configmsg|Tweeki-login|Text used for the login link.}}
:Text used for the login link.
 
  
[[Mediawiki:Tweeki-toolbox]]: ''empty''
+
{{configmsg|Tweeki-toolbox|Custom link content for toolbox dropdown.}}
:Custom link content for toolbox dropdown. (you can also use an icon, e.g. <code><nowiki><span class="glyphicon glyphicon-cog"></span></nowiki></code>)
 
  
[[Mediawiki:Tweeki-edit-ext]]: Edit $1
+
{{configmsg|Tweeki-edit-ext|Text for the EDIT-EXT button}}
:Text for the EDIT-EXT button
 
  
 
=== Preferences ===
 
=== Preferences ===
  
[[Mediawiki:Prefs-tweeki-advanced]]: Advanced Features
+
{{configmsg|Prefs-tweeki-advanced|Heading for the preferences}}
:Heading for the preferences
 
  
[[Mediawiki:Prefs-tweeki-advanced-desc]]: Show advanced features
+
{{configmsg|Prefs-tweeki-advanced-desc|Descriptive Text for the advanced features option in the preferences.}}
: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.
+
{{configmsg|Prefs-tweeki-advanced-help|Help Text for the advanced features option in the preferences.}}
:Help Text for the advanced features option in the preferences.
 
  
 
=== Meta ===
 
=== Meta ===
  
[[Mediawiki:Skinname-tweeki]]: Tweeki
+
{{configmsg|Skinname-tweeki|Name of the skin.}}
: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.
+
{{configmsg|Tweeki-skin-desc|Description of the skin.}}
:Description of the skin.
 
  
[[Mediawiki:Tweeki-toc-top]]: to top
+
{{configmsg|Tweeki-toc-top|Text for the 'to top' link in the TOC.}}
:Text for the 'to top' link in the TOC.
 

Latest revision as of 22:27, 16 November 2020

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

Appearance

Tweeki-container-class: container

Class to be used for the main Bootstrap grid. Should be either container (fixed width, maximum at 1170px) or container-fluid (to use the full screen width).

Navigational sections

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

Tweeki-ELEMENT-btnclass: btn btn-primary

Class for the produced buttons.

Tweeki-ELEMENT-wrapper: li

HTML element to be used as a wrapper.

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

Class for the wrapper element.

Tweeki-ELEMENT-dropdownclass: push-right

Class for the dropdown ul-tag.

Navbar

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.

Tweeki-navbar-left:

Content of the left side of the navbar.

Tweeki-navbar-right: TOOLBOX,PERSONAL,SEARCH

Content of the right side of the navbar.

Tweeki-navbar-class: navbar navbar-default navbar-fixed-top navbar-expand-lg fixed-top navbar-light bg-light

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

Subnavigation

Tweeki-subnav:

Content of the sub navigation. Set to '-' to not show a sub navigation.

Tweeki-subnav-class: navigation nav nav-pills pull-right justify-content-end

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

Sidebar

Tweeki-sidebar-left:

Content of the left sidebar.

Tweeki-sidebar-right: EDIT-EXT,TOC

Content of the right sidebar.

Footer

Tweeki-footer: FOOTER

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

Tweeki-footer-custom: LOGIN

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.

Tweeki-footer-class: footer-sticky bg-light

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) or footer-fixed (footer will always be fixed).

Edit Section Link

You can customize the appearance of the edit section button with system messages (if wgTweekiSkinCustomEditSectionLink is set to true). You can also use customized CSS to change aligning etc. Tweeki's default button should look like this and will only be shown when hovering over the section's headline:

You could easily change it to something like this – Edit Section – by using the following messages:

Tweeki-editsection-text:

Text for the edit section link

Tweeki-editsection-class: tw-editsection-onhover

Classes to use for the edit section link

Tweeki-editsection-icon: <span class='fa fa-pen'></span>

Icon to insert into the edit section link

Link Customization

Tweeki-login: Login / Create Account

Text used for the login link.

Tweeki-toolbox: <span class='fa fa-cog'></span>

Custom link content for toolbox dropdown.

Tweeki-edit-ext: Edit $1

Text for the EDIT-EXT button

Preferences

Prefs-tweeki-advanced: Advanced features

Heading for the preferences

Prefs-tweeki-advanced-desc: Show advanced features

Descriptive Text for the advanced features option in the preferences.

Prefs-tweeki-advanced-help: 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

Skinname-tweeki: Tweeki

Name of the skin.

Tweeki-skin-desc: A skin based on Bootstrap

Description of the skin.

Tweeki-toc-top: to top

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