Page Notice

From Foundation
Jump to navigation Jump to search

Page Notice

If you've decided to use PageNotice to create a custom footer for your wiki, this page describes how to set up, it's pretty simple, at least it will be for you!

So the extension works by providing a footer on a per namespace basis, so you'll maybe need to create 6 footers (perhaps more or less), it depends on how your wiki is setup.

Create the following pages;

MediaWiki:bottom-notice-ns-0
MediaWiki:bottom-notice-ns-1
MediaWiki:bottom-notice-ns-2
MediaWiki:bottom-notice-ns-3
MediaWiki:bottom-notice-ns-4
MediaWiki:bottom-notice-ns-5

These pages represent;

  • ns-0 Main Namespace
  • ns-1 Main Talk Namespace
  • ns-2 User Pages
  • ns-3 User Talk Pages
  • ns-4 Project Page (for this wiki it's Foundation: pages)
  • ns-5 Project Talk Pages

If it helps this is what I've used for this wiki's footer.

<hr />
<div class="card-body">
[[#mw-head|<div class="btn btn-primary btn-sm" style="float:right;cursor:pointer;" class="going-top">TOP <i class="fas fa-level-up-alt"></i></div>]]
<p class="text-center">© 2020 IDEVICEUK Registered in England & Wales No. 12451454 - Visit [https://colchesterwebdesign.co/product/foundation/ IDEVICEUK] to download Foundation.</p>
<p class="text-center">[[Foundation:Privacy_policy|Privacy Policy]] | [[Foundation:About|About Foundation]] | [[Foundation:General_disclaimer|Disclaimers]] | [[Foundation:Cookie_policy|Cookie Policy]] | [[Foundation:Terms_and_Conditions|Terms]] | [[Foundation:Returns_policy|Returns Policy]]</p>
<hr />
<p class="text-center">[[Main Page]] | [[Documentation]]<p>
</div>

The "To the Top" functionality is built into the extension, so it'll smooth scroll for you too.



TOP

Retrieved from ‘https://foundationextension.com/index.php?title=Page_Notice&oldid=804