Difference between revisions of "Footer Examples"
From Tweeki
| Line 49: | Line 49: | ||
</ul><ul id="footer-custom"> | </ul><ul id="footer-custom"> | ||
<li class="dropup">[[Welcome|Login]]</li> | <li class="dropup">[[Welcome|Login]]</li> | ||
| + | </ul> | ||
| + | }} | ||
| + | |||
| + | === Add Custom Content === | ||
| + | |||
| + | {{footer-settings | ||
| + | |msg-footer-custom=My Page | ||
| + | |config-options= | ||
| + | $wgTweekiSkinHideLoggedin['footer-custom'] = false; | ||
| + | |content=<ul id="footer-info"><li id="footer-info-lastmod">This page was last modified on 10 March 2017, at 19:32.</li><li id="footer-info-copyright">Content is available under [[Welcome|CC-by-sa]].</li></ul><ul id="footer-places"> | ||
| + | <li id="footer-places-privacy">[[Tweeki:Privacy policy|Privacy policy]]</li> | ||
| + | <li id="footer-places-about">[[Tweeki:About|About Tweeki]]</li> | ||
| + | <li id="footer-places-disclaimer">[[Tweeki:General disclaimer|Disclaimers]]</li> | ||
| + | </ul><ul id="footer-custom"> | ||
| + | <li class="dropup">[[Welcome|My Page]]</li> | ||
</ul> | </ul> | ||
}} | }} | ||
Revision as of 20:08, 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 |
|---|---|---|
|
$wgTweekiSkinHideAll['footer-info'] = true;
$wgTweekiSkinHideLoggedin['footer-custom'] = true; | |
| RESULT | ||
Settings for tweeki.thai-land.at
| CONFIG | Messages | Configuration Options |
|---|---|---|
| $wgTweekiSkinHideAll['footer-icons'] = true; | ||
| RESULT | ||
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 Content
| CONFIG | Messages | Configuration Options |
|---|---|---|
|
$wgTweekiSkinHideLoggedin['footer-custom'] = false; | |
| RESULT | ||