Bruger:PHansen/Skabelon:Demography 12col
Ryd cachen for denne side (purge).
Test af {{#switch:{{{border}}} i Skabelon:Demography 12col
"Mix of named and unnamed parameters" - |border=0 - |border=1 og #default
Meta:Help:Template#Mix_of_named_and_unnamed_parameters
Blandt andet. Vilnius#Historisk udvikling
Demografisk udvikling af {{FULLPAGENAME}} mellem {{{2}}} og {{{13}}} | |||||||||||
{{{2}}} | {{{3}}} | {{{4}}} | {{{5}}} | {{{6}}} | {{{7}}} | {{{8}}} | {{{9}}} | {{{10}}} | {{{11}}} | {{{12}}} | {{{13}}} |
{{{14}}} | {{{15}}} | {{{16}}} | {{{17}}} | {{{18}}} | {{{19}}} | {{{20}}} | {{{21}}} | {{{22}}} | {{{23}}} | {{{24}}} | {{{25}}} |
Test af {{#switch-mekanismen
- Parameteren med navn har border=0 --- dvs koden bliver
border="0"
i wiki-tabellen
{{Bruger:PHansen/Skabelontest01|border=0|700px|1796|1811|1818|1859|1875|1897|1909|1916|1919|1923|1931|1939| 17 500|56 300|33 600|58 200|82 700|154 500|205 200|140 800|128 500|167 400|195 100|209 400}}
Demografisk udvikling af {{FULLPAGENAME}} mellem 1796 og 1939 | |||||||||||
1796 | 1811 | 1818 | 1859 | 1875 | 1897 | 1909 | 1916 | 1919 | 1923 | 1931 | 1939 |
17 500 |
56 300 | 33 600 | 58 200 | 82 700 | 154 500 | 205 200 | 140 800 | 128 500 | 167 400 | 195 100 | 209 400 |
- Parameteren med navn har border=1 --- dvs koden bliver
border="1"
i wiki-tabellen
{{Bruger:PHansen/Skabelontest01|border=1|700px|1796|1811|1818|1859|1875|1897|1909|1916|1919|1923|1931|1939| 17 500|56 300|33 600|58 200|82 700|154 500|205 200|140 800|128 500|167 400|195 100|209 400|1}}
Demografisk udvikling af {{FULLPAGENAME}} mellem 1796 og 1939 | |||||||||||
1796 | 1811 | 1818 | 1859 | 1875 | 1897 | 1909 | 1916 | 1919 | 1923 | 1931 | 1939 |
17 500 |
56 300 | 33 600 | 58 200 | 82 700 | 154 500 | 205 200 | 140 800 | 128 500 | 167 400 | 195 100 | 209 400 |
- Ingen ekstra parametre, altså #default --- dvs class="wikitable"
{{Bruger:PHansen/Skabelontest01|700px|1796|1811|1818|1859|1875|1897|1909|1916|1919|1923|1931|1939| 17 500|56 300|33 600|58 200|82 700|154 500|205 200|140 800|128 500|167 400|195 100|209 400}}
Demografisk udvikling af {{FULLPAGENAME}} mellem 1796 og 1939 | |||||||||||
1796 | 1811 | 1818 | 1859 | 1875 | 1897 | 1909 | 1916 | 1919 | 1923 | 1931 | 1939 |
17 500 |
56 300 | 33 600 | 58 200 | 82 700 | 154 500 | 205 200 | 140 800 | 128 500 | 167 400 | 195 100 | 209 400 |
- Koden til wiki-tabellen:
{| style="width:{{{1}}}; text-align:center" {{#switch:{{{border}}} | 0 = border{{=}}"0" | 1 = border{{=}}"1" | #default = class{{=}}"wikitable" }} | colspan="12" bgcolor="#eeeeee" align="center" | <strong>[[Demografi|Demografisk]] udvikling af <span style="color:#0000D0;">{{FULLPAGENAME}}</span> mellem {{{2}}} og {{{13}}}</strong> |- bgcolor="#eeeeee" | align="center" |<strong>{{{2}}}</strong> | align="center" |<strong>{{{3}}}</strong> | align="center" |<strong>{{{4}}}</strong> | align="center" |<strong>{{{5}}}</strong> | align="center" |<strong>{{{6}}}</strong> | align="center" |<strong>{{{7}}}</strong> | align="center" |<strong>{{{8}}}</strong> | align="center" |<strong>{{{9}}}</strong> | align="center" |<strong>{{{10}}}</strong> | align="center" |<strong>{{{11}}}</strong> | align="center" |<strong>{{{12}}}</strong> | align="center" |<strong>{{{13}}}</strong> |- bgcolor="#eeeeee" | align="center" |{{{14}}} | align="center" |{{{15}}} | align="center" |{{{16}}} | align="center" |{{{17}}} | align="center" |{{{18}}} | align="center" |{{{19}}} | align="center" |{{{20}}} | align="center" |{{{21}}} | align="center" |{{{22}}} | align="center" |{{{23}}} | align="center" |{{{24}}} | align="center" |{{{25}}} |- |}