Sjabloon:Infobox generiek: verschil tussen versies
Uit Wiki Sports Hall of Fame Suriname
k (Catfix) |
(Correcte software update) |
||
| Regel 20: | Regel 20: | ||
{{#If:{{{kolom1|}}}{{{kolom2|}}}{{{kolom3|}}}| {{!}} width="{{{kolom1|}}}" {{!}} {{!!}} width="{{{kolom2|}}}" {{!}} {{!!}} width="{{{kolom3|}}}" {{!}} | {{#If:{{{kolom1|}}}{{{kolom2|}}}{{{kolom3|}}}| {{!}} width="{{{kolom1|}}}" {{!}} {{!!}} width="{{{kolom2|}}}" {{!}} {{!!}} width="{{{kolom3|}}}" {{!}} | ||
{{!}}-}} | {{!}}-}} | ||
| − | {{#If:{{{image|}}}| {{!}} align="center" colspan="3" {{!}} [[Bestand:{{{image}}}|{{#If:{{{imagewidth|}}}|{{{imagewidth|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}- | + | {{#If:{{{image|}}}| {{!}} align="center" style="padding:0;" colspan="3" {{!}} [[Bestand:{{{image}}}|{{#If:{{{imagewidth|}}}|{{{imagewidth|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}-4}}px}}|{{{caption|{{PAGENAME}}}}}]] |
{{!}}-}} | {{!}}-}} | ||
{{#If:{{{image|}}}|{{#If:{{{caption|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{caption}}}</small> | {{#If:{{{image|}}}|{{#If:{{{caption|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{caption}}}</small> | ||
| Regel 26: | Regel 26: | ||
{{#If:{{{image|}}}||{{#If:{{{noimage|}}}|{{!}} align="center" colspan="3" {{!}} {{{noimage|}}} | {{#If:{{{image|}}}||{{#If:{{{noimage|}}}|{{!}} align="center" colspan="3" {{!}} {{{noimage|}}} | ||
{{!}}-}}}} | {{!}}-}}}} | ||
| − | {{#If:{{{mainimage|}}}| {{!}} align="center" colspan="3" {{!}} [[Bestand:{{{mainimage}}}|{{#If:{{{mainimagewidth|}}}|{{{mainimagewidth|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}- | + | {{#If:{{{mainimage|}}}| {{!}} align="center" style="padding:0;" colspan="3" {{!}} [[Bestand:{{{mainimage}}}|{{#If:{{{mainimagewidth|}}}|{{{mainimagewidth|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}-4}}px}}|{{{maincaption|{{PAGENAME}}}}}]] |
{{!}}-}} | {{!}}-}} | ||
{{#If:{{{mainimage|}}}|{{#If:{{{maincaption|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{maincaption}}}</small> | {{#If:{{{mainimage|}}}|{{#If:{{{maincaption|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{maincaption}}}</small> | ||
| Regel 32: | Regel 32: | ||
{{#If:{{{mainimage|}}}||{{#If:{{{nomainimage|}}}|{{!}} align="center" colspan="3" {{!}} {{{nomainimage|}}} | {{#If:{{{mainimage|}}}||{{#If:{{{nomainimage|}}}|{{!}} align="center" colspan="3" {{!}} {{{nomainimage|}}} | ||
{{!}}-}}}} | {{!}}-}}}} | ||
| − | {{#If:{{{otherimage|}}}| {{!}} align="center" colspan="3" {{!}} [[Bestand:{{{otherimage}}}|{{#If:{{{otherimagewidth|}}}|{{{otherimagewidth|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}- | + | {{#If:{{{otherimage|}}}| {{!}} align="center" style="padding:0;" colspan="3" {{!}} [[Bestand:{{{otherimage}}}|{{#If:{{{otherimagewidth|}}}|{{{otherimagewidth|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}-4}}px}}|{{{othercaption|{{PAGENAME}}}}}]] |
{{!}}-}} | {{!}}-}} | ||
{{#If:{{{otherimage|}}}|{{#If:{{{othercaption|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{othercaption}}}</small> | {{#If:{{{otherimage|}}}|{{#If:{{{othercaption|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{othercaption}}}</small> | ||
| Regel 348: | Regel 348: | ||
{{#If:{{{itemB_6|}}}| {{!}} style="font-weight:bold;" {{!}} {{{headB_6|}}} {{!!}} colspan="2" {{!}} {{{itemB_6}}} | {{#If:{{{itemB_6|}}}| {{!}} style="font-weight:bold;" {{!}} {{{headB_6|}}} {{!!}} colspan="2" {{!}} {{{itemB_6}}} | ||
{{!}}-}} | {{!}}-}} | ||
| − | {{#If:{{{image0|}}}| {{!}} align="center" colspan="3" {{!}} [[Bestand:{{{image0|}}}|{{#If:{{{imagewidth0|}}}|{{{imagewidth0|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}- | + | {{#If:{{{image0|}}}| {{!}} align="center" style="padding:0;" colspan="3" {{!}} [[Bestand:{{{image0|}}}|{{#If:{{{imagewidth0|}}}|{{{imagewidth0|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}-4}}px}}|{{{caption0|{{PAGENAME}}}}}]] |
{{!}}-}} | {{!}}-}} | ||
{{#If:{{{image0|}}}|{{#If:{{{caption0|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{caption0}}}</small> | {{#If:{{{image0|}}}|{{#If:{{{caption0|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{caption0}}}</small> | ||
| Regel 354: | Regel 354: | ||
{{#If:{{{image0|}}}||{{#If:{{{noimage0|}}}|{{!}} align="center" colspan="3" {{!}} {{{noimage0|}}} | {{#If:{{{image0|}}}||{{#If:{{{noimage0|}}}|{{!}} align="center" colspan="3" {{!}} {{{noimage0|}}} | ||
{{!}}-}}}} | {{!}}-}}}} | ||
| − | {{#If:{{{image1|}}}| {{!}} align="center" colspan="3" {{!}} [[Bestand:{{{image1|}}}|{{#If:{{{imagewidth1|}}}|{{{imagewidth1|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}- | + | {{#If:{{{image1|}}}| {{!}} align="center" style="padding:0;" colspan="3" {{!}} [[Bestand:{{{image1|}}}|{{#If:{{{imagewidth1|}}}|{{{imagewidth1|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}-4}}px}}|{{{caption1|{{PAGENAME}}}}}]] |
{{!}}-}} | {{!}}-}} | ||
{{#If:{{{image1|}}}|{{#If:{{{caption1|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{caption1}}}</small> | {{#If:{{{image1|}}}|{{#If:{{{caption1|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{caption1}}}</small> | ||
| Regel 360: | Regel 360: | ||
{{#If:{{{image1|}}}||{{#If:{{{noimage1|}}}|{{!}} align="center" colspan="3" {{!}} {{{noimage1|}}} | {{#If:{{{image1|}}}||{{#If:{{{noimage1|}}}|{{!}} align="center" colspan="3" {{!}} {{{noimage1|}}} | ||
{{!}}-}}}} | {{!}}-}}}} | ||
| − | {{#If:{{{image2|}}}| {{!}} align="center" colspan="3" {{!}} [[Bestand:{{{image2|}}}|{{#If:{{{imagewidth2|}}}|{{{imagewidth2|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}- | + | {{#If:{{{image2|}}}| {{!}} align="center" style="padding:0;" colspan="3" {{!}} [[Bestand:{{{image2|}}}|{{#If:{{{imagewidth2|}}}|{{{imagewidth2|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}-4}}px}}|{{{caption2|{{PAGENAME}}}}}]] |
{{!}}-}} | {{!}}-}} | ||
{{#If:{{{image2|}}}|{{#If:{{{caption2|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{caption2}}}</small> | {{#If:{{{image2|}}}|{{#If:{{{caption2|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{caption2}}}</small> | ||
{{!}}-}}}} | {{!}}-}}}} | ||
| − | {{#If:{{{image3|}}}| {{!}} align="center" colspan="3" {{!}} [[Bestand:{{{image3|}}}|{{#If:{{{imagewidth3|}}}|{{{imagewidth3|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}- | + | {{#If:{{{image3|}}}| {{!}} align="center" style="padding:0;" colspan="3" {{!}} [[Bestand:{{{image3|}}}|{{#If:{{{imagewidth3|}}}|{{{imagewidth3|}}}px|{{#expr:{{{breedte|{{Infobox/breedte}}}}}-4}}px}}|{{{caption3|{{PAGENAME}}}}}]] |
{{!}}-}} | {{!}}-}} | ||
{{#If:{{{image3|}}}|{{#If:{{{caption3|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{caption3}}}</small> | {{#If:{{{image3|}}}|{{#If:{{{caption3|}}}| {{!}} align="center" colspan="3" {{!}} <small>{{{caption3}}}</small> | ||
Versie van 13 dec 2012 om 14:21
| Infobox generiek |
De sjabloonbeschrijving hieronder wordt niet afgebeeld wanneer het sjabloon wordt geplaatst.
| KOP | |||||||
| BREED | |||||||
| SOORT | |||||||
| KOP0 | |||||||
| BREED0 | |||||||
| 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 | ||||||
| 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.
Let op: Gebruik deze infobox alleen op infoboxsjablonen en nooit direct op artikelen.
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
| kop99 = KOP99
| portaal = PORTAAL
| portaal2 = PORTAAL2
}}