Template:Edit: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.) |
||
Line 1: | Line 1: | ||
{{cleanup|The param <code>editlinkstyle=</code> is misleadingly named, because only the brackets will change color.}} | |||
''Use: <tt><nowiki>{{edit|pagename|optional link text|editlinkstyle=optional_CSS}}</nowiki></tt>''<br> | |||
''Creates a clickable edit link for the given page name.'' | |||
;Examples | |||
:<code>{{t2|Edit|Agility_gems/mists|Edit this section|editlinkstyle=color:gray; font-size:80%; float:right; margin-top:-3.3em;}}</code> → | |||
{{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|}}}"}}>[[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action=edit}} {{{2|edit}}}]]</span></onlyinclude> | |||
[[Category:General wiki templates|{{PAGENAME}}]] | |||
[[ru:Шаблон:Правка]] |
Revision as of 22:13, 7 October 2015
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;}}
→
- Template