Difference between revisions of "Template:Edit/doc"

From EVE University Wiki
Jump to: navigation, search
(Created page with "<noinclude>{{main|Template:Edit}}</noinclude> This template generates an edit link to the specified page in the form of a icon. == Usage == Add the page you want the edit lin...")
 
m
Line 1: Line 1:
 
<noinclude>{{main|Template:Edit}}</noinclude>
 
<noinclude>{{main|Template:Edit}}</noinclude>
This template generates an edit link to the specified page in the form of a icon.
+
; Description
 +
: This template generates an edit link to the specified page in the form of a icon.
 +
; Usage
 +
: Add the page you want the edit link to lead to and optionally the size of the notepad image as a second argument:
 +
: {{code|<nowiki>{{ edit | article | size }}</nowiki>}}
 +
; Example
 +
: This code:
  
== Usage ==
+
: {{code|<nowiki><nowiki>{{ edit | Template:Edit }}</nowiki>}}
Add the page you want the edit link to lead to and optionally the size of the notepad image as a second argument:
 
{{code|<nowiki>{{ edit | article | size }}</nowiki>}}
 
  
== Example ==
+
: Would result in this:
  
This code:
+
: {{edit|Template:Edit}}
  
{{code|<nowiki><nowiki>{{ edit |  Template:Edit }}</nowiki>}}
+
: And this code:
  
Would result in this:
+
: {{code|<nowiki>{{ edit | Template:Edit | 32 }}</nowiki>}}
  
{{edit|Template:Edit}}
+
: Would result in this:
  
And this code:
+
: {{edit|Template:Edit|32}}
 
 
{{code|<nowiki>{{ edit | Template:Edit | 32 }}</nowiki>}}
 
 
 
Would result in this:
 
 
 
{{edit|Template:Edit|32}}
 
 
<includeonly>[[Category:Template]]</includeonly>
 
<includeonly>[[Category:Template]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 00:23, 23 April 2017

Main article: Template:Edit
Description
This template generates an edit link to the specified page in the form of a icon.
Usage
Add the page you want the edit link to lead to and optionally the size of the notepad image as a second argument:
{{ edit | article | size }}
Example
This code:
<nowiki>{{ edit | Template:Edit }}
Would result in this:
Click to edit.
And this code:
{{ edit | Template:Edit | 32 }}
Would result in this:
Click to edit.