Difference between revisions of "Template:Editlink"
ADVERTISEMENT
From Diablo Wiki
(Created Template) |
m |
||
Line 3: | Line 3: | ||
* '''1''' - Name of the article you wish to edit. | * '''1''' - Name of the article you wish to edit. | ||
* '''2''' - How you want the edit link to write out. Full "Edit", or just "e" for example. | * '''2''' - How you want the edit link to write out. Full "Edit", or just "e" for example. | ||
+ | * '''3''' - If you want to change the language code to a different one than the standard for the wiki. | ||
Line 13: | Line 14: | ||
{{editlink|Template:Editlink}} | {{editlink|Template:Editlink}} | ||
− | </noinclude><includeonly><nowiki>[</nowiki><span class="plainlinks">[http://{{{3|{{lancode}}}}}.diablowiki.net/index.php?title={{{1|DiabloWiki:Sandbox}}}&action=edit {{{2|edit}}}]</span><nowiki>]</nowiki | + | </noinclude><includeonly><nowiki>[</nowiki><span class="plainlinks">[http://{{{3|{{lancode}}}}}.diablowiki.net/index.php?title={{{1|DiabloWiki:Sandbox}}}&action=edit {{{2|edit}}}]</span><nowiki>]</nowiki></includeonly><noinclude> |
Related templates: | Related templates: |
Revision as of 17:11, 12 November 2009
This template is created to help making a small and neat edit link for whatever page it's needed on. It uses Editurl (and also Lancode) and two variables to work. The variables are:
- 1 - Name of the article you wish to edit.
- 2 - How you want the edit link to write out. Full "Edit", or just "e" for example.
- 3 - If you want to change the language code to a different one than the standard for the wiki.
is the name of the article including any prefixes.
Example:
{{editurl|Template:Editlink}}
Will create:
edit
Related templates:
- Template:Editurl - Used to create an edit url. Uses Lancode. Used in Editlink.
- Template:Lancode - It's the language code of the wiki.
- Template:Editlink - Uses Editurl (and Lancode) to create a small bracketed linkbox.