Difference between revisions of "Footer Examples"

From Tweeki
Jump to: navigation, search
Line 68: Line 68:
  
 
=== Show Only Custom Links ===
 
=== Show Only Custom Links ===
 +
 +
You can add as many links as you wish using standard [[Buttons|button markup]].
  
 
{{footer-settings
 
{{footer-settings
   |msg-footer-custom=My Page
+
   |msg-footer-custom=My Page,Another Page
 
   |config-options=
 
   |config-options=
 
$wgTweekiSkinHideLoggedin['footer-custom'] = false;
 
$wgTweekiSkinHideLoggedin['footer-custom'] = false;
 
$wgTweekiSkinHideAll['footer-places'] = true;
 
$wgTweekiSkinHideAll['footer-places'] = true;
 
   |content=<ul id="footer-custom">
 
   |content=<ul id="footer-custom">
<li class="dropup">[[Welcome|My Page]]</li>
+
<li class="dropup">[[Welcome|My Page]]</li><li class="dropup">[[Welcome|Another Page]]</li>
 
</ul>
 
</ul>
 
}}
 
}}

Revision as of 21:12, 10 March 2017

Default

By default, footer-info is hidden for all users, and footer-custom (with a login link as standard content) will only be shown to anonymous users.

This is how the footer looks for anonymous users:

CONFIG Messages Configuration Options
  • MediaWiki:Tweeki-footer: FOOTER
  • MediaWiki:Tweeki-footer-custom: LOGIN
$wgTweekiSkinHideAll['footer-info'] = true;

$wgTweekiSkinHideLoggedin['footer-custom'] = true;

RESULT

Settings for tweeki.thai-land.at

CONFIG Messages Configuration Options
$wgTweekiSkinHideAll['footer-icons'] = true;
RESULT

Show footer-info

footer-info contains information about the time of the last edit and about the copyright.

You can additionally set $wgMaxCredits to a non-zero value to show one, some or all of the contributors to a page.


CONFIG Messages Configuration Options
$wgTweekiSkinHideAll['footer-info'] = false;
RESULT

Add Custom Links

CONFIG Messages Configuration Options
  • MediaWiki:Tweeki-footer-custom: My Page
$wgTweekiSkinHideLoggedin['footer-custom'] = false;
RESULT

Show Only Custom Links

You can add as many links as you wish using standard button markup.

CONFIG Messages Configuration Options
  • MediaWiki:Tweeki-footer-custom: My Page,Another Page
$wgTweekiSkinHideLoggedin['footer-custom'] = false;

$wgTweekiSkinHideAll['footer-places'] = true;

RESULT