Changes - Diablo Wiki
Open main menu

Diablo Wiki β

Changes

Template:Editlink

180 bytes added, 17:57, 12 November 2009
m
no edit summary
It'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-collapse: collapse; background: #2D0606; clear:both;" width="50%"|colspan="3"|
'''Example 1:'''
<nowiki>{{editurl|Template:Editlink}}</nowiki>
{{editlink|Template:Editlink}}
|colspan="3"|
'''Example 2:'''
<nowiki>{{editurl|Template:Editlink|edit me}}</nowiki>
|-
|colspan="3"|
'''Example 3:'''
<nowiki>{{editurl|Template:Editlink|edit me|de}}</nowiki>
{{editlink|Template:Editlink|edit me|de}}
|colspan="3"|
'''Example 4:'''
<nowiki>{{editurl|Template:Editlink|edit me|de|A}}</nowiki>
|-
|colspan="2" width="33%"|&nbsp;
|colspan="2" width="34%"|&nbsp;
'''Example 5:'''
<nowiki>{{editurl|Template:Editlink|edit me|de|A|A}}</nowiki>
'''Will create:'''
{{editlink|Template:Editlink|edit me|de|A|A}}
 
|colspan="2" width="33%"|&nbsp;
|}
</noinclude><includeonly>{{#if: {{{6|}}}| |{{#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 {{#if: {{{6|}}}| | {{{2|edit}}}]</span>{{#if: {{{4|}}}| <nowiki>]</nowiki> }}{{#if: {{{5|}}}| </span>}}}}</includeonly><noinclude>
'''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) Used to create a small bracketed linkbox. Uses Lancode.
[[Category:DiabloWiki templates]]
[[Category:Templates]]</noinclude>
12,486
edits