Jump to content

Template:Tnavbar: Difference between revisions

wowwiki version
mNo edit summary
(wowwiki version)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{nodiv|}}}|&nbsp;<span|<div}} class="noprint plainlinksneverexpand navbar" style="background:none; padding:0; font-weight:normal;{{{fontstyle|}}}; font-size:xx-small; {{{style|}}}"><!--
<includeonly>{{#if:{{{nodiv|}}}|<!--then:
-->&nbsp;<span class="noprint plainlinksneverexpand" style="white-space: nowrap; font-weight: normal; font-size: xx-small; {{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}} {{{style|}}}">|<!--else:
--><div class="noprint plainlinksneverexpand" style="background-color:transparent; padding:0; white-space:nowrap; font-weight:normal; font-size:xx-small; {{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}} {{{style|}}}"><!--
-->}}<!--


-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
-->This box:&#32;}}<!--
-->|<!--else:
 
-->This box:&nbsp;<!--
-->{{#if:{{{brackets|}}}|&#91;}}<!--
-->}}<!--


-->[[{{transclude|{{{1}}}}}|<span title="View this template" style="{{{fontstyle|}}}"><!--
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!--
-->[[{{#if:{{#pos:{{{1}}}|:}}||Template:}}{{{1}}}|<span title="View this template" style="{{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color: {{{fontcolor}}};}}">{{#if:{{{viewplain|}}}|view|v}}</span>]]|<!--else:
 
-->[[{{#if:{{#pos:{{{1}}}|:}}||Template:}}{{{1}}}|<span title="View this template" style="{{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color: {{{fontcolor}}};}}">{{#if:{{{mini|}}}|v|view}}</span>]]&nbsp;<span style="font-size: 80%;">•</span>&nbsp;<span class="plainlinks">[{{#if:{{#pos:{{{1}}}|:}}|{{fullurl:{{#explode:{{{1}}}|:}} talk:{{#explode:{{{1}}}|:|1}}}}|{{fullurl:Template talk:{{{1}}}}}}} <span style="color: #002bb8; {{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color: {{{fontcolor}}};}}" title="Discussion about this template">{{#if:{{{mini|}}}|d|talk}}</span>]</span>&nbsp;<span style="font-size: 80%;">•</span>&nbsp;[{{#if:{{#pos:{{{1}}}|:}}|{{fullurl:{{#explode:{{{1}}}|:}}:{{#explode:{{{1}}}|:|1}}|action=edit}}|{{fullurl:{{ns:10}}:{{{1}}}|action=edit}}}} <span style="color: #002bb8; {{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color: {{{fontcolor}}};}}" title="You can edit this template. Please use the preview button before saving.">{{#if:{{{mini|}}}|e|edit}}</span>]<!--
-->&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[{{{talk}}}|<span title="Discussion about this template" style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|d|talk}}</span>]]<!--
 
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
-->&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:{{transclude|{{{1}}}}}|action=edit}}<span title="Edit this template" style="{{{fontstyle|}}};">{{#if:{{{mini|}}}|e|edit}}</span>]<!--
-->}}<!--
-->}}<!--
-->{{#if:{{{brackets|}}}|]}}<!--


-->{{#if:{{{nodiv|}}}|<!--then:
-->{{#if:{{{nodiv|}}}|<!--then:
--></span>&nbsp;|<!--else:
--></span>&nbsp;|<!--else:
--></div>}}</includeonly><noinclude>
--></div><!--
 
-->}}</includeonly><noinclude>
This function will not properly work on GTW, since we can't use the extended version of FULLPAGENAME. So instead I'll have to substr something in to how the template is used.
{{documentation}}
</noinclude>
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.