Difference between revisions of "Template:Navbar"
Update from sandbox: now uses horizontal <ul>
>Edokter (thinsp has issues, using word-spacing instead.) |
>Edokter (Update from sandbox: now uses horizontal <ul>) |
||
Line 1: | Line 1: | ||
<includeonly>< | <includeonly><div class="noprint plainlinks hlist navbar" style="{{{style|}}}"><!-- | ||
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else: | -->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else: | ||
--><span style="{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!-- | --><span style="word-spacing:0;{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!-- | ||
-->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">[</span>}}<!-- | -->{{#if:{{{brackets|}}}|<span style="margin-right:-0.125em;{{{fontstyle|}}}">[</span>}}<!-- | ||
-->< | --><ul><!-- | ||
-->[[{{transclude|{{{1}}}}}|<span style="{{{fontstyle|}}}" title="View this template"><!-- | --><li class="nv-view">[[{{transclude|{{{1}}}}}|<span style="{{{fontstyle|}}}" title="View this template"><!-- | ||
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!-- | -->{{#if:{{{mini|}}}|v|view}}</span>]]</li><!-- | ||
-->< | --><li class="nv-talk">[[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span style="{{{fontstyle|}}}" title="Discuss this template"><!-- | ||
-->{{#if:{{{mini|}}}|d|talk}}</span>]]</li><!-- | |||
-->{{#if:{{{mini|}}}|d|talk}}</span>]]<!-- | |||
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else: | -->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else: | ||
-->< | --><li class="nv-edit">[{{fullurl:{{transclude|{{{1}}}}}|action=edit}} <span style="{{{fontstyle|}}}" title="Edit this template"><!-- | ||
-->{{#if:{{{mini|}}}|e|edit}}</span>]</li>}}<!-- | |||
-->{{#if:{{{mini|}}}|e|edit}}</span>]}}<!-- | --></ul><!-- | ||
--></ | |||
-->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">]</span>}}<!-- | -->{{#if:{{{brackets|}}}|<span style="margin-left:-0.125em;{{{fontstyle|}}}">]</span>}}<!-- | ||
--></ | --></div></includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |