Jump to content

Template:Navbar: Difference between revisions

From IdeaWazaWiki
wikademia>Edokter
Re-implementing style parameter. Now thouroughly debugged.
wikademia>Wikademia
m 164 revisions
 
(21 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{nodiv|}}} |<!--then:
<includeonly>{{#if:{{{nodiv|}}}|&nbsp;<span|<div}} class="noprint plainlinksneverexpand navbar" style="background:none; padding:0; font-weight:normal;{{{fontstyle|}}}; font-size:xx-small; {{{style|}}}"><!--
-->&nbsp;<span class="noprint plainlinksneverexpand" style="white-space:nowrap; font-weight:normal; font-size:xx-small; {{{style|}}}"> |<!--else:
 
--><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|}}}"><!--
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
-->}}<!--
-->This box:&#32;}}<!--
 
-->{{#if:{{{brackets|}}}|&#91;}}<!--
 
-->[[{{transclude|{{{1}}}}}|<span title="View this template" style="{{{fontstyle|}}}"><!--
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!--


-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
-->&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span title="Discussion about this template" style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|d|talk}}</span>]]<!--
-->This box:&nbsp;<!--
-->}}<!--


-->{{#if:{{{mini|}}} |<!--then:
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
-->[[Template:{{{1}}}|<span title="View this template" style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float:none;padding:0;margin:0;">v</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span style="color:#002bb8;{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float: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="color:#002bb8;{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float:none;padding:0;margin:0;" title="You can edit this template. Please use the preview button before saving.">e</span>]<!--
-->&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:{{transclude|{{{1}}}}}|action=edit}}<span title="Edit this template" style="{{{fontstyle|}}};">{{#if:{{{mini|}}}|e|edit}}</span>]<!--
-->}}<!--
-->}}<!--


-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:
-->{{#if:{{{brackets|}}}|]}}<!--
-->[[Template:{{{1}}}|<span title="View this template" style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float:none;padding:0;margin:0;">v{{#if:{{{viewplain|}}}|iew}}</span>]]<!--
-->|<!--else:(nothing)--> |}}<!--


-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else:
-->{{#if:{{{nodiv|}}}|<!--then:
-->[[Template:{{{1}}}|<span title="View this template" style="{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float:none;padding:0;margin:0;">view</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span style="color:#002bb8;{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float: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="color:#002bb8;{{{style|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}border:none;float:none;padding:0;margin:0;" title="You can edit this template. Please use the preview button before saving.">edit</span>]<!--
--></span>&nbsp;|<!--else:
-->}}<!--
--></div>}}</includeonly><noinclude>


-->{{#if:{{{nodiv|}}} |<!--then:
--></span>&nbsp; |<!--else:
--></div><!--
-->}}</includeonly><noinclude>
{{pp-template|small=yes}}
{{pp-template|small=yes}}
<hr/><center>'''{{purge}}''' the Wikipedia cache of this template.<hr/></center><br/>
{{documentation}}
{{/doc}}
<!--Note: Metadata (interwiki links, etc) for this template should be put on [[Template:Tnavbar/doc]]-->
</noinclude>
</noinclude>

Latest revision as of 22:17, 26 April 2009

[create] Template documentation