Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Template:Sidebar with collapsible headers/content"

From FlightGear wiki
Jump to: navigation, search
(Undo revision 90494 by Red Leader (talk))
Line 1: Line 1:
 
<includeonly><div {{#if: {{{2|}}} | class="NavFrame {{{state|collapsed}}}" }} style="border: none; padding-top: 0.2em; padding-bottom: 0.2em;">{{#if: {{{2|}}}
 
<includeonly><div {{#if: {{{2|}}} | class="NavFrame {{{state|collapsed}}}" }} style="border: none; padding-top: 0.2em; padding-bottom: 0.2em;">{{#if: {{{2|}}}
| <div class="NavHead {{{headingclass|}}}" style="font-size: 105%; background: transparent; text-align: center; {{{headingstyle|}}}"><!--
+
| <div class="NavHead {{{headingclass|}}}" style="font-size: 105%; background: transparent; text-align: center; {{{headingstyle|}}}">{{{2}}}</div>
-->{{{2}}}<!--
+
}}<!--
--></div>
+
  
<div class="NavContent {{{contentclass|}}}" style="font-size: 105%; padding-top: 0.2em; {{{contentstyle|}}}"><!--
+
--><div class="NavContent {{{contentclass|}}}" style="font-size: 105%; {{#if: {{{2|}}} | padding-top: 0.2em; }} {{{contentstyle|}}}">
-->{{{1}}}<!--
+
{{{1}}}</div>
--></div>
+
</div></includeonly><noinclude>
| {{{1}}}
+
}}</div></includeonly><noinclude>
+
 
[[Category:Undocumented templates]]
 
[[Category:Undocumented templates]]
 
</noinclude>
 
</noinclude>

Revision as of 09:34, 11 December 2015