Template:Header

From 1100ad

(Difference between revisions)
m (testing title)
m
 
(7 intermediate revisions not shown)
Line 1: Line 1:
-
<table width="100%" style="border-bottom:1px solid #a0a000;"><tr><td>{{{Menu|}}}</td><td align=right width="*">{{{ed|Last Edited}}}: {{REVISIONDAY}}.{{REVISIONMONTH}}.{{REVISIONYEAR}} {{{by|by}}} [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]]</td></tr><tr><td width="*">{{{Extra|}}}</td><td align=right width="*">{{{Author|}}}</td></tr><tr><td colspan=2 style="border-bottom:1px solid #a0a000; {{{inTitle|display:none;}}}"><span class="mw-headline">{{{1|None}}}</span></td></tr></table>
+
<table width="100%"><tr><td>{{{Menu|}}} {{#ifeq:{{{Sand|n}}}|y|[[{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{PAGENAME}}/Sandbox|[Sandbox]]]}}</td><td align=right width="*">{{{ed|Last Edited}}}: {{REVISIONDAY}}.{{REVISIONMONTH}}.{{REVISIONYEAR}} {{{by|by}}} [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]]</td></tr>
 +
<tr><td width="*">{{{Extra|}}}</td><td align=right width="*">{{{Author|}}}</td></tr>
 +
<tr><td height="1px" style="border-bottom:1px solid #a0a000;" colspan=2></td></tr>
 +
<tr><td colspan=2 style="border-bottom:1px solid #a0a000;{{{1|display:none;}}}"><span class="mw-headline">{{{2|None}}}</span></td></tr></table>
<noinclude>
<noinclude>
Usage:
Usage:
-
<pre><nowiki>{{Header|
+
<pre><nowiki>{{Header
| ed = Edited
| ed = Edited
| by = by
| by = by
Line 8: Line 11:
| Author =
| Author =
| Extra =
| Extra =
 +
| Sand = y/n
}}
}}
</nowiki></pre>
</nowiki></pre>
Example: (Used at [[FAQ]])
Example: (Used at [[FAQ]])
-
<pre><nowiki>{{Header|
+
<pre><nowiki>{{Header
| Author = Author: Players and Developers
| Author = Author: Players and Developers
| Extra = Translated by: Feildmaster
| Extra = Translated by: Feildmaster
Line 21: Line 25:
It will default to show only (Last edited DATE by USER) in english.
It will default to show only (Last edited DATE by USER) in english.
 +
 +
{{Sort}}
[[Category:Templates]]
[[Category:Templates]]
[[Category:Display Templates]]
[[Category:Display Templates]]
</noinclude>
</noinclude>

Current revision as of 03:53, 6 January 2011

Last Edited: 6.1.2011 by feildmaster
None

Usage:

{{Header
| ed = Edited
| by = by
| Menu =
| Author =
| Extra =
| Sand = y/n
}}

Example: (Used at FAQ)

{{Header
| Author = Author: Players and Developers
| Extra = Translated by: Feildmaster
}}

All settings are optional.
It will default to show only (Last edited DATE by USER) in english.