Sjabloon:Infobox generiek: verschil tussen versies
Uit Wiki Raamsdonks Historie
k (1 versie geïmporteerd) |
(drie(kop) in voorbeeld t/m F) |
||
Regel 728: | Regel 728: | ||
{{{!}} class="ta-center" style="width:100%" cellspacing="0" cellpadding="0" | {{{!}} class="ta-center" style="width:100%" cellspacing="0" cellpadding="0" | ||
{{!}} style="width:33%" {{!}} {{{drie9_1|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drie9_2|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drie9_3|}}} | {{!}} style="width:33%" {{!}} {{{drie9_1|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drie9_2|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drie9_3|}}} | ||
{{!}}} | |||
{{!}}-}}}} | |||
{{#If:{{{driekopA|}}}{{{hidedriekopA|}}}| | |||
{{#If:{{{drieA_1|}}}{{{drieA_3|}}}| | |||
{{#If:{{{hidedriekopA|}}}|| | |||
! class="infobox-kop" {{#if:{{{bgcolor|}}}|style="background-color:{{{bgcolor}}}; {{#if:{{{color|}}}|color:{{{color}}};}}"}} colspan="3" {{!}} {{{driekopA}}}}} | |||
{{!}}- | |||
{{!}} colspan="3" {{!}} | |||
{{{!}} class="ta-center" style="width:100%" cellspacing="0" cellpadding="0" | |||
{{!}} style="width:33%" {{!}} {{{drieA_1|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drieA_2|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drieA_3|}}} | |||
{{!}}} | |||
{{!}}-}}}} | |||
{{#If:{{{driekopB|}}}{{{hidedriekopB|}}}| | |||
{{#If:{{{drieB_1|}}}{{{drieB_3|}}}| | |||
{{#If:{{{hidedriekopB|}}}|| | |||
! class="infobox-kop" {{#if:{{{bgcolor|}}}|style="background-color:{{{bgcolor}}}; {{#if:{{{color|}}}|color:{{{color}}};}}"}} colspan="3" {{!}} {{{driekopB}}}}} | |||
{{!}}- | |||
{{!}} colspan="3" {{!}} | |||
{{{!}} class="ta-center" style="width:100%" cellspacing="0" cellpadding="0" | |||
{{!}} style="width:33%" {{!}} {{{drieB_1|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drieB_2|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drieB_3|}}} | |||
{{!}}} | |||
{{!}}-}}}} | |||
{{#If:{{{driekopC|}}}{{{hidedriekopC|}}}| | |||
{{#If:{{{drieC_1|}}}{{{drieC_3|}}}| | |||
{{#If:{{{hidedriekopC|}}}|| | |||
! class="infobox-kop" {{#if:{{{bgcolor|}}}|style="background-color:{{{bgcolor}}}; {{#if:{{{color|}}}|color:{{{color}}};}}"}} colspan="3" {{!}} {{{driekopC}}}}} | |||
{{!}}- | |||
{{!}} colspan="3" {{!}} | |||
{{{!}} class="ta-center" style="width:100%" cellspacing="0" cellpadding="0" | |||
{{!}} style="width:33%" {{!}} {{{drieC_1|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drieC_2|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drieC_3|}}} | |||
{{!}}} | |||
{{!}}-}}}} | |||
{{#If:{{{driekopD|}}}{{{hidedriekopD|}}}| | |||
{{#If:{{{drieD_1|}}}{{{drieD_3|}}}| | |||
{{#If:{{{hidedriekopD|}}}|| | |||
! class="infobox-kop" {{#if:{{{bgcolor|}}}|style="background-color:{{{bgcolor}}}; {{#if:{{{color|}}}|color:{{{color}}};}}"}} colspan="3" {{!}} {{{driekopD}}}}} | |||
{{!}}- | |||
{{!}} colspan="3" {{!}} | |||
{{{!}} class="ta-center" style="width:100%" cellspacing="0" cellpadding="0" | |||
{{!}} style="width:33%" {{!}} {{{drieD_1|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drieD_2|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drieD_3|}}} | |||
{{!}}} | |||
{{!}}-}}}} | |||
{{#If:{{{driekopE|}}}{{{hidedriekopE|}}}| | |||
{{#If:{{{drieE_1|}}}{{{drieE_3|}}}| | |||
{{#If:{{{hidedriekopE|}}}|| | |||
! class="infobox-kop" {{#if:{{{bgcolor|}}}|style="background-color:{{{bgcolor}}}; {{#if:{{{color|}}}|color:{{{color}}};}}"}} colspan="3" {{!}} {{{driekopE}}}}} | |||
{{!}}- | |||
{{!}} colspan="3" {{!}} | |||
{{{!}} class="ta-center" style="width:100%" cellspacing="0" cellpadding="0" | |||
{{!}} style="width:33%" {{!}} {{{drieE_1|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drieE_2|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drieE_3|}}} | |||
{{!}}} | |||
{{!}}-}}}} | |||
{{#If:{{{driekopF|}}}{{{hidedriekopF|}}}| | |||
{{#If:{{{drieF_1|}}}{{{drieF_3|}}}| | |||
{{#If:{{{hidedriekopF|}}}|| | |||
! class="infobox-kop" {{#if:{{{bgcolor|}}}|style="background-color:{{{bgcolor}}}; {{#if:{{{color|}}}|color:{{{color}}};}}"}} colspan="3" {{!}} {{{driekopF}}}}} | |||
{{!}}- | |||
{{!}} colspan="3" {{!}} | |||
{{{!}} class="ta-center" style="width:100%" cellspacing="0" cellpadding="0" | |||
{{!}} style="width:33%" {{!}} {{{drieF_1|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drieF_2|}}} {{!!}} {{!!}} style="width:33%" {{!}} {{{drieF_3|}}} | |||
{{!}}} | {{!}}} | ||
{{!}}-}}}} | {{!}}-}}}} | ||
Regel 793: | Regel 853: | ||
| links31 = LINKS31 | | links31 = LINKS31 | ||
| 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 | ||
| driekop2 = ... | |||
| drie2_1 = ... | drie2_2 = ... | drie2_3 = ... | |||
| driekopF = DRIEKOPF | |||
| drieF_1 = DRIEF_1 | drieF_2 = DRIEF_2 | drieF_3 = DRIEF_3 | |||
| kop99 = KOP99 | | kop99 = KOP99 | ||
| portaal = PORTAAL | | portaal = PORTAAL | ||
Regel 804: | Regel 868: | ||
== Gebruik == | == Gebruik == | ||
Onderstaand een voorbeeld met rechts het resultaat. De '''[[Overleg sjabloon:Infobox generiek|volledige lijst van parameters]]''', die naar behoefte gekopieerd | Onderstaand een voorbeeld met rechts het resultaat. De '''[[Overleg sjabloon:Infobox generiek|volledige lijst van parameters]]''', die naar behoefte gekopieerd kan worden, staat op de overlegpagina. | ||
<pre>{{Infobox generiek | <pre>{{Infobox generiek | ||
| kop = KOP | | kop = KOP | ||
Regel 838: | Regel 902: | ||
| links31 = LINKS31 | | links31 = LINKS31 | ||
| 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 | ||
| driekop2 = ... | |||
| drie2_1 = ... | drie2_2 = ... | drie2_3 = ... | |||
| driekopF = DRIEKOPF | |||
| drieF_1 = DRIEF_1 | drieF_2 = DRIEF_2 | drieF_3 = DRIEF_3 | |||
| kop99 = KOP99 | | kop99 = KOP99 | ||
| portaal = PORTAAL | | portaal = PORTAAL |
Versie van 14 feb 2023 12:18
Infobox generiek |
---|
Sjabloondocumentatie
KOP | |||||||
---|---|---|---|---|---|---|---|
BREED | |||||||
SOORT | |||||||
KOP0 | |||||||
BREED0 | |||||||
KOP1 | |||||||
HEAD1_1 | ITEM1_1 | ||||||
HEAD1_2 | ITEM1_2 | ||||||
HEAD1_3 | ITEM1_3 | ||||||
... | ... | ||||||
HEAD1_9 | ITEM1_9 | ||||||
HEAD1_10 | ITEM1_10 | ||||||
HEAD1_11 | ITEM1_11 | ||||||
HEAD1_12 | ITEM1_12 | ||||||
KOP2 | |||||||
BREED2 | |||||||
LINKS2 | |||||||
HEAD2_1 | ITEM2_1 | ITEM2_1r | |||||
... | ... | ||||||
HEAD2_12 | ITEM2_12 | ||||||
HEAD4_1 | ITEM4_1 | ||||||
HEAD4_6 | ITEM4_6 | ||||||
OTHERKOP | |||||||
OTHER1 | |||||||
LINKS31 | |||||||
DRIEKOP1 | |||||||
| |||||||
... | |||||||
| |||||||
DRIEKOPF | |||||||
| |||||||
KOP99 | |||||||
|
Het sjabloon Infobox generiek 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 kan 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 = ... | item1_4 = ... | head1_9 = HEAD1_9 | item1_9 = ITEM1_9 | head1_10 = HEAD1_10 | item1_10 = ITEM1_10 | head1_11 = HEAD1_11 | item1_11 = ITEM1_11 | head1_12 = HEAD1_12 | item1_12 = ITEM1_12 | kop2 = KOP2 | breed2 = BREED2 | links2 = LINKS2 | head2_1 = HEAD2_1 | item2_1 = ITEM2_1 | item2_1r = ITEM2_1r | head2_2 = ... | item2_2 = ... | head2_12 = HEAD2_12 | item2_12 = ITEM2_12 | 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 | driekop2 = ... | drie2_1 = ... | drie2_2 = ... | drie2_3 = ... | driekopF = DRIEKOPF | drieF_1 = DRIEF_1 | drieF_2 = DRIEF_2 | drieF_3 = DRIEF_3 | kop99 = KOP99 | portaal = PORTAAL | portaal2 = PORTAAL2 }}