Template:Sublevel units: Difference between revisions

m
Maybe this will make it prettier.
m (What, do I not need to do the same to the bottom ones?)
m (Maybe this will make it prettier.)
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}} | {{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{1}}}.jpg|{{{1}}}|center|96x96px]] {{#if:{{{3|}}} | | {{!}}{{!}} colspan = 5 {{!}} }} }} {{#if: {{{3|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{3}}}.jpg|{{{3}}}|center|96x96px]] {{#if:{{{5|}}} | | {{!}}{{!}} colspan = 4 {{!}} }}}} {{#if: {{{5|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{5}}}.jpg|{{{5}}}|center|96x96px]] {{#if:{{{7|}}} | | {{!}}{{!}} colspan = 3 {{!}} }}}} {{#if: {{{7|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{7}}}.jpg|{{{7}}}|center|96x96px]] {{#if:{{{9|}}} | | {{!}}{{!}} colspan = 2 {{!}} }}}} {{#if: {{{9|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{9}}}.jpg|{{{9}}}|center|96x96px]] {{#if:{{{11|}}} | | {{!}}{{!}} colspan = 1 {{!}} }}}} {{#if: {{{11|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{11}}}.jpg|{{{11}}}|center|96x96px]] }}
<includeonly>{{#if: {{{1|}}} | {{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{1}}}.jpg|{{{1}}}|center|96x96px]] {{#if:{{{3|}}} | | {{!}}{{!}} colspan = 5 rowspan = 2 {{!}} }} }} {{#if: {{{3|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{3}}}.jpg|{{{3}}}|center|96x96px]] {{#if:{{{5|}}} | | {{!}}{{!}} colspan = 4 rowspan = 2 {{!}} }}}} {{#if: {{{5|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{5}}}.jpg|{{{5}}}|center|96x96px]] {{#if:{{{7|}}} | | {{!}}{{!}} colspan = 3 rowspan = 2 {{!}} }}}} {{#if: {{{7|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{7}}}.jpg|{{{7}}}|center|96x96px]] {{#if:{{{9|}}} | | {{!}}{{!}} colspan = 2 rowspan = 2 {{!}} }}}} {{#if: {{{9|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{9}}}.jpg|{{{9}}}|center|96x96px]] {{#if:{{{11|}}} | | {{!}}{{!}} colspan = 1 rowspan = 2 {{!}} }}}} {{#if: {{{11|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{11}}}.jpg|{{{11}}}|center|96x96px]] }}
{{!}}-
{{!}}-
{{#if: {{{2|}}} | {{!}} style = "font-size: 80%;" {{!}} {{{2}}} }} {{#if: {{{4|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{4}}} }}{{#if: {{{6|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{6}}} }}{{#if: {{{8|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{8}}} }}{{#if: {{{10|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{10}}} }}{{#if: {{{12|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{12}}} }}
{{#if: {{{2|}}} | {{!}} style = "font-size: 80%;" {{!}} {{{2}}} }} {{#if: {{{4|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{4}}} }}{{#if: {{{6|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{6}}} }}{{#if: {{{8|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{8}}} }}{{#if: {{{10|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{10}}} }}{{#if: {{{12|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{12}}} }}