Template:Tnavbar: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (7 revisions: Importing history)
(It looks like this is causing the badlinks/redlinks in navbox stuff... Notes on talkpage)
Line 10: Line 10:


-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
-->[[{{#if:{{#pos:{{{1}}}|:}}||Template:}}{{{1}}}|<span title="View this template" style="{{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color: {{{fontcolor}}};}}">{{#if:{{{viewplain|}}}|view|v}}</span>]]|<!--else:
-->[[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">[{{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;[{{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>]<!--
-->[[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">[{{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;[{{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>]<!--
-->}}<!--
-->}}<!--



Revision as of 19:48, November 8, 2010


Usage

{{Tnavbar|name of target template|ns=namespace, if not Template|fontstyle=font style|fontcolor=font color|style=divbox style}}

All but the name are optional.