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
Djavin novienta (talk | contribs)
Moved documentation to Template:Edit/doc
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[image:notepad.png|{{#switch: {{{1|}}} | = 12 | #default = {{{1}}}}}px|link=http://wiki.eveuniversity.org/w/index.php?title={{FULLPAGENAME}}&action=edit|Click to edit.]]
<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>
<noinclude>
{{documentation}}
 
== Usage ==
It's a simple template, you just add the template where you want the edit and optionally the size of the notepad image as an argument:
* <nowiki>{{ edit | 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>