Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Edit: Difference between revisions

Template page
Undo revision 112917 by Abelard andedare (talk)
Djavin novienta (talk | contribs)
Moved documentation to Template:Edit/doc
 
Line 1: Line 1:
[[image:notepad.png|{{#switch: {{{2|}}} | = 12 | #default = {{{2}}}}}px|link=http://wiki.eveuniversity.org/index.php?title={{{1|}}}&action=edit|Click to edit.]]<noinclude>
<includeonly>[[image:notepad.png|{{#switch: {{{2|}}} | = 12 | #default = {{{2}}}}}px|link=http://wiki.eveuniversity.org/index.php?title={{{1|}}}&action=edit|Click to edit.]]</includeonly><noinclude>
 
{{documentation}}
== Usage ==
It's a simple template, you just add the page you want the edit to lead to and optionally the size of the notepad image as a second argument:
* <nowiki>{{ edit | article | size }}</nowiki>
== Example ==
This code:
 
{{co|yellow|<nowiki>{{ edit |  Template:Edit }}</nowiki>}}
 
Would result in this:
 
{{edit|Template:Edit}}
 
And this code:
 
{{co|yellow|<nowiki>{{ edit | Template:Edit | 32 }}</nowiki>}}
 
Would result in this:
 
{{edit|Template:Edit|32}}
 
</noinclude>
</noinclude>