Jump to content

User:RDF/monobook.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* Add Spirituality links to top of page */

setTimeout("spirituality()", 0);

function spirituality() {
var div = document.createElement("div");

div.innerHTML = '<p style="clear:both; margin:0 3px .8em 3px; text-align: center; margin-top: 0; margin-bottom:.2em; font-size: 105%;"><span style="font-variant: small-caps"> <a  href="/wiki/Spirituality" title="Spirituality">Spirituality</a>: <a href="/wiki/Portal:Spirituality" title="Portal:Spirituality">Portal</a> | <a href="/wiki/Glossary of spirituality-related terms" title="Glossary of spirituality-related terms">Glossary</a> | <a href="/wiki/Category:Spirituality" title="Category:Spirituality">Category</a> - <a href="/wiki/Category:Shabd paths" title="Category:Shabd paths">Shabd paths</a> | <a href="/wiki/List of spirituality-related topics" title="List of spirituality-related topics">List</a> | <a href="/wiki/Category:Spiritual and religious images" title="Category:Spiritual and religious images">Images</a> | <a href="/wiki/List_of_symbols#Religious.2C_esoteric.2C_metaphysical_and_mystical_symbols" title="List_of_symbols#Religious.2C_esoteric.2C_metaphysical_and_mystical_symbols">Symbols</a> | <a href="/wiki/Wikipedia:WikiProject Spirituality" title="Wikipedia:WikiProject Spirituality">Project</a></p>'

document.getElementById("content").insertBefore(div, document.getElementsByTagName("h1")[0]);

}