Difference between revisions of "Template:Ed right"

From Wolfire Games Wiki
Jump to: navigation, search
m (Created page with "<span class="editlink noprint plainlinks navbar">[{{fullurl:{{transclude|{{{1}}}}}|action=edit}} {{#if:{{{2|}}}|{{{2|}}}|edit}}]</span><noinclude> {{documentation}}</noinclude>")
 
m
 
Line 1: Line 1:
<span class="editlink noprint plainlinks navbar">[{{fullurl:{{transclude|{{{1}}}}}|action=edit}} {{#if:{{{2|}}}|{{{2|}}}|edit}}]</span><noinclude>
+
<div class="editsection noprint editlink plainlinks" align="right" style="float: right; margin-left: 5px;"><small>[{{fullurl:{{transclude|{{#if:{{{namespace|}}}|{{{namespace|}}}:}}{{{1}}}}}|action=edit}} edit{{#if:{{{2|}}}|&#32;{{{2}}}}}]</small></div><noinclude>
{{documentation}}</noinclude>
+
{{documentation}}
 +
</noinclude>

Latest revision as of 03:10, 4 March 2012

[edit] [purge] 50px Template documentation

Usage

{{ed right|SomeTemplate}} gives
{{ed right|SomeTemplate|this link}} gives
Caveats:
It doesn't work too well within lists. In tables better use a row |align="right"|{{ed|SomeTemplate|this link}} instead of {{ed right}}

See also

  • {{Ed}} – navbar style edit link
  • {{Ed right}} – navbar style edit link aligned to right of page
  • {{Edit}} – plain edit link
  • {{Edit section}} – edit link aligned to right of page

With additional links: