Difference between revisions of "Template:Ed right"

From blackwiki
Jump to navigation Jump to search
imported>WJBscribe
(<noinclude>{{pp-template}}</noinclude>)
imported>NeilN
m (Changed protection level of Template:Ed right: Highly visible template ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{pp-template}}</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>
<div class="editsection noprint editlink plainlinksneverexpand" align="right" style="float: right; margin-left: 5px;"><small>[{{fullurl:{{{namespace|Template}}}:{{{1}}}|action=edit}} edit{{#if:{{{2|}}}|&#32;{{{2}}}}}]</small></div><noinclude>
+
{{documentation}}
----
 
;Usage&#58;
 
:{{Tlx|ed right|SomeTemplate}} gives {{ed right|SomeTemplate}}
 
:{{Tlx|ed right|SomeTemplate|this link}} gives {{ed right|SomeTemplate|this link}}
 
;Caveats&#58;
 
:It doesn't work too well within lists. In tables better use a row <tt>|align="right"|</tt>{{Tlx|ed|SomeTemplate|this link}} instead of {{Tlx|ed right}}
 
;See also
 
:{{lts|Ed}}
 
:{{lts|Edi}}
 
:{{lts|Ed right}}
 
:{{lts|Edit}}
 
:{{lts|Ed2}}
 
:{{lts|Ed right2}}
 
[[Category:Internal link templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 14:42, 9 September 2015

Template documentation[view] [edit] [history] [purge]

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

[] Compare different edit templates:
  • {{Ed}} —– plain-style edit link surrounded by <small> tags, specifically for templates only
  • {{Ed right}} —– plain-style edit link surrounded by <small> tags and aligned to right of page, specifically for templates only
  • {{Edit}} —– plain-style edit link, applicable to all Wikipedia namespaces
  • {{Edit section}} —– edit link surrounded by <div> tags by default which can specify which section to edit on a page, applicable to all Wikipedia namespaces
  • {{Edit sup}} —– plain-style edit link surrounded by <sup> tags, applicable to all Wikipedia namespaces
  • {{Edit sub}} —– plain-style edit link surrounded by <sub> tags, applicable to all Wikipedia namespaces
  • {{Vedit}} —– plain-style edit link which edit with the Wikipedia:VisualEditor, applicable to all Wikipedia namespaces

Templates with view, talk and edit links:

  • {{Navbar}} —– navigation bar with configurable caption and view·talk·edit links, specifically for templates only
  • {{View}} —– navbar-style view·talk·edit links, specifically for templates only
  • {{VTE}} & {{V}} —– navbar-style V·T·E links (i.e. view·talk·edit links in short forms), specifically for templates only
  • {{View}}

fr:modèle:Ed right ja:template:edr