Template:Edit: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Making edit link default to current page)
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Use: <nowiki>{{edit|pagename|optional link text|editlinkstyle=optional_CSS}}</nowiki>


Creates a clickable edit link for the given page name.
;Examples
:<code>{{t2|Edit|Agility_gems/mists|Edit this section|editlinkstyle&#61;color:gray; font-size:80%; float:right; margin-top:-3.3em;}}</code> &rarr;
{{Edit|Agility_gems/mists|Edit this section|editlinkstyle=color:gray; font-size:80%; float:right; margin-top:-3.3em;}}
----
;Template
<onlyinclude><span class="plainlinks" {{#if:{{{editlinkstyle|}}}|style="{{{editlinkstyle|}}}"}}>&#x5b;[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action=edit}} {{{2|edit}}}]&#x5d;</span></onlyinclude><!--
-->[[Category:General wiki templates|{{PAGENAME}}]]

Latest revision as of 01:34, 22 May 2020

Use: {{edit|pagename|optional link text|editlinkstyle=optional_CSS}}

Creates a clickable edit link for the given page name.

Examples
{{Edit|Agility_gems/mists|Edit this section|editlinkstyle=color:gray; font-size:80%; float:right; margin-top:-3.3em;}}

[Edit this section]


Template

[edit]