Changes

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search

Template:Editlink

406 bytes added, 17:33, 12 November 2009
m
Testing new template
<noinclude>This template is created to help making a small and neat edit link for whatever page it's needed on. It uses [[Template:Editurl|Editurl]] (and also [[Template:Lancode|Lancode]]) and two variables one compulsory variable to work. There are also four optional variables that can be used for customization. The variables are:
* '''1''' - Name of the article you wish to edit.(compulsory)
* '''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.
* '''4''' - Write anything here to put link in brackets.
* '''5''' - Write anything here to make text smaller and unbolded.
Example:
{{editlink|Template:Editlink}}
 </noinclude><includeonly>{{#if: {{{5|}}}| <span style="font-size:80%; font-weight:normal;"> }}{{#if: {{{4|}}}| <nowiki>[</nowiki> }}<span class="plainlinks">[http://{{{3|{{lancode}}}}}.diablowiki.net/index.php?title={{{1|DiabloWiki:Sandbox}}}&action=edit {{{2|edit}}}]</span>{{#if: {{{4|}}}| <nowiki>]</nowiki> }}{{#if: {{{5|}}}| <nowiki></span></nowiki> }}</includeonly><noinclude>
Related templates:
12,486
edits