Difference between revisions of "Template:Tnavbar"

From CWCki
Jump to navigation Jump to search
m
m
 
Line 9: Line 9:
-->[[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:
-->[[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>]<!--
-->[[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>]<!--
-->}} </span>&nbsp;<noinclude>{{Usage|1=This is a link template used to add navigational functionality to a navigational template. By using the template in a navbox, that navbox will display links to view, edit, or discuss the article in which it appears. The format for using this template is as follows:<br />
-->}} </span>&nbsp;<noinclude>{{Usage|1=This is a link template used to add navigational functionality to a navigational template. By using the template in a navbox, that navbox will display links to view, edit, or discuss the article in which it appears. The format for using this template is as follows:<br />


<nowiki>{{Tnavbar|{{subst:PAGENAME}}|mini=1}}</nowiki>
<nowiki>{{Tnavbar|{{subst:PAGENAME}}|mini=1}}</nowiki>

Latest revision as of 21:57, 3 December 2010

This box: [[Template:{{{1}}}|view]]  [[Template talk:{{{1}}}|talk]]  [{{fullurl:Template:{{{1}}}|action=edit}} edit]  

Usage

These usage notes will not be included in articles bearing this template.

This is a link template used to add navigational functionality to a navigational template. By using the template in a navbox, that navbox will display links to view, edit, or discuss the article in which it appears. The format for using this template is as follows:

{{Tnavbar|{{subst:PAGENAME}}|mini=1}}

- Displays:

   v  d  e   


{{Tnavbar|{{subst:PAGENAME}}|plain=1}}

- Displays:

   view  talk  edit   

{{Tnavbar|{{subst:PAGENAME}}|mini=1|nodiv=1}}

- Displays:

   v  d  e   

{{Tnavbar|{{subst:PAGENAME}}|plain=1|nodiv=1}}

- Displays:

   view  talk  edit   

{{Tnavbar|{{subst:PAGENAME}}|fontstyle=color:green}}

- Displays:

   This box: view  talk  edit