Sjabloon:Infobox generiek: verschil tussen versies
Uit Wiki Sports Hall of Fame Suriname
(Fix getal) |
(Voor Infobox chemische stof toegevoegd: 57-59 + 65-69 + 85-89 + k9 + 91-92 + kA + A1-A2 + kB + B1-B6) |
||
Regel 142: | Regel 142: | ||
{{!-}}}} | {{!-}}}} | ||
{{#if:{{{kop5|}}}| | {{#if:{{{kop5|}}}| | ||
− | {{#if:{{{breed5|}}}{{{links5|}}}{{{item5_1|}}}{{{item5_2|}}}{{{item5_3|}}}{{{item5_4|}}}{{{item5_5|}}}{{{item5_6|}}}{{{toonkop5|}}}| | + | {{#if:{{{breed5|}}}{{{links5|}}}{{{item5_1|}}}{{{item5_2|}}}{{{item5_3|}}}{{{item5_4|}}}{{{item5_5|}}}{{{item5_6|}}}{{{item5_7|}}}{{{item5_8|}}}{{{item5_9|}}}{{{toonkop5|}}}| |
{{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000}}}" align="center" colspan="3" {{!}} {{#ifeq:{{{kop5}}}|----||'''{{#if:{{{color|}}}|{{#if:{{{linkcolor|}}}|{{{kop5}}}|<font color={{{color}}}>{{{kop5}}}</font>}}|{{{kop5}}}}}'''}} | {{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000}}}" align="center" colspan="3" {{!}} {{#ifeq:{{{kop5}}}|----||'''{{#if:{{{color|}}}|{{#if:{{{linkcolor|}}}|{{{kop5}}}|<font color={{{color}}}>{{{kop5}}}</font>}}|{{{kop5}}}}}'''}} | ||
{{!-}}}}}} | {{!-}}}}}} | ||
Regel 160: | Regel 160: | ||
{{!-}}}} | {{!-}}}} | ||
{{#if:{{{item5_6|}}}| {{!}} {{{head5_6|}}} {{!!}} colspan="2" {{!}} {{{item5_6}}} | {{#if:{{{item5_6|}}}| {{!}} {{{head5_6|}}} {{!!}} colspan="2" {{!}} {{{item5_6}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item5_7|}}}| {{!}} {{{head5_7|}}} {{!!}} colspan="2" {{!}} {{{item5_7}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item5_8|}}}| {{!}} {{{head5_8|}}} {{!!}} colspan="2" {{!}} {{{item5_8}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item5_9|}}}| {{!}} {{{head5_9|}}} {{!!}} colspan="2" {{!}} {{{item5_9}}} | ||
{{!-}}}} | {{!-}}}} | ||
{{#if:{{{kop6|}}}| | {{#if:{{{kop6|}}}| | ||
− | {{#if:{{{breed6|}}}{{{links6|}}}{{{item6_1|}}}{{{item6_2|}}}{{{item6_3|}}}{{{item6_4|}}}{{{toonkop6|}}}| | + | {{#if:{{{breed6|}}}{{{links6|}}}{{{item6_1|}}}{{{item6_2|}}}{{{item6_3|}}}{{{item6_4|}}}{{{item6_5|}}}{{{item6_6|}}}{{{item6_7|}}}{{{item6_8|}}}{{{item6_9|}}}{{{toonkop6|}}}| |
{{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000}}}" align="center" colspan="3" {{!}} {{#ifeq:{{{kop6}}}|----||'''{{#if:{{{color|}}}|{{#if:{{{linkcolor|}}}|{{{kop6}}}|<font color={{{color}}}>{{{kop6}}}</font>}}|{{{kop6}}}}}'''}} | {{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000}}}" align="center" colspan="3" {{!}} {{#ifeq:{{{kop6}}}|----||'''{{#if:{{{color|}}}|{{#if:{{{linkcolor|}}}|{{{kop6}}}|<font color={{{color}}}>{{{kop6}}}</font>}}|{{{kop6}}}}}'''}} | ||
{{!-}}}}}} | {{!-}}}}}} | ||
Regel 176: | Regel 182: | ||
{{!-}}}} | {{!-}}}} | ||
{{#if:{{{item6_4|}}}| {{!}} {{{head6_4|}}} {{!!}} colspan="2" {{!}} {{{item6_4}}} | {{#if:{{{item6_4|}}}| {{!}} {{{head6_4|}}} {{!!}} colspan="2" {{!}} {{{item6_4}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item6_5|}}}| {{!}} {{{head6_5|}}} {{!!}} colspan="2" {{!}} {{{item6_5}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item6_6|}}}| {{!}} {{{head6_6|}}} {{!!}} colspan="2" {{!}} {{{item6_6}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item6_7|}}}| {{!}} {{{head6_7|}}} {{!!}} colspan="2" {{!}} {{{item6_7}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item6_8|}}}| {{!}} {{{head6_8|}}} {{!!}} colspan="2" {{!}} {{{item6_8}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item6_9|}}}| {{!}} {{{head6_9|}}} {{!!}} colspan="2" {{!}} {{{item6_9}}} | ||
{{!-}}}} | {{!-}}}} | ||
{{#if:{{{kop7|}}}| | {{#if:{{{kop7|}}}| | ||
Regel 194: | Regel 210: | ||
{{!-}}}} | {{!-}}}} | ||
{{#if:{{{kop8|}}}| | {{#if:{{{kop8|}}}| | ||
− | {{#if:{{{breed8|}}}{{{links8|}}}{{{item8_1|}}}{{{item8_2|}}}{{{item8_3|}}}{{{item8_4|}}}{{{toonkop8|}}}| | + | {{#if:{{{breed8|}}}{{{links8|}}}{{{item8_1|}}}{{{item8_2|}}}{{{item8_3|}}}{{{item8_4|}}}{{{item8_5|}}}{{{item8_6|}}}{{{item8_7|}}}{{{item8_8|}}}{{{item8_9|}}}{{{toonkop8|}}}| |
{{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000}}}" align="center" colspan="3" {{!}} {{#ifeq:{{{kop8}}}|----||'''{{#if:{{{color|}}}|{{#if:{{{linkcolor|}}}|{{{kop8}}}|<font color={{{color}}}>{{{kop8}}}</font>}}|{{{kop8}}}}}'''}} | {{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000}}}" align="center" colspan="3" {{!}} {{#ifeq:{{{kop8}}}|----||'''{{#if:{{{color|}}}|{{#if:{{{linkcolor|}}}|{{{kop8}}}|<font color={{{color}}}>{{{kop8}}}</font>}}|{{{kop8}}}}}'''}} | ||
{{!-}}}}}} | {{!-}}}}}} | ||
Regel 208: | Regel 224: | ||
{{!-}}}} | {{!-}}}} | ||
{{#if:{{{item8_4|}}}| {{!}} {{{head8_4|}}} {{!!}} colspan="2" {{!}} {{{item8_4}}} | {{#if:{{{item8_4|}}}| {{!}} {{{head8_4|}}} {{!!}} colspan="2" {{!}} {{{item8_4}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item8_5|}}}| {{!}} {{{head8_5|}}} {{!!}} colspan="2" {{!}} {{{item8_5}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item8_6|}}}| {{!}} {{{head8_6|}}} {{!!}} colspan="2" {{!}} {{{item8_6}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item8_7|}}}| {{!}} {{{head8_7|}}} {{!!}} colspan="2" {{!}} {{{item8_7}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item8_8|}}}| {{!}} {{{head8_8|}}} {{!!}} colspan="2" {{!}} {{{item8_8}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item8_9|}}}| {{!}} {{{head8_9|}}} {{!!}} colspan="2" {{!}} {{{item8_9}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{kop9|}}}| | ||
+ | {{#if:{{{item9_1|}}}{{{item9_2|}}}| | ||
+ | {{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000}}}" align="center" colspan="3" {{!}} {{#ifeq:{{{kop9}}}|----||'''{{#if:{{{color|}}}|{{#if:{{{linkcolor|}}}|{{{kop9}}}|<font color={{{color}}}>{{{kop9}}}</font>}}|{{{kop9}}}}}'''}} | ||
+ | {{!-}}}}}} | ||
+ | {{#if:{{{item9_1|}}}| {{!}} {{{head9_1|}}} {{!!}} colspan="2" {{!}} {{{item9_1}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{item9_2|}}}| {{!}} {{{head9_2|}}} {{!!}} colspan="2" {{!}} {{{item9_2}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{kopA|}}}| | ||
+ | {{#if:{{{itemA_1|}}}{{{itemA_2|}}}| | ||
+ | {{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000}}}" align="center" colspan="3" {{!}} {{#ifeq:{{{kopA}}}|----||'''{{#if:{{{color|}}}|{{#if:{{{linkcolor|}}}|{{{kopA}}}|<font color={{{color}}}>{{{kopA}}}</font>}}|{{{kopA}}}}}'''}} | ||
+ | {{!-}}}}}} | ||
+ | {{#if:{{{itemA_1|}}}| {{!}} {{{headA_1|}}} {{!!}} colspan="2" {{!}} {{{itemA_1}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{itemA_2|}}}| {{!}} {{{headA_2|}}} {{!!}} colspan="2" {{!}} {{{itemA_2}}} | ||
+ | {{!-}}}} | ||
+ | |||
+ | {{#if:{{{kopB|}}}| | ||
+ | {{#if:{{{itemB_1|}}}{{{itemB_2|}}}| | ||
+ | {{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000}}}" align="center" colspan="3" {{!}} {{#ifeq:{{{kopB}}}|----||'''{{#if:{{{color|}}}|{{#if:{{{linkcolor|}}}|{{{kopB}}}|<font color={{{color}}}>{{{kopB}}}</font>}}|{{{kopB}}}}}'''}} | ||
+ | {{!-}}}}}} | ||
+ | {{#if:{{{itemB_1|}}}| {{!}} {{{headB_1|}}} {{!!}} colspan="2" {{!}} {{{itemB_1}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{itemB_2|}}}| {{!}} {{{headB_2|}}} {{!!}} colspan="2" {{!}} {{{itemB_2}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{itemB_3|}}}| {{!}} {{{headB_3|}}} {{!!}} colspan="2" {{!}} {{{itemB_3}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{itemB_4|}}}| {{!}} {{{headB_4|}}} {{!!}} colspan="2" {{!}} {{{itemB_4}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{itemB_5|}}}| {{!}} {{{headB_5|}}} {{!!}} colspan="2" {{!}} {{{itemB_5}}} | ||
+ | {{!-}}}} | ||
+ | {{#if:{{{itemB_6|}}}| {{!}} {{{headB_6|}}} {{!!}} colspan="2" {{!}} {{{itemB_6}}} | ||
{{!-}}}} | {{!-}}}} | ||
{{#if:{{{image0|}}}| {{!}} align="center" colspan="3" {{!}} [[Bestand:{{{image0|}}}|{{{afbeeldingsbreedte|{{#expr:{{{breedte|{{Infobox/breedte}}}}}-6}}px}}}|{{{caption0|}}}]] | {{#if:{{{image0|}}}| {{!}} align="center" colspan="3" {{!}} [[Bestand:{{{image0|}}}|{{{afbeeldingsbreedte|{{#expr:{{{breedte|{{Infobox/breedte}}}}}-6}}px}}}|{{{caption0|}}}]] |
Versie van 28 nov 2009 om 19:17
De sjabloonbeschrijving hieronder wordt niet afgebeeld wanneer het sjabloon wordt geplaatst.
KOP | |||||||
BREED | |||||||
SOORT 25x19px | |||||||
KOP0 | |||||||
BREED0 | |||||||
CAPTION | |||||||
CAPTION | |||||||
Sjabloon:Infobox/afbeeldingbreedtepx | |||||||
KOP1 | |||||||
HEAD1_1 | ITEM1_1 | ||||||
HEAD1_2 | ITEM1_2 | ||||||
HEAD1_3 | ITEM1_3 | ||||||
HEAD1_9 | ITEM1_9 | ||||||
KOP2 | |||||||
BREED2 | |||||||
LINKS2 | |||||||
HEAD2_1 | ITEM2_1 | ITEM2_1r | |||||
HEAD2_9 | ITEM2_9 | ||||||
HEAD4_1 | ITEM4_1 | ||||||
HEAD4_6 | ITEM4_6 | ||||||
CAPTION1 | |||||||
CAPTION1 | |||||||
OTHERKOP | |||||||
OTHER1 | |||||||
LINKS31 | |||||||
DRIEKOP1 | |||||||
| |||||||
KOP99 | |||||||
|
Doel
Het sjabloon Sjabloon:Tl is gemaakt om eenvoudig functioneel gelijksoortige sjablonen te maken en niet bedoeld om direct in een artikel te gebruiken.
Gebruik
Onderstaand een voorbeeld met rechts het resultaat. De volledige lijst van parameters, die naar behoefte gekopieerd kunnen worden, staat op de overlegpagina.
{{Infobox generiek | kop = KOP | breed = BREED | soort = SOORT | icon = icon.svg | kop0 = KOP0 | breed0 = BREED0 | image = plaatje.svg | caption = CAPTION | main1 = [[Bestand:main1.svg|{{Infobox/afbeeldingbreedte}}px]] | kop1 = KOP1 | head1_1 = HEAD1_1 | item1_1 = ITEM1_1 | head1_2 = HEAD1_2 | item1_2 = ITEM1_2 | head1_3 = HEAD1_3 | item1_3 = ITEM1_3 | head1_4 = HEAD1_4 | item1_4 = ITEM1_4 | head1_5 = HEAD1_5 | item1_5 = ITEM1_5 | head1_6 = HEAD1_6 | item1_6 = ITEM1_6 | head1_7 = HEAD1_7 | item1_7 = ITEM1_7 | head1_8 = HEAD1_8 | item1_8 = ITEM1_8 | head1_9 = HEAD1_9 | item1_9 = ITEM1_9 | kop2 = KOP2 | breed2 = BREED2 | links2 = LINKS2 | head2_1 = HEAD2_1 | item2_1 = ITEM2_1 | item2_1r = ITEM2_1r | head2_2 = HEAD2_2 | item2_2 = ITEM2_2 | head2_3 = HEAD2_3 | item2_3 = ITEM2_3 | head2_4 = HEAD2_4 | item2_4 = ITEM2_4 | head2_5 = HEAD2_5 | item2_5 = ITEM2_5 | head2_6 = HEAD2_6 | item2_6 = ITEM2_6 | head2_7 = HEAD2_7 | item2_7 = ITEM2_7 | head2_8 = HEAD2_8 | item2_8 = ITEM2_8 | head2_9 = HEAD2_9 | item2_9 = ITEM2_9 | kop4 = ---- | head4_1 = HEAD4_1 | item4_1 = ITEM4_1 | head4_6 = HEAD4_6 | item4_6 = ITEM4_6 | image1 = image1.svg | caption1 = CAPTION1 | otherkop = OTHERKOP | other1 = OTHER1 | links31 = LINKS31 | driekop1 = DRIEKOP1 | drie1_1 = DRIE1_1 | drie1_2 = DRIE1_2 | drie1_3 = DRIE1_3 | portaal = PORTAAL | portaal3 = PORTAAL3 | kop99 = KOP99 }}