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 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. There is a second variable that can be used to change the language link.
+
<noinclude>This template is created to have an easy and standardised way to create edit links. It's a simplified version of [[Template:Editlink|Editlink]]. The template uses [[Template:Lancode|Lancode]] and one compulsory variable to work. The variable is '''the name of the article''' including any prefixes. There are also a second optional variable that can be used for customization. The variables are:
  
 
Variables:
 
Variables:
* '''1''' - Full name of article linked, with underscored "_" if it uses spaces. (compulsory)
+
* '''1''' - Full name of article linked. Must use underscores ("_") in place of spaces. (compulsory)
* '''2''' - Other language code than the standard for the wiki. (optional)
+
* '''2''' - Changing to other language code than the standard for the wiki. (optional)
  
 
Example:
 
Example:

Revision as of 10:30, 13 November 2009

This template is created to have an easy and standardised way to create edit links. It's a simplified version of Editlink. The template uses Lancode and one compulsory variable to work. The variable is the name of the article including any prefixes. There are also a second optional variable that can be used for customization. The variables are:

Variables:

  • 1 - Full name of article linked. Must use underscores ("_") in place of spaces. (compulsory)
  • 2 - Changing to other language code than the standard for the wiki. (optional)

Example:

{{editurl|Template:Editurl}}

Will create:

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



Related templates: