Template:Header

From 1100ad

(Difference between revisions)
m
m (Sandbox parameter (May contain bugs...))
Line 1: Line 1:
-
<table width="100%"><tr><td>{{{Menu|}}}</td><td align=right width="*">{{{ed|Last Edited}}}: {{REVISIONDAY}}.{{REVISIONMONTH}}.{{REVISIONYEAR}} {{{by|by}}} [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]]</td></tr>
+
<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 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 height="1px" style="border-bottom:1px solid #a0a000;" colspan=2></td></tr>
Line 11: Line 11:
| Author =
| Author =
| Extra =
| Extra =
 +
| Sand = y/n
}}
}}
</nowiki></pre>
</nowiki></pre>

Revision as of 14:12, 3 January 2011

Last Edited: 3.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.