Difference between revisions of "Template:Editlink"
ADVERTISEMENT
From Diablo Wiki
m |
m |
||
Line 10: | Line 10: | ||
{{editlink|Template:Editlink}} | {{editlink|Template:Editlink}} | ||
− | </noinclude><includeonly><span class="plainlinks">http://{{{3|{{lancode}}}}}.diablowiki.net/index.php?title={{{1|DiabloWiki:Sandbox}}}&action=edit {{{2|edit}}}</span></includeonly><noinclude> | + | </noinclude><includeonly><span class="plainlinks">[http://{{{3|{{lancode}}}}}.diablowiki.net/index.php?title={{{1|DiabloWiki:Sandbox}}}&action=edit {{{2|edit}}}]</span></includeonly><noinclude> |
Related templates: | Related templates: |
Revision as of 17:15, 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.
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.