Difference between revisions of "Template:Navbox"

From VideoLAN Wiki
Jump to navigation Jump to search
(Manual revert of revision 60185, adapted: a wikitable will match the appearance of other templates)
 
Line 1: Line 1:
<div class="widebox center" style="background:#e0e8f8; font-size:90%; padding:0.5em; text-align:center;">
+
{| class="widebox center" style="background:#e0e8f8; font-size:90%; text-align:center;"
<div>'''{{{title}}}'''</div>
+
|'''{{{title}}}'''
{{#if:{{{list1|}}}|<div style="margin:auto 0.25em;">{{#if:{{{group1|}}}|'''{{{group1}}}:'''}} {{{list1}}}</div>}}<!--
+
|-
-->{{#if:{{{list2|}}}|<div style="margin:auto 0.25em;">{{#if:{{{group2|}}}|'''{{{group2}}}:'''}} {{{list2}}}</div>}}<!--
+
{{#if:{{{list1|}}}<!--
-->{{#if:{{{list3|}}}|<div style="margin:auto 0.25em;">{{#if:{{{group3|}}}|'''{{{group3}}}:'''}} {{{list3}}}</div>}}
+
-->|<!--
<!--foobar-->
+
-->{{!}} style="margin:auto 0.25em;" {{!}} {{#if:{{{group1|}}}|'''{{{group1}}}:'''}} {{{list1}}}
</div>
+
{{!}}- <!--
 +
-->}}
 +
{{#if:{{{list2|}}}<!--
 +
-->|<!--
 +
-->{{!}} style="margin:auto 0.25em;" {{!}} {{#if:{{{group2|}}}|'''{{{group2}}}:'''}} {{{list2}}}
 +
{{!}}- <!--
 +
-->}}
 +
{{#if:{{{list3|}}}<!--
 +
-->|<!--
 +
-->{{!}} style="margin:auto 0.25em;" {{!}} {{#if:{{{group3|}}}|'''{{{group3}}}:'''}} {{{list3}}}
 +
{{!}}- <!--
 +
-->}}
 +
|} <!--foobar-->
 
<noinclude>
 
<noinclude>
 
Navigational template for use in general
 
Navigational template for use in general

Latest revision as of 08:32, 9 June 2019

{{{title}}}

Navigational template for use in general

Format: title = title, groupX = heading of group X(optional), listX = list of links for group X