Wikisage, de vrije encyclopedie van de tweede generatie, is digitaal erfgoed
Wikisage is op 1 na de grootste internet-encyclopedie in het Nederlands. Iedereen kan de hier verzamelde kennis gratis gebruiken, zonder storende advertenties. De Koninklijke Bibliotheek van Nederland heeft Wikisage in 2018 aangemerkt als digitaal erfgoed.
- Wilt u meehelpen om Wikisage te laten groeien? Maak dan een account aan. U bent van harte welkom. Zie: Portaal:Gebruikers.
- Bent u blij met Wikisage, of wilt u juist meer? Dan stellen we een bescheiden donatie om de kosten te bestrijden zeer op prijs. Zie: Portaal:Donaties.
Sjabloon:Infobox generiek: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
kGeen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
Regel 1: | Regel 1: | ||
{| class="toccolours vatop infobox" cellpadding="1" cellspacing="1" style="float:right; clear:right; width:{{{breedte|{{Infobox/breedte}}}}}px; padding:0px; margin:0px 0px 1em 1em; font-size:85%;" | |||
{{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000000}}}" align="center" colspan="3" {{!}} '''<big>{{#If:{{{kop|}}}|{{#If:{{{color|}}}|{{#If:{{{linkcolor|}}}|{{{kop}}}|<font color={{{color}}}>{{{kop}}}</font>}}|{{{kop}}}}}|{{PAGENAME}}}}</big>''' | |||
{{!}}- | |||
{{#If:{{{breed|}}}|{{#IfEq:{{{breed}}}|''''''|| {{!}} align="center" colspan="3" {{!}} {{{breed}}} | |||
{{!}}-}}}} | |||
{{#If:{{{soort|}}}{{{icon|}}}| | |||
{{!}} style="background-color:{{{bgcolor|#e3e3e3}}};color:{{{color|#000000}}}" align="center" colspan="3" {{!}} {{#If:{{{ | |||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} | ||
{{{!}} style="background | {{{!}} style="background:transparent; font-size:{{{drietekstgrootte|100%}}}; text-align:center" cellspacing="0" cellpadding="0" width="100%" | ||
{{!}} width="33%" {{!}} {{{drie1_1|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie1_2|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie1_3|}}} | {{!}} width="33%" {{!}} {{{drie1_1|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie1_2|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie1_3|}}} | ||
{{!}}} | {{!}}} | ||
{{! | {{!}}-}}}} | ||
{{# | {{#If:{{{driekop2|}}}| | ||
{{! | {{#If:{{{drie2_1|}}}{{{drie2_3|}}}| | ||
{{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000000}}}" align="center" colspan="3" {{!}} '''{{#If:{{{color|}}}|{{#If:{{{linkcolor|}}}|{{{driekop2}}}|<font color={{{color}}}>{{{driekop2}}}</font>}}|{{{driekop2}}}}}''' | |||
{{ | {{!}}- | ||
{{# | {{!}} colspan="3" {{!}} | ||
{{ | {{{!}} style="background:transparent; font-size:{{{drietekstgrootte|100%}}}; text-align:center" cellspacing="0" cellpadding="0" width="100%" | ||
{{ | {{!}} width="33%" {{!}} {{{drie2_1|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie2_2|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie2_3|}}} | ||
{{!}}} | |||
{{!}}-}}}} | |||
{{! | {{#If:{{{driekop3|}}}| | ||
{{ | {{#If:{{{drie3_1|}}}{{{drie3_3|}}}| | ||
{{!-}}}} | {{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000000}}}" align="center" colspan="3" {{!}} {{#IfEq:{{{driekop3}}}|----||'''{{#If:{{{color|}}}|{{#If:{{{linkcolor|}}}|{{{driekop3}}}|<font color={{{color}}}>{{{driekop3}}}</font>}}|{{{driekop3}}}}}'''}} | ||
{{# | {{!}}- | ||
{{!}} colspan="3" {{!}} | |||
{{!}} | {{{!}} style="background:transparent; font-size:{{{drietekstgrootte|100%}}}; text-align:center" cellspacing="0" cellpadding="0" width="100%" | ||
{{!}} width="33%" {{!}} {{{drie3_1|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie3_2|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie3_3|}}} | |||
{{!}}} | {{!}}} | ||
{{!-}}}} | {{!}}-}}}} | ||
{{# | {{#If:{{{driekop4|}}}| | ||
{{!}} style="background-color:{{{bgcolor|#e3e3e3}}};color:{{{color|# | {{#If:{{{drie4_1|}}}{{{drie4_3|}}}| | ||
|}<noinclude> | {{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000000}}}" align="center" colspan="3" {{!}} '''{{#If:{{{color|}}}|{{#If:{{{linkcolor|}}}|{{{driekop4}}}|<font color={{{color}}}>{{{driekop4}}}</font>}}|{{{driekop4}}}}}''' | ||
{{Sjablooninfo|1= | {{!}}- | ||
{{!}} colspan="3" {{!}} | |||
{{{!}} style="background:transparent; font-size:{{{drietekstgrootte|100%}}}; text-align:center" cellspacing="0" cellpadding="0" width="100%" | |||
{{!}} width="33%" {{!}} {{{drie4_1|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie4_2|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie4_3|}}} | |||
{{!}}} | |||
{{!}}-}}}} | |||
{{#If:{{{driekop5|}}}| | |||
{{#If:{{{drie5_1|}}}{{{drie5_3|}}}| | |||
{{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000000}}}" align="center" colspan="3" {{!}} {{#IfEq:{{{driekop5}}}|----||'''{{#If:{{{color|}}}|{{#If:{{{linkcolor|}}}|{{{driekop5}}}|<font color={{{color}}}>{{{driekop5}}}</font>}}|{{{driekop5}}}}}'''}} | |||
{{!}}- | |||
{{!}} colspan="3" {{!}} | |||
{{{!}} style="background:transparent; font-size:{{{drietekstgrootte|100%}}}; text-align:center" cellspacing="0" cellpadding="0" width="100%" | |||
{{!}} width="33%" {{!}} {{{drie5_1|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie5_2|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie5_3|}}} | |||
{{!}}} | |||
{{!}}-}}}} | |||
{{#If:{{{driekop6|}}}| | |||
{{#If:{{{drie6_1|}}}{{{drie6_3|}}}| | |||
{{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000000}}}" align="center" colspan="3" {{!}} '''{{#If:{{{color|}}}|{{#If:{{{linkcolor|}}}|{{{driekop6}}}|<font color={{{color}}}>{{{driekop6}}}</font>}}|{{{driekop6}}}}}''' | |||
{{!}}- | |||
{{!}} colspan="3" {{!}} | |||
{{{!}} style="background:transparent; font-size:{{{drietekstgrootte|100%}}}; text-align:center" cellspacing="0" cellpadding="0" width="100%" | |||
{{!}} width="33%" {{!}} {{{drie6_1|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie6_2|}}} {{!!}} {{!!}} width="33%" {{!}} {{{drie6_3|}}} | |||
{{!}}} | |||
{{!}}-}}}} | |||
{{#If:{{{otherkop2|}}}| | |||
{{!}} style="background-color:{{{bgcolor|#e3e3e3}}}; color:{{{color|#000000}}}" align="center" colspan="3" {{!}} {{#IfEq:{{{otherkop2}}}|----||'''{{#If:{{{color|}}}|{{#If:{{{linkcolor|}}}|{{{otherkop2}}}|<font color={{{color}}}>{{{otherkop2}}}</font>}}|{{{otherkop2}}}}}'''}} | |||
{{!}}-}} | |||
{{#If:{{{other4|}}}| {{!}} align="center" colspan="3" {{!}} {{{other4}}} | |||
{{!}}-}} | |||
{{#If:{{{links34|}}}| {{!}} colspan="3" {{!}} {{{links34}}} | |||
{{!}}-}} | |||
{{#If:{{{other5|}}}| {{!}} align="center" colspan="3" {{!}} {{{other5}}} | |||
{{!}}-}} | |||
{{#If:{{{links35|}}}| {{!}} colspan="3" {{!}} {{{links35}}} | |||
{{!}}-}} | |||
{{#If:{{{other6|}}}| {{!}} align="center" colspan="3" {{!}} {{{other6}}} | |||
{{!}}-}} | |||
{{#If:{{{links36|}}}| {{!}} colspan="3" {{!}} {{{links36}}} | |||
{{!}}-}} | |||
{{#If:{{{portaal|}}} | {{!}} style="background-color:{{{bgcolor|#e3e3e3}}}" align="center" colspan="3" {{!}} | |||
{{{!}} style="background:transparent; color:{{{color|#000000}}}" cellspacing="0" cellpadding="0" | |||
{{!}} style="vertical-align:middle" {{!}} '''Portaal''' [[Bestand:Portal icon.svg|22px|Portaalicoon]] | |||
{{!}} align="left" {{!}} '''[[Portaal:{{{portaal}}}|{{#If:{{{color|}}}|{{#If:{{{linkcolor|}}}|{{{portaal}}}|<span style="color:{{{color}}}">{{{portaal}}}</span>}}|{{{portaal}}}}}]] {{#If:{{{portaal2|}}}|<br/>[[Portaal:{{{portaal2}}}|{{#If:{{{color|}}}|{{#If:{{{linkcolor|}}}|{{{portaal2}}}|<span style="color:{{{color}}}">{{{portaal2}}}</span>}}|{{{portaal2}}}}}]]}} {{#If:{{{portaal3|}}}|<br/>[[Portaal:{{{portaal3}}}|{{#If:{{{color|}}}|{{#If:{{{linkcolor|}}}|{{{portaal3}}}|<span style="color:{{{color}}}">{{{portaal3}}}</span>}}|{{{portaal3}}}}}]]}}''' | |||
{{!}}} | |||
{{!}}-}} | |||
{{#If:{{{kop99|}}}| | |||
{{!}} style="background-color:{{{bgcolor|#e3e3e3}}};color:{{{color|#000000}}}" align="center" colspan="3" {{!}} {{#IfEq:{{{kop99}}}|----||'''{{#If:{{{color|}}}|{{#If:{{{linkcolor|}}}|{{{kop99}}}|<font color={{{color}}}>{{{kop99}}}</font>}}|{{{kop99}}}}}'''}} | |||
{{!}}-}} | |||
{{#If:{{{portaalZ|}}} | {{!}} style="background-color:{{{bgcolor|#e3e3e3}}}" align="center" colspan="3" {{!}} | |||
{{{!}} style="background:transparent; color:{{{color|#000000}}}" cellspacing="0" cellpadding="0" | |||
{{!}} style="vertical-align:middle" {{!}} '''Portaal''' [[Bestand:Portal icon.svg|22px|Portaalicoon]] | |||
{{!}} '''[[Portaal:{{{portaalZ}}}|{{#If:{{{color|}}}|{{#If:{{{linkcolor|}}}|{{{portaalZ}}}|<span style="color:{{{color}}}">{{{portaalZ}}}</span>}}|{{{portaalZ}}}}}]]''' | |||
{{!}}} | |||
{{!}}-}} | |||
|}<noinclude>{{Sjablooninfo|1= | |||
{{Infobox generiek | {{Infobox generiek | ||
| kop = KOP | | kop = KOP | ||
Regel 279: | Regel 478: | ||
| image = plaatje.svg | | image = plaatje.svg | ||
| caption = CAPTION | | caption = CAPTION | ||
| main1 = [[Bestand:main1.svg| | | main1 = [[Bestand:main1.svg|{{Infobox/afbeeldingbreedte}}px]] | ||
| kop1 = KOP1 | | kop1 = KOP1 | ||
| head1_1 = HEAD1_1 | item1_1 = ITEM1_1 | | head1_1 = HEAD1_1 | item1_1 = ITEM1_1 | ||
Regel 300: | Regel 499: | ||
| driekop1 = DRIEKOP1 | | driekop1 = DRIEKOP1 | ||
| drie1_1 = DRIE1_1 | drie1_2 = DRIE1_2 | drie1_3 = DRIE1_3 | | drie1_1 = DRIE1_1 | drie1_2 = DRIE1_2 | drie1_3 = DRIE1_3 | ||
| | | portaal = PORTAAL | ||
| | | portaal3 = PORTAAL3 | ||
| kop99 = KOP99 | | kop99 = KOP99 | ||
}} | }} | ||
==Doel== | == Doel == | ||
Het sjabloon {{tl|Infobox generiek}} is gemaakt om eenvoudig functioneel gelijksoortige sjablonen te maken en niet bedoeld om direct in een artikel te gebruiken. | Het sjabloon {{tl|Infobox generiek}} is gemaakt om eenvoudig functioneel gelijksoortige sjablonen te maken en '''<u>niet</u> bedoeld om direct in een artikel te gebruiken'''. | ||
==Gebruik== | == Gebruik == | ||
Onderstaand een voorbeeld met rechts het resultaat. De '''[[Overleg sjabloon:Infobox generiek|volledige lijst van parameters]]''', die naar behoefte gekopieerd kunnen worden, staat op de overlegpagina. | Onderstaand een voorbeeld met rechts het resultaat. De '''[[Overleg sjabloon:Infobox generiek|volledige lijst van parameters]]''', die naar behoefte gekopieerd kunnen worden, staat op de overlegpagina. | ||
<pre>{{Infobox generiek | <pre>{{Infobox generiek | ||
Regel 317: | Regel 516: | ||
| image = plaatje.svg | | image = plaatje.svg | ||
| caption = CAPTION | | caption = CAPTION | ||
| main1 = [[Bestand:main1.svg| | | main1 = [[Bestand:main1.svg|{{Infobox/afbeeldingbreedte}}px]] | ||
| kop1 = KOP1 | | kop1 = KOP1 | ||
| head1_1 = HEAD1_1 | item1_1 = ITEM1_1 | | head1_1 = HEAD1_1 | item1_1 = ITEM1_1 | ||
| head1_2 = HEAD1_2 | item1_2 = ITEM1_2 | | head1_2 = HEAD1_2 | item1_2 = ITEM1_2 | ||
| head1_3 = HEAD1_3 | item1_3 = ITEM1_3 | | 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 | | head1_9 = HEAD1_9 | item1_9 = ITEM1_9 | ||
| kop2 = KOP2 | | kop2 = KOP2 | ||
Regel 327: | Regel 531: | ||
| links2 = LINKS2 | | links2 = LINKS2 | ||
| head2_1 = HEAD2_1 | item2_1 = ITEM2_1 | item2_1r = ITEM2_1r | | 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 | | head2_9 = HEAD2_9 | item2_9 = ITEM2_9 | ||
| kop4 = ---- | | kop4 = ---- | ||
Regel 344: | Regel 555: | ||
}} | }} | ||
[[Categorie: | [[Categorie:Sjablonen infobox|§Generiek]] | ||
</noinclude> | </noinclude> |
Versie van 3 mrt 2011 21:37
Infobox generiek |
De sjabloonbeschrijving hieronder wordt niet afgebeeld wanneer de sjabloon wordt geplaatst.
KOP | |||||||
BREED | |||||||
SOORT Bestand:Icon.svg | |||||||
KOP0 | |||||||
BREED0 | |||||||
CAPTION | |||||||
CAPTION | |||||||
Bestand:Main1.svg | |||||||
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 {{Infobox generiek}} 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 }}