Difference between revisions of "Template:Navbar"

765 bytes added ,  19:12, 12 October 2020
Replacing with Wikipedia's most recent (non-Lua) version.
(Make nameless parameter)
(Replacing with Wikipedia's most recent (non-Lua) version.)
 
Line 1: Line 1:
<div class="plainlinks {{{classes|}}}">
+
<includeonly><div class="plainlinks hlist navbar {{#if:{{{mini|}}}|mini}}" style="{{{style|}}}"><!--
[[Template:{{{1}}}|<span title="View this template.">view</span>]] {{dot}}
+
 
[[Template_talk:{{{1}}}|<span title="Talk about this template.">talk</span>]] {{dot}}
+
-->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else:
[{{fullurl:Template:{{{1}}}|action=edit}} <span title="Edit this template.">edit</span>]
+
--><span style="word-spacing:0;{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!--
</div><noinclude>
+
 
{{Documentation}}</noinclude>
+
-->{{#if:{{{brackets|}}}|<span style="margin-right:-0.125em;{{{fontstyle|}}}">&#91;</span>}}<!--
 +
 
 +
--><ul><!--
 +
--><li class="nv-view">[[{{transclude|{{{1}}}}}|<span title="View this template" <!--
 +
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|v|view}}</span>]]</li><!--
 +
 
 +
--><li class="nv-talk">[[{{TALKPAGENAME:{{transclude|{{{1}}}}}}}|<span title="Discuss this template" <!--
 +
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|t|talk}}</span>]]</li><!--
 +
 
 +
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
 +
--><li class="nv-edit">[{{fullurl:{{transclude|{{{1}}}}}|action=edit}} <span title="Edit this template" <!--
 +
-->style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|e|edit}}</span>]</li>}}<!--
 +
--></ul><!--
 +
 
 +
-->{{#if:{{{brackets|}}}|<span style="margin-left:-0.125em;{{{fontstyle|}}}">&#93;</span>}}<!--
 +
 
 +
--></div></includeonly><noinclude>
 +
{{Documentation}}
 +
</noinclude>