Template:Edit/doc: Difference between revisions

From Starfy Wiki
Jump to navigationJump to search
m 1 revision
No edit summary
 
Line 6: Line 6:
:<code><nowiki>{{edit}}</nowiki></code> gives...
:<code><nowiki>{{edit}}</nowiki></code> gives...
:{{edit}}
:{{edit}}
:<code><nowiki>{{edit|Wikia Templates}}</nowiki></code> gives...
:<code><nowiki>{{edit|Starfy}}</nowiki></code> gives...
:{{edit|Wikia Templates}}
:{{edit|Starfy}}
:<code><nowiki>{{edit|Wikia Templates|edit the main page!}}</nowiki></code> gives...
:<code><nowiki>{{edit|Main Page|edit the main page!}}</nowiki></code> gives...
:{{edit|Wikia Templates|edit the main page!}}
:{{edit|Main Page|edit the main page!}}


<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 23:42, 8 March 2014

Description
This template creates a clickable edit link for the given page name.
Syntax
Type {{edit}}, {{edit|<pagename>}} or {{edit|<pagename>|<linkname>}}.
Sample output
{{edit}} gives...
[edit]
{{edit|Starfy}} gives...
[edit]
{{edit|Main Page|edit the main page!}} gives...
[edit the main page!]