Difference between revisions of "Template:Editurl"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<noinclude>This template is created in conjunction with [[Template:Lancode|Lancode]] to standardise all the "edit" links of all the navboxes. It inserts a string into the url, so that we easily can change it, if the wiki goes through changes or updates.
+
<noinclude>This template is created to have an easy and standardised way to create edit links. It uses in [[Template:Lancode|Lancode]] and one variable to work. The variable is '''the name of the article''' including any prefixes.
 +
 
 +
Example:
 +
<nowiki>{{editurl|Template:Editurl}}</nowiki>
 +
Will create:
 +
{{editurl|Template:Editurl}}
 +
 
  
 
[[Category:DiabloWiki templates]]
 
[[Category:DiabloWiki templates]]
[[Category:Templates]]</noinclude><includeonly>index.php?title=</includeonly>
+
[[Category:Templates]]</noinclude><includeonly>{{lancode}}.diablowiki.net/index.php?title={{{title}}}&action=edit</includeonly>

Revision as of 16:22, 12 November 2009

This template is created to have an easy and standardised way to create edit links. It uses in Lancode and one variable to work. The variable is the name of the article including any prefixes.

Example:

{{editurl|Template:Editurl}}

Will create:

http://www.diablowiki.net/index.php?title=Template:Editurl&action=edit