Template:Edit: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.)
mNo edit summary
 
Line 1: Line 1:
{{cleanup|The param <code>editlinkstyle&#61;</code> is misleadingly named, because only the brackets will change color.}}
Use: <nowiki>{{edit|pagename|optional link text|editlinkstyle=optional_CSS}}</nowiki>
''Use: <tt><nowiki>{{edit|pagename|optional link text|editlinkstyle=optional_CSS}}</nowiki></tt>''<br>
 
''Creates a clickable edit link for the given page name.''
Creates a clickable edit link for the given page name.


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


----
----
;Template
;Template
<onlyinclude><span class="plainlinks" {{#if:{{{editlinkstyle|}}}|style="{{{editlinkstyle|}}}"}}>&#x5b;[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action=edit}} {{{2|edit}}}]&#x5d;</span></onlyinclude>
<onlyinclude><span class="plainlinks" {{#if:{{{editlinkstyle|}}}|style="{{{editlinkstyle|}}}"}}>&#x5b;[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action=edit}} {{{2|edit}}}]&#x5d;</span></onlyinclude><!--
 
-->[[Category:General wiki templates|{{PAGENAME}}]]
[[Category:General wiki templates|{{PAGENAME}}]]
[[ru:Шаблон:Правка]]

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]