Template:NavLink: Difference between revisions
Jump to navigation
Jump to search
imported>Ulti added a documentation |
imported>Ulti No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{FULLPAGENAMEE}} | {{{1}}} | style="{{{currentcss|background-color:#e9ebf5;}}}"| style="{{{css|background-color:white;}}}"}} |<!-- | <includeonly>{{#ifeq: {{FULLPAGENAMEE}} | {{{1}}} | style="{{{currentcss|background-color:#e9ebf5;}}}"| style="{{{css|background-color:white;}}}"}} |<!-- | ||
--><nowiki> </nowiki>[[{{{1}}}|<span style="font-weight:normal;">{{{2}}}</span>]]<nowiki> </nowiki></includeonly><noinclude>{{Documentation}}</noinclude> | --><nowiki> </nowiki>[[{{{1}}}|<span style="font-weight:normal;">{{{2}}}</span>]]<nowiki> </nowiki></includeonly><noinclude>{{Documentation}}[[Category:Basic Templates]]</noinclude> |
Revision as of 15:27, 19 October 2014
NavLink | NavLink/doc |
The above is an example which renders from:
{| class="wikitable" cellpadding="3" |- | {{NavLink|Template:NavLink|NavLink}} | {{NavLink|Template:NavLink/doc|NavLink/doc}} |}
Alternatively, we can omit a parameter and not specify text for the link:
{| class="wikitable" cellpadding="3" |- | {{NavLink|Template:NavLink}} | {{NavLink|Template:NavLink/doc}} |}
which renders the slightly different:
{{{2}}} | {{{2}}} |