Template:Edit/doc

From EVE University Wiki
< Template:Edit
Revision as of 12:43, 15 March 2021 by Arin Mara (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Main article: Template:Edit
Description
This template generates an edit link to the specified page in the form of a icon, for example if you want to add a direct edit link to a template used as a portal for many other pages. If called from inside the portal-template itself, the page in question would be the page it's called from (the main article) and not the template itself, due to how transclusion is parsed. Thus the need for this template.
Usage
Add the page you want the edit link to lead to and optionally the size of the notepad image as a second argument:
{{edit|article|size}}
Example
This code:
{{edit|Template:Edit}}
Would result in this:
Click to edit.
And this code:
{{edit|Template:Edit|32}}
Would result in this:
Click to edit.