General Disclaimer:   (HV) (DC) injury or death hazard,   use at your own risk,   may void warranty.

Difference between revisions of "Template:EditThis"

From My wiki
Jump to navigation Jump to search
(optional link text.)
(only logged in users which are not numeric IP.ADD.RES.SES will work)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="clear:right; float:right;">[{{SERVER}}{{localurl:{{{1}}}|action=edit}} {{{2|edit}}}]</div>
+
{{#iferror: {{#expr: trunc {{#USERNAME:}} }} |
 +
<div style="clear:{{{2|right}}}; float:{{{2|right}}};">[{{SERVER}}{{localurl:{{{1}}}|action=edit}} {{{3|edit}}}]</div>
 +
| }}<noinclude>
 +
Use this template to add an edit link to an article, only logged in users which are not numeric IP.ADD.RES.SES will work.
 +
 
 +
Arguments:
 +
# The name of the article to edi
 +
# The allignment of the link, default is ''right''.
 +
# The link text, default is ''edit''.
 +
ie:
 +
<nowiki>{{EditThis|Talk:Some Article Name|left|Add your Comments or Corrections on the Talk Page!}}</nowiki>
 +
</noinclude>

Latest revision as of 10:38, 14 June 2020

Use this template to add an edit link to an article, only logged in users which are not numeric IP.ADD.RES.SES will work.

Arguments:

  1. The name of the article to edi
  2. The allignment of the link, default is right.
  3. The link text, default is edit.

ie: {{EditThis|Talk:Some Article Name|left|Add your Comments or Corrections on the Talk Page!}}