Template:Footer

From 1100ad

(Difference between revisions)
m (sandbox parameter)
m (Fixed bug for NAMESPACE sandboxes)
Line 18: Line 18:
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>
-
<table width=100% style="border-top:1px solid #a0a000"><tr><td>{{{Menu|}}} {{#ifeq:{{{Sand|n}}}|y|[[{{PAGENAME}}/Sandbox|[Sandbox]]]}}</td><td align="right">{{{Extra|}}}</td></tr></table>
+
<table width=100% style="border-top:1px solid #a0a000"><tr><td>{{{Menu|}}} {{#ifeq:{{{Sand|n}}}|y|[[{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{PAGENAME}}/Sandbox|[Sandbox]]]}}</td><td align="right">{{{Extra|}}}</td></tr></table>

Revision as of 14:15, 3 January 2011

Parameters:

  • Menu:displays on left side
  • Extra:displays on right side
  • Sand:Make a sandbox for the page? y/n

Example:

{{Footer
| Menu = [[Main Page|Home]]
| Sand = y/n
| Extra = Translated by: User
}}

All settings are optional.
It will default to show only horizontal line.