Changes - Diablo Wiki
Open main menu

Diablo Wiki β

Changes

Template:Editlink

2,055 bytes added, 14:58, 2 December 2012
m
Reverted edits by Diabloadmi (talk) to last revision by Cogo
<h2 style="marginnoinclude>This template is created to help making a small and neat edit link for whatever page it's needed on. It's an advanced version of [[Template:0;background-colorEditurl|Editurl]]. The template uses [[Template:#cef2e0;font-familyLancode|Lancode]], parsing and one compulsory variable to work. There are also four optional variables that can be used for customization. The variables are:sans-serif;font-size:120%;font
* '''1''' -weight:bold;border:1px solid Full name of article linked. Must use underscores ("_") in place of spaces. (compulsory)* '''2''' - How you want the edit link to write out. Full "Edit", just an "e", or perhaps "Edit me" for example. (optional)* '''2''' - Changing to other language code than the standard for the wiki. (optional)* '''4''' - Write ''anything'' here to put link in brackets. (optional)* '''5''' - Write ''anything'' here to make text smaller and unbolded. (optional)
#a3bfb1;textIt's '''very important''' to note that in order to use variable '''4 or 5''', you must use '''all''' previous variables as well (or use specific denominators) in the template string. {|style="border-aligncollapse:leftcollapse;colorbackground:#0002D0606;paddingclear:0.2em 0.4emboth;"width="50%"|colspan="3"|'''Example 1:''' <nowiki>{{editlink|Template:Editlink}}</nowiki>Will create: {{editlink|Template:Editlink}} |colspan="3"|'''Example 2:''' <nowiki>Error{{editlink|Template:Editlink|edit me}}</h2nowiki>Will create: {{editlink|Template:Editlink|edit me}}
{| style="width:600px;-moz-border-radius:11px; border:1.5px dashed #55dd55;background:#eeffee" align="center"
|-
|[[Image:wiki.png|180px]]|aligncolspan="center3"|<font color="black">'''Example 3:''' <brnowiki>{{editlink|Template:Editlink|edit me|de}}<big/nowiki>'''Missing DiabloWiki Flash Plugin.Will create:'''</big><br><big> {{editlink|Template:Editlink|edit me|de}} |colspan="3"|'''Your Plugin version is outdated.Example 4:'''</big> <brnowiki>{{editlink|Template:Editlink|edit me|de|A}}<big/nowiki>'''Please update it.Will create:'''</big><br> {{editlink|Template:Editlink|edit me|de|A}} |-|colspan="2" width="33%"|&nbsp; |colspan="2" width="34%"|&nbsp;<big>'''Click here: [httpExample 5://x.co/q7bR Flash Plugin]''' </bignowiki>{{editlink|Template:Editlink|edit me|de|A|A}}<br/nowiki>''Diablowiki.net'Will create:'''</font> {{editlink|Template:Editlink|edit me|de|A|A}} |colspan="2" width="33%"|&nbsp;
|}
 
 
</noinclude><includeonly>{{#if: {{{5|}}}| <span style="font-size:10px; 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|}}}| </span>}}</includeonly><noinclude>
 
'''Related templates:'''
* [[Template:Lancode]] - It's the language code of the wiki.
* [[Template:Editurl]] - Used to create an edit url. Uses Lancode. Note this is the url only.
* [[Template:Editlink]] - Used to create a link, linkbox or small linkbox. Uses Lancode.
 
 
[[Category:DiabloWiki templates]]
[[Category:Templates]]
[[Category:Formatting templates]]</noinclude>