<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.drugwiki.net/wen/index.php?action=history&amp;feed=atom&amp;title=Template_talk%3ANavbar-collapsible</id>
	<title>Template talk:Navbar-collapsible - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.drugwiki.net/wen/index.php?action=history&amp;feed=atom&amp;title=Template_talk%3ANavbar-collapsible"/>
	<link rel="alternate" type="text/html" href="https://www.drugwiki.net/wen/index.php?title=Template_talk:Navbar-collapsible&amp;action=history"/>
	<updated>2026-06-04T14:42:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://www.drugwiki.net/wen/index.php?title=Template_talk:Navbar-collapsible&amp;diff=10526&amp;oldid=prev</id>
		<title>Sysop: Created page with &quot;{{permprot}}  ==Expand/Collapse preselection option== Just a thought of an inclusion of selecting whether the template appears pre-collapsed or pre-expanded? By this I mean, using the &lt;nowiki&gt;{{#if:{{{expand|yes}}*template expanded*}}}/{{#if:{{{expand|no}}*template collapsed*}}}&lt;/nowiki&gt; function somehow, it would mean you could use the template like this: &quot;&lt;nowiki&gt;{{template I&#039;m using|expand=no}}&lt;/nowiki&gt;&quot; would show just as an unexpanded bar, however &quot;&lt;nowiki&gt;{{templat...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.drugwiki.net/wen/index.php?title=Template_talk:Navbar-collapsible&amp;diff=10526&amp;oldid=prev"/>
		<updated>2025-11-01T21:22:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{permprot}}  ==Expand/Collapse preselection option== Just a thought of an inclusion of selecting whether the template appears pre-collapsed or pre-expanded? By this I mean, using the &amp;lt;nowiki&amp;gt;{{#if:{{{expand|yes}}*template expanded*}}}/{{#if:{{{expand|no}}*template collapsed*}}}&amp;lt;/nowiki&amp;gt; function somehow, it would mean you could use the template like this: &amp;quot;&amp;lt;nowiki&amp;gt;{{template I&amp;#039;m using|expand=no}}&amp;lt;/nowiki&amp;gt;&amp;quot; would show just as an unexpanded bar, however &amp;quot;&amp;lt;nowiki&amp;gt;{{templat...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{permprot}}&lt;br /&gt;
&lt;br /&gt;
==Expand/Collapse preselection option==&lt;br /&gt;
Just a thought of an inclusion of selecting whether the template appears pre-collapsed or pre-expanded? By this I mean, using the &amp;lt;nowiki&amp;gt;{{#if:{{{expand|yes}}*template expanded*}}}/{{#if:{{{expand|no}}*template collapsed*}}}&amp;lt;/nowiki&amp;gt; function somehow, it would mean you could use the template like this: &amp;quot;&amp;lt;nowiki&amp;gt;{{template I&amp;#039;m using|expand=no}}&amp;lt;/nowiki&amp;gt;&amp;quot; would show just as an unexpanded bar, however &amp;quot;&amp;lt;nowiki&amp;gt;{{template I&amp;#039;m using|expand=yes}}&amp;lt;/nowiki&amp;gt;&amp;quot; would show it expanded. If this is implemented on the template end, that means that it wouldn&amp;#039;t affect any templates out there that don&amp;#039;t use the function, but those that do can elect to use it, but don&amp;#039;t need to create two templates, just two functions from the one.&lt;br /&gt;
&lt;br /&gt;
Who else thinks this is a good idea?&lt;br /&gt;
&lt;br /&gt;
--[[User:Lincalinca|&amp;lt;span style=&amp;quot;font-size:x-small;font-family:century gothic;color:#000000;&amp;quot;&amp;gt;linca&amp;lt;/span&amp;gt;]][[User talk:Lincalinca|&amp;lt;sup style=&amp;quot;font-family:century gothic;font-size:x-small;color:#339922;&amp;quot;&amp;gt;linca&amp;lt;/sup&amp;gt;]] 06:56, 19 April 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
:It can&amp;#039;t be done with this template.  The collapsing statement (&amp;lt;code&amp;gt;class=&amp;quot;... collapsible autocollapse&amp;quot;&amp;lt;/code&amp;gt;) needs to appear in the opening tag of the table.  If you want that particular template&amp;#039;s collapsibility to be set on a per-page bases use &amp;lt;code&amp;gt;class=&amp;quot;... collapsible &amp;lt;nowiki&amp;gt;{{{state|autocollapse}}}&amp;lt;/nowiki&amp;gt;&amp;quot;&amp;lt;/code&amp;gt;. —[[User:Dispenser|Dispenser]] 18:15, 19 April 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
==[[bg:Шаблон:tnavbar-collapsible]]==&lt;br /&gt;
{{tlx|editprotected}} Could you please insert [[bg:Шаблон:tnavbar-collapsible]]?Thank you.--[[User:Desertus Sagittarius|Desertus Sagittarius]] 21:42, 2 September 2007 (UTC)&lt;br /&gt;
:Interwiki links are added to this page: [[Template:Navbar-collapsible/doc]]. It&amp;#039;s editable by everyone. Cheers. --[[User:MZMcBride|MZMcBride]] 22:08, 2 September 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Boost title size to match that of {{t1|Navbox}}==&lt;br /&gt;
{{tlx|editprotected}}&lt;br /&gt;
Due to a recent change in the navbox class CSS, the font-size of the title in other templates using this template is too small.  The following changes make the font-size of the title match the size of standard {{t1|Navbox}}s.  Based on the latest database dump, there should be very few, if any, ill-effects.  Once this change goes through, I&amp;#039;ll be checking to make sure that everything is still okay.&lt;br /&gt;
&lt;br /&gt;
Completely replace the code of this template with this new code:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow:scroll;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;float:left; text-align:left; width:6em; margin-left:2px;&amp;quot;&amp;gt;{{Tnavbar|{{{2|}}}|{{#ifeq: {{{plain|}}} |1 |plain |mini }}=1|nodiv=1 |fontcolor={{{fontcolor|}}} }}&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;font-size:110%;{{#if:{{{fontcolor|}}}|color:{{{fontcolor|}}};}}&amp;quot;&amp;gt;{{{1}}}&amp;lt;/span&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
{{pp-template|small=yes}}&lt;br /&gt;
&amp;lt;!-- Add cats and interwikis to the /doc subpage, not here! --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thanks, --[[User:CapitalR|CapitalR]] ([[User talk:CapitalR|talk]]) 22:20, 1 April 2008 (UTC)&lt;br /&gt;
&lt;br /&gt;
:Disabled editprotected for the moment. See my reply at [[User talk:CapitalR/Navbox]]. &amp;lt;span style=&amp;quot;font-family: verdana;&amp;quot;&amp;gt; — [[User:Edokter|&amp;lt;span style=&amp;quot;color: #008;&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;E&amp;#039;&amp;#039;dokter&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;]] • [[User_talk:Edokter|&amp;lt;span style=&amp;quot;color: #080;&amp;quot;&amp;gt;Talk&amp;lt;/span&amp;gt;]] • &amp;lt;/span&amp;gt; 22:27, 1 April 2008 (UTC)&lt;br /&gt;
:{{Done}}. &amp;lt;span style=&amp;quot;font-family: verdana;&amp;quot;&amp;gt; — [[User:Edokter|&amp;lt;span style=&amp;quot;color: #008;&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;E&amp;#039;&amp;#039;dokter&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;]] • [[User_talk:Edokter|&amp;lt;span style=&amp;quot;color: #080;&amp;quot;&amp;gt;Talk&amp;lt;/span&amp;gt;]] • &amp;lt;/span&amp;gt; 14:51, 2 April 2008 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Modifications to template ==&lt;br /&gt;
&lt;br /&gt;
{{tlx|editprotected}}&lt;br /&gt;
It looks like this template had some old band-aid fixes in it to make it look right; now that the code has been modified to look like that of {{t1|Navbox}}, those old work-arounds should be removed (as it is causing the navbar to be off by a few pixels).&lt;br /&gt;
&lt;br /&gt;
Namely, the &amp;quot;margin-left:2px;&amp;quot; should be removed and the &amp;quot;|nodiv=1&amp;quot; should be removed.  In addition, the floating span tag should be changed to a floating div tag (due to the parser not always handling the span tag correctly; this is a known parser bug, and this is the best work around).  In summary, the code for this template should be completely replaced by the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow:scroll&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; text-align:left; width:6em;&amp;quot;&amp;gt;{{Tnavbar|{{{2|}}}|{{#ifeq:{{{plain|}}}|1|plain|mini}}=1|fontcolor={{{fontcolor|}}}}}&amp;lt;/div&amp;gt;&amp;lt;span style=&amp;quot;font-size:110%;{{#if:{{{fontcolor|}}}|color:{{{fontcolor|}}};}}&amp;quot;&amp;gt;{{{1}}}&amp;lt;/span&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
{{pp-template|small=yes}}&lt;br /&gt;
&amp;lt;!-- Add cats and interwikis to the /doc subpage, not here! --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tested this on a bunch of templates to make sure it works, and it seems to do the trick.  Let me know if there are questions, --[[User:CapitalR|CapitalR]] ([[User talk:CapitalR|talk]]) 03:15, 10 April 2008 (UTC)&lt;br /&gt;
&lt;br /&gt;
:{{done}} [[User:Happy-melon|&amp;lt;b style=&amp;quot;color:forestgreen;&amp;quot;&amp;gt;Happy&amp;lt;/b&amp;gt;]]‑[[User talk:Happy-melon|&amp;lt;b style=&amp;quot;color:darkorange;&amp;quot;&amp;gt;melon&amp;lt;/b&amp;gt;]] 10:33, 10 April 2008 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Question==&lt;br /&gt;
{{tlx|editprotected}}&lt;br /&gt;
when looking at the source of this template [//en.wikipedia.org/w/index.php?title=Template:Navbar-collapsible&amp;amp;action=edit see here], why is it that there is one Template in red at the bottom, where it lists the templates transcluded onto this template. Could that be fixed? --&amp;lt;span style=&amp;quot;font-family:Comic Sans MS;&amp;quot;&amp;gt;[[User:Gman124|&amp;lt;span style=&amp;quot;color:darkgreen&amp;quot;&amp;gt;Gman&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:orange&amp;quot;&amp;gt;124&amp;lt;/span&amp;gt;]]&amp;lt;sup&amp;gt;[[User talk:Gman124|&amp;lt;span style=&amp;quot;color:darkgreen&amp;quot;&amp;gt; talk&amp;lt;/span&amp;gt;]]&amp;lt;/sup&amp;gt;&amp;lt;/span&amp;gt; 02:51, 18 February 2009 (UTC)&lt;br /&gt;
:It won&amp;#039;t be fixed unless it&amp;#039;s (a) breaking something; or (b) you provide working code to fix it. Cheers. --[[User:MZMcBride|MZMcBride]] ([[User talk:MZMcBride|talk]]) 08:53, 20 February 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Centering==&lt;br /&gt;
The most recent version of this template broke centering of the title, also looks like it is using &amp;quot;style&amp;quot; instead of &amp;quot;fontstyle&amp;quot; for the parameter. Suggested fix:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow:scroll&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; text-align:left; width:6em;&amp;quot;&amp;gt;{{Tnavbar|{{{2|}}}|{{#ifeq:{{{plain|}}}|1|plain|mini}}=1|fontstyle=color:{{{fontcolor|}}}}}&amp;lt;/div&amp;gt;&amp;lt;span style=&amp;quot;font-size:110%;{{#if:{{{fontcolor|}}}|color:{{{fontcolor|}}};}}&amp;quot;&amp;gt;{{{1}}}&amp;lt;/span&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
{{pp-template|small=yes}}&lt;br /&gt;
&amp;lt;!-- Add cats and interwikis to the /doc subpage, not here! --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
FYI I&amp;#039;ve not fully tested the above fix but am pretty sure it is right. [[User:PaleAqua|PaleAqua]] ([[User talk:PaleAqua|talk]]) 09:21, 20 March 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Link color of the &amp;lt;small&amp;gt;{{nowrap|v • d • e}}&amp;lt;/small&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
I have received good responses about a template I created which unite several different elements of [[CONMEBOL]]. However, the biggest drawback has been coloring the link color of the &amp;lt;small&amp;gt;{{nowrap|v • d • e}}&amp;lt;/small&amp;gt;. I have tried and retried trying to make that font while. Any help would be greatly appreciated.&lt;br /&gt;
&lt;br /&gt;
{{South American Football}}&lt;br /&gt;
&lt;br /&gt;
[[User:Jamen Somasu|Jamen Somasu]] ([[User talk:Jamen Somasu|talk]]) 13:31, 24 May 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Lua ==&lt;br /&gt;
&lt;br /&gt;
{{ping|Jackmcbarn}} Does the Lua version work? I&amp;#039;ve tried fixing the width of multiline {{tl|Navbox}} titles (see [[Template talk:Navbox#Header|here]]), and this template could be affected by any CSS changes needed so might need to use a div for this template&amp;#039;s title. [[User:Jc86035|Jc86035]] ([[User talk:Jc86035|talk]]) &amp;lt;small&amp;gt;&amp;lt;span style=&amp;quot;display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:80%;text-align:left&amp;quot;&amp;gt;Use &amp;amp;#123;&amp;amp;#123;[[Template:Reply to|re]]&amp;amp;#124;Jc86035&amp;amp;#125;&amp;amp;#125;&amp;lt;br /&amp;gt;to reply to me&amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt; 11:53, 10 January 2017 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Template-protected edit request on 17 March 2019 ==&lt;br /&gt;
&lt;br /&gt;
{{edit template-protected|Template:Navbar-collapsible|answered=yes}}&lt;br /&gt;
Please revise the name of the DeLorean.  The correct name is DeLorean not DeLorean DMC-12. [[User:Expandinglight5|Expandinglight5]] ([[User talk:Expandinglight5|talk]]) 05:05, 17 March 2019 (UTC)&lt;br /&gt;
:[[File:Red information icon with gradient background.svg|20px|link=|alt=]] &amp;#039;&amp;#039;&amp;#039;Not done:&amp;#039;&amp;#039;&amp;#039; this is the [[Help:Talk pages|talk page]] for discussing improvements to the [[Help:Template|template]] {{tlx|Navbar-collapsible}}. Please make your request at the talk page for the article concerned.&amp;lt;!-- Template:ETp --&amp;gt; – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 06:15, 17 March 2019 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Template-protected edit request on 25 March 2020 ==&lt;br /&gt;
&lt;br /&gt;
{{edit template-protected|Template:Navbar-collapsible|answered=yes}}&lt;br /&gt;
Panama has 558 confirmed cases and 8 deaths and 2 recovered. Source: https://www.tvn-2.com/nacionales/personas-recuperadas-casos-COVID-Panama_0_5541195909.amp.html [[Special:Contributions/190.219.162.190|190.219.162.190]] ([[User talk:190.219.162.190|talk]]) 23:37, 25 March 2020 (UTC)&lt;br /&gt;
:[[File:Red information icon with gradient background.svg|20px|link=|alt=]] &amp;#039;&amp;#039;&amp;#039;Not done:&amp;#039;&amp;#039;&amp;#039; this is the [[Help:Talk pages|talk page]] for discussing improvements to the [[Help:Template|template]] {{tlx|Navbar-collapsible}}. If possible, please make your request at the talk page for the article concerned. If you cannot edit the article&amp;#039;s talk page, you can instead make your request at [[Wikipedia:Requests for page protection#Current requests for edits to a protected page]].&amp;lt;!-- Template:ETp --&amp;gt; &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[[User:Paine Ellsworth|&amp;lt;span style=&amp;quot;font-size:92%;color:darkblue;font-family:Segoe Script&amp;quot;&amp;gt;P.I.&amp;amp;nbsp;Ellsworth&amp;lt;/span&amp;gt;]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;amp;nbsp;&amp;amp;nbsp;[[Editor|&amp;lt;span style=&amp;quot;color:black&amp;quot;&amp;gt;ed.&amp;lt;/span&amp;gt;]]&amp;amp;nbsp;[[User talk:Paine Ellsworth|&amp;lt;sup&amp;gt;put&amp;#039;r&amp;amp;nbsp;there&amp;lt;/sup&amp;gt;]]&amp;amp;nbsp;&amp;lt;small&amp;gt;15:15, 26 March 2020 (UTC)&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Automatic template name ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;del&amp;gt;I propose to change &amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:FULLPAGENAME}}&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt; recommended value in the documentation to &amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;{{PAGENAME}}&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;. The second parameter of &amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;{{navbar-collapsible}}&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt; is described as &amp;quot;the name of the template&amp;quot;, and the name of a template obviously does not include the &amp;quot;Template&amp;quot; namespace. Removing &amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;subst&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt; ensures &amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;{{navbar-collapsible}}&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt; continues to work after a template name change. There&amp;#039;s no need to change anything in &amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;{{navbar-collapsible}}&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;&amp;#039;s code—it already works with &amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;{{PAGENAME}}&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;. Only a change in the documentation is necessary.&amp;lt;/del&amp;gt; —&amp;amp;nbsp;[[User:UnladenSwallow|UnladenSwallow]] ([[User talk:UnladenSwallow|talk]]) 02:33, 15 April 2020 (UTC); edited 17:22, 18 April 2020 (UTC)&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;del&amp;gt;Even better, use &amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;{{PAGENAME}}&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt; as the default value of the second parameter, allowing us to simply write:{{quote|&amp;lt;kbd&amp;gt;&amp;lt;nowiki&amp;gt;{{navbar-collapsible|Heading wikitext}}&amp;lt;/nowiki&amp;gt;&amp;lt;/kbd&amp;gt;}}&amp;lt;/del&amp;gt;—&amp;amp;nbsp;[[User:UnladenSwallow|UnladenSwallow]] ([[User talk:UnladenSwallow|talk]]) 16:51, 15 April 2020 (UTC); edited 17:22, 18 April 2020 (UTC)&lt;br /&gt;
&lt;br /&gt;
:The above approach only worked for me because the article and the template happened to have the same name (sans the namespace). In all other cases it won&amp;#039;t work because Wikicode is evaluated in the context of the article, not the template. Apologies for the confusion, and feel free to delete this entire section. —&amp;amp;nbsp;[[User:UnladenSwallow|UnladenSwallow]] ([[User talk:UnladenSwallow|talk]]) 17:22, 18 April 2020 (UTC)&lt;/div&gt;</summary>
		<author><name>Sysop</name></author>
	</entry>
</feed>