Template:Tnavbar: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
m (Protected "Template:Tnavbar": Protecting high-use templates ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{nodiv|}}}|<!--then:
<div class="noprint plainlinks" style="background-color:transparent; padding:0; white-space:nowrap; font-weight:normal; font-size:xx-small; {{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}} {{{style|}}}">[[{{{ns|Template}}}:{{{1}}}|<span title="View this template" style="{{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color: {{{fontcolor}}};}}">v</span>]]&nbsp;•&nbsp;[{{fullurl:{{{ns|Template}}} talk:{{{1}}}}} <span style="{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color: {{{fontcolor}}};}}" title="Discussion about this template">d</span>]&nbsp;•&nbsp;[{{fullurl:{{{ns|Template}}}:{{{1}}}|action=edit}} <span style="{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color: {{{fontcolor}}};}}" title="Edit this template (make sure to preview first!)">e</span>]</div><noinclude>
-->&nbsp;<span class="noprint plainlinksneverexpand" style="white-space:nowrap; font-weight:normal; font-size:xx-small; {{{fontstyle|}}}; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}} {{{style|}}}">|<!--else:
{{Template:Tnavbar/doc}}
--><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|}}}"><!--
[[Category:Navigational templates]]</noinclude>
-->}}<!--
 
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
-->|<!--else:
-->This box:&nbsp;<!--
-->}}<!--
 
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
-->[[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:{{{mini|}}}|v|view}}</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="Discussion about this template">{{#if:{{{mini|}}}|d|talk}}</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>]<!--
-->}}<!--
 
-->{{#if:{{{nodiv|}}}|<!--then:
--></span>&nbsp;|<!--else:
--></div><!--
-->}}</includeonly><noinclude>
 
{{pp-template|small=yes}}
<hr/><center>'''{{purge}}''' the Wikipedia cache of this template.<hr/></center><br/>
 
<!--Note: Metadata (interwiki links, etc) for this template should be put on [[Template:Tnavbar/doc]]-->
</noinclude>

Latest revision as of 22:19, August 26, 2021

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.