Difference between revisions of "Template:Edit"

From EVE University Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
[[image:notepad.png|14px|link=http://wiki.eveuniversity.org/w/index.php?title={{{1|}}}&action=edit|Click to edit.]]<noinclude>
+
[[image:notepad.png|{{#switch: {{{2|}}} | = 12 | #default = {{{2}}}}}px|link=http://wiki.eveuniversity.org/w/index.php?title={{{1|}}}&action=edit|Click to edit.]]<noinclude>
  
'''Usage''': <nowiki>{{ edit | article }}</nowiki>
+
== 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:
  
'''Result''':
 
 
{{edit|Template:Edit}}
 
{{edit|Template:Edit}}
 +
 +
And this code:
 +
 +
{{co|yellow|<nowiki>{{ edit | Template:Edit | 32 }}</nowiki>}}
 +
 +
Would result in this:
 +
 +
{{edit|Template:Edit|32}}
 +
 
</noinclude>
 
</noinclude>

Revision as of 19:31, 5 September 2015

Click to edit.

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:

  • {{ edit | article | size }}

Example

This code:

{{ edit | Template:Edit }}

Would result in this:

Click to edit.

And this code:

{{ edit | Template:Edit | 32 }}

Would result in this:

Click to edit.