Difference between revisions of "Template:Navbox"

From VideoLAN Wiki
Jump to navigation Jump to search
m
m (HTML validation: attribute align is obsolete)
Line 1: Line 1:
 
{| cellspacing="2" cellpadding="3" class="widebox" style="border:solid #999 1px;background:#E0E8F8;font-size:0.9em;"
 
{| cellspacing="2" cellpadding="3" class="widebox" style="border:solid #999 1px;background:#E0E8F8;font-size:0.9em;"
|align="center"|'''{{{title}}}'''
+
|style="text-align:center; margin-left:auto; margin-right:auto;"|'''{{{title}}}'''
 
|-
 
|-
 
{{#if:{{{list1|}}}<!--
 
{{#if:{{{list1|}}}<!--
 
-->|<!--
 
-->|<!--
-->{{!}} align="center" {{!}} {{#if:{{{group1|}}}|'''{{{group1}}}:'''}} {{{list1}}}
+
-->{{!}} style="text-align:center; margin-left:auto; margin-right:auto;" {{!}} {{#if:{{{group1|}}}|'''{{{group1}}}:'''}} {{{list1}}}
 
{{!}}- <!--
 
{{!}}- <!--
 
-->}}
 
-->}}
 
{{#if:{{{list2|}}}<!--
 
{{#if:{{{list2|}}}<!--
 
-->|<!--
 
-->|<!--
-->{{!}} align="center" {{!}} {{#if:{{{group2|}}}|'''{{{group2}}}:'''}} {{{list2}}}
+
-->{{!}} style="text-align:center; margin-left:auto; margin-right:auto;" {{!}} {{#if:{{{group2|}}}|'''{{{group2}}}:'''}} {{{list2}}}
 
{{!}}- <!--
 
{{!}}- <!--
 
-->}}
 
-->}}
 
{{#if:{{{list3|}}}<!--
 
{{#if:{{{list3|}}}<!--
 
-->|<!--
 
-->|<!--
-->{{!}} align="center" {{!}} {{#if:{{{group3|}}}|'''{{{group3}}}:'''}} {{{list3}}}
+
-->{{!}} style="text-align:center; margin-left:auto; margin-right:auto;" {{!}} {{#if:{{{group3|}}}|'''{{{group3}}}:'''}} {{{list3}}}
 
{{!}}- <!--
 
{{!}}- <!--
 
-->}}
 
-->}}

Revision as of 05:00, 2 February 2019

{{{title}}}

Navigational template for use in general

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