Difference between revisions of "Template:Tnavbar"
Jump to navigation
Jump to search
m (Removed documentation.) |
(Added usage, recategorized as a link template.) |
||
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>]] <span style="font-size:80%;">•</span> [[Template talk:{{{1}}}|<span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="Discussion about this template">{{#if:{{{mini|}}}|d|talk}}</span>]] <span style="font-size:80%;">•</span> [{{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>]] <span style="font-size:80%;">•</span> [[Template talk:{{{1}}}|<span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="Discussion about this template">{{#if:{{{mini|}}}|d|talk}}</span>]] <span style="font-size:80%;">•</span> [{{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> <noinclude> | -->}} </span> <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 /> | ||
<pre>{{Tnavbar|{{subst:PAGENAME}}|mini=1}}</pre> | |||
- Displays: | |||
{{Tnavbar|Tnavbar|mini=1}} | |||
<pre>{{Tnavbar|{{subst:PAGENAME}}|plain=1}}</pre> | |||
- Displays: | |||
{{Tnavbar|Tnavbar|plain=1}} | |||
<pre>{{Tnavbar|{{subst:PAGENAME}}|mini=1|nodiv=1}}</pre> | |||
- Displays: | |||
{{Tnavbar|Tnavbar|mini=1|nodiv=1}} | |||
<pre>{{Tnavbar|{{subst:PAGENAME}}|plain=1|nodiv=1}}</pre> | |||
- Displays: | |||
{{Tnavbar|Tnavbar|plain=1|nodiv=1}} | |||
<pre>{{Tnavbar|{{subst:PAGENAME}}|fontstyle=color:green}} </pre> | |||
- Displays: | |||
{{Tnavbar|Tnavbar|fontstyle=color:green}} | |||
}} | |||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> | ||
Revision as of 21:07, 3 December 2010
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:
{{Tnavbar|{{subst:PAGENAME}}|plain=1}}
- Displays:
{{Tnavbar|{{subst:PAGENAME}}|mini=1|nodiv=1}}
- Displays:
{{Tnavbar|{{subst:PAGENAME}}|plain=1|nodiv=1}}
- Displays:
{{Tnavbar|{{subst:PAGENAME}}|fontstyle=color:green}}
- Displays: