Template:Stub: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
No edit summary
m (Protected "Template:Stub": Excessive vandalism ([edit=sysop] (expires 13:13, 24 September 2012 (UTC)) [move=sysop] (expires 13:13, 24 September 2012 (UTC))))
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
// ==UserScript==
<includeonly><div class="notice metadata" id="stub">''This article is a [[:Category:Stubs|stub]]. You can help GreaseSpot by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]</span>. ''</div>[[Category:Stubs]]</includeonly>
// @name          Helvetimail
<noinclude>
// @namespace      http://josefrichter.com
== Summary ==
// @description    A skin for Gmail by www.josefrichter.com
Place this template reference near the top of articles that are incomplete.
// @include        http://mail.google.com/*
// @include        https://mail.google.com/*
// @include        http://*.mail.google.com/*
// @include        https://*.mail.google.com/*
// ==/UserScript==


== Syntax ==
<nowiki>{{stub}}</nowiki>


== Examples ==
{{stub}}


var hal = function (){
[[Category:Templates]]
var css = '@import "http://www.josefrichter.com/helvetimail.css";';
</noinclude>
if (typeof GM_addStyle != "undefined") {
GM_addStyle(css);
} else if (typeof addStyle != "undefined") {
addStyle(css);
} else {
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
var node = document.createElement("style");
//node.type = "text/css";
node.innerHTML = css;
heads[0].appendChild(node);
}
}
}
 
window.setTimeout(hal, 4000);

Latest revision as of 13:13, 24 September 2011


Summary

Place this template reference near the top of articles that are incomplete.

Syntax

{{stub}}

Examples