Difference between revisions of "Template:Navbar"

From BESA® Wiki
Jump to: navigation, search
(Extended style parameter to apply to all links as well (to accept other template's style parameters). The fontcolor parameter still overrides the style parameter.)
m (238 revisions)
 
(41 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{nodiv|}}} |<!--then:
+
<includeonly>{{#invoke:Navbar|navbar}}</includeonly><noinclude>
-->&nbsp;<span class="noprint plainlinksneverexpand" style="white-space:nowrap; font-weight:normal; font-size:xx-small; {{{style|}}}"> |<!--else:
+
{{documentation}}
--><div class="noprint plainlinksneverexpand" style="background-color:transparent; padding:0; font-weight:normal; font-size:xx-small; color:{{#if:{{{fontcolor|}}}|{{{fontcolor}}}|#000}}; white-space:nowrap; {{{style|}}}"><!--
+
-->}}<!--
+
 
+
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
+
-->This box:&nbsp;<!--
+
-->}}<!--
+
 
+
-->{{#if:{{{mini|}}} |<!--then:
+
-->[[Template:{{{1}}}|<span title="View this template" style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;padding:0;margin:0;"}}>v</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span {{#ifexist: Template talk:{{{1}}}|<!--do nothing-->style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;padding:0;margin:0;"}}|style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};|##002bb8;}}border:none;padding:0;margin:0;"}} title="Discussion about this template">d</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};|#002bb8;}}border:none;padding:0;margin:0;"}};" title="You can edit this template. Please use the preview button before saving.">e</span>]<!--
+
-->}}<!--
+
 
+
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:
+
-->[[Template:{{{1}}}|<span title="View this template" {{#if:{{{fontcolor|}}}|style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;padding:0;margin:0;"}}>v{{#if:{{{viewplain|}}}|iew}}</span>]]<!--
+
-->|<!--else:(nothing)--> |}}<!--
+
 
+
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
+
-->[[Template:{{{1}}}|<span title="View this template" style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;padding:0;margin:0;">view</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span {{#ifexist: Template talk:{{{1}}}|<!--do nothing-->style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;padding:0;margin:0;"|style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor;}}}|#002bb8;}}border:none;padding:0;margin:0;"}} title="Discussion about this template">talk</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};|#002bb8;}}border:none;padding:0;margin:0;" title="You can edit this template. Please use the preview button before saving.">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/>
+
{{/doc}}
+
<!--Note: Metadata (interwiki links, etc) for this template should be put on [[Template:Tnavbar/doc]]-->
+
 
</noinclude>
 
</noinclude>

Latest revision as of 13:21, 8 April 2016

Script error