Difference between revisions of "Template:Edit"
From EVE University Wiki
(Copy in magicword to autoresolve edit link (cf. Template:Navbar). Not sure what to do when no parameter is specified - there is a possibility of calling the page-name it is transcluded to by magic word, but that is very complicated/confusing) |
|||
Line 1: | Line 1: | ||
− | [[image:notepad.png|{{#switch: {{{2|}}} | = 12 | #default = {{{2}}}}}px|link= | + | [[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 == | == Usage == |
Revision as of 01:24, 7 September 2015
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:
And this code:
{{ edit | Template:Edit | 32 }}
Would result in this: