Template:NavLink: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Ulti
No edit summary
imported>Relyk
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>&nbsp;&nbsp;</nowiki>[[{{{1}}}|<span style="font-weight:normal;">{{{2}}}</span>]]<nowiki>&nbsp;&nbsp;</nowiki></includeonly><noinclude>{{Documentation}}[[Category:Basic Templates]]</noinclude>
--><nowiki>&nbsp;&nbsp;</nowiki>[[{{{1}}}|<span style="font-weight:normal;">{{{2|{{{1}}}}}}</span>]]<nowiki>&nbsp;&nbsp;</nowiki></includeonly><noinclude>{{Documentation}}[[Category:Basic Templates]]</noinclude>

Revision as of 03:27, 27 September 2015

  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:

  Template:NavLink     Template:NavLink/doc