Difference between revisions of "Template:Navbox"

From VideoLAN Wiki
Jump to navigation Jump to search
m (HTML validation: attribute cellspacing is obsolete)
(Manual revert of revision 60185, adapted: a wikitable will match the appearance of other templates)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| cellpadding="3" class="widebox" style="border:solid #999 1px;background:#E0E8F8;font-size:0.9em;border-spacing:2px;"
+
{| class="widebox center" style="background:#e0e8f8; font-size:90%; text-align:center;"
|style="text-align:center; margin-left:auto; margin-right:auto;"|'''{{{title}}}'''
+
|'''{{{title}}}'''
 
|-
 
|-
 
{{#if:{{{list1|}}}<!--
 
{{#if:{{{list1|}}}<!--
 
-->|<!--
 
-->|<!--
-->{{!}} style="text-align:center; margin-left:auto; margin-right:auto;" {{!}} {{#if:{{{group1|}}}|'''{{{group1}}}:'''}} {{{list1}}}
+
-->{{!}} style="margin:auto 0.25em;" {{!}} {{#if:{{{group1|}}}|'''{{{group1}}}:'''}} {{{list1}}}
 
{{!}}- <!--
 
{{!}}- <!--
 
-->}}
 
-->}}
 
{{#if:{{{list2|}}}<!--
 
{{#if:{{{list2|}}}<!--
 
-->|<!--
 
-->|<!--
-->{{!}} style="text-align:center; margin-left:auto; margin-right:auto;" {{!}} {{#if:{{{group2|}}}|'''{{{group2}}}:'''}} {{{list2}}}
+
-->{{!}} style="margin:auto 0.25em;" {{!}} {{#if:{{{group2|}}}|'''{{{group2}}}:'''}} {{{list2}}}
 
{{!}}- <!--
 
{{!}}- <!--
 
-->}}
 
-->}}
 
{{#if:{{{list3|}}}<!--
 
{{#if:{{{list3|}}}<!--
 
-->|<!--
 
-->|<!--
-->{{!}} style="text-align:center; margin-left:auto; margin-right:auto;" {{!}} {{#if:{{{group3|}}}|'''{{{group3}}}:'''}} {{{list3}}}
+
-->{{!}} style="margin:auto 0.25em;" {{!}} {{#if:{{{group3|}}}|'''{{{group3}}}:'''}} {{{list3}}}
 
{{!}}- <!--
 
{{!}}- <!--
 
-->}}
 
-->}}
| <!--foobar-->
+
|} <!--foobar-->
|}
 
 
<noinclude>
 
<noinclude>
 
Navigational template for use in general
 
Navigational template for use in general
  
 
Format: title = title, groupX = heading of group X(optional), listX = list of links for group X
 
Format: title = title, groupX = heading of group X(optional), listX = list of links for group X
[[Category:Templates]]
+
[[Category:Navigation templates]]
 
</noinclude>
 
</noinclude>

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