Difference between revisions of "Template:Infobox settlement/columns"

From blackwiki
Jump to navigation Jump to search
imported>Gadget850
(update obsolete HTML)
imported>Izkala
(Fix text alignment)
Line 21: Line 21:
 
  |<!-- if more than two images
 
  |<!-- if more than two images
 
-->{{#if:{{{1|}}}
 
-->{{#if:{{{1|}}}
|<td style="vertical-align:middle;" {{#if:{{{2|}}}||colspan=2}} align="center">{{{1|}}}</td>
+
|<td style="vertical-align:middle; text-align:center;" {{#if:{{{2|}}}||colspan=2}}>{{{1|}}}</td>
 
}}{{#if:{{{2|}}}
 
}}{{#if:{{{2|}}}
|<td style="vertical-align:middle;" {{#if:{{{1|}}}||colspan=2}} align="center">{{{2|}}}</td>
+
|<td style="vertical-align:middle; text-align:center;" {{#if:{{{1|}}}||colspan=2}}>{{{2|}}}</td>
 
}}</tr><tr>{{#if:{{{3|}}}
 
}}</tr><tr>{{#if:{{{3|}}}
|<td style="vertical-align:middle;" {{#if:{{{4|}}}||colspan=2}} align="center">{{{3|}}}</td>
+
|<td style="vertical-align:middle; text-align:center;" {{#if:{{{4|}}}||colspan=2}}>{{{3|}}}</td>
 
}}{{#if:{{{4| }}}
 
}}{{#if:{{{4| }}}
|<td style="vertical-align:middle;" {{#if:{{{3|}}}||colspan=2}} align="center">{{{4|}}}</td>
+
|<td style="vertical-align:middle; text-align:center;" {{#if:{{{3|}}}||colspan=2}}>{{{4|}}}</td>
 
}}
 
}}
 
  |<!-- if two or fewer images
 
  |<!-- if two or fewer images

Revision as of 12:28, 25 June 2015

50px Template documentation[view] [edit] [history] [purge]

This is a subtemplate of {{Infobox settlement}} and should not be used directly.

Examples

With 0

1
2
3
4
5
Right

Without 0

Four
12
34
Three
2
34
1
34
12
4
12
3
Two
34
24
23
14
13
12
One
1
2
3
4
None

See also