Template:Edit: Difference between revisions

From AddOn Studio
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&#61;</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&#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}}]]
[[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;}}

[Edit this section]



Template

[edit] ru:Шаблон:Правка