Vaf Links

ERMAHGERD STAHP

This is a template page used internally by the SCP Wiki.

PLEASE DO NOT TOUCH THIS PAGE
WITHOUT STAFF PERMISSION


This component is used on Vend-a-Friend articles. It does two things:

  1. Add a link that turns the Wondertainment Theme on or off.
  2. Automate the creation of navigation links.

This component applies the Wondertainment Theme to a page, and imports the Berkshire Swash font, but is not a theme itself.

Made by CroquemboucheCroquembouche at the request of DarkStuffDarkStuff, in 2018.

Usage

Wherever you want the navigation links and theme toggle to appear, add this:

[[include :scp-wiki:component:vaf-links
| position=middle
| previous-page=
| previous-page-name=
| next-page=
| next-page-name=
]]

Any CSS that would override the Wondertainment theme must be placed below this. Other CSS can be placed anywhere.


Replace the variables in this with the names of the pages that you need to link to.

position The position of this page in its series. Either "first", "middle", "last" or "hub".
"first" will show the hub and next page links.
"middle" will show the hub, previous page and next page links.
"last" will show the hub and previous page links.
"hub" will show no links at all.
previous-page The relative URL (or 'fullname') of the previous page in the series.
If there is no previous page, set position to "first".
previous-page-name The title of the previous page in the series.
If there is no previous page, set position to "first".
next-page The relative URL (or 'fullname') of the next page in the series.
If there is no next page, set position to "last".
next-page-name The title of the next page in the series.
If there is no next page, set position to "last".

If you don't want any navigation links, set position to "hub" and don't even include the other parameters.

If the URL of any page is set to just "/", then the link will appear as normal unclickable text and you can put whatever you want there.


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License