Naar inhoud springen

Sjabloon:Infobox generiek: verschil tussen versies

Uit WaalwijkWiki
Geen bewerkingssamenvatting
Label: wikieditor
Geen bewerkingssamenvatting
Label: Handmatige ongedaanmaking
 
(35 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
<includeonly>
<includeonly>
{| class="infobox" style="width: 22em; background-color:{{{bgcolor|#f9f9f9}}}; font-size: 90%;"
{| class="infobox" style="width: 22em; background-color: #f9f9f9; font-size: 90%; border: 1px solid #ccc; float: right; margin-left: 15px; margin-bottom: 15px; border-collapse: collapse;"
|-
|-
! colspan="2" style="text-align:center; font-size:120%; background:#efefef;" | {{{kop|}}}
| colspan="2" style="text-align: center; font-size: 120%; font-weight: bold; background-color: #efefef; padding: 8px;" | {{{kop|}}}
{{#if:{{{image|}}}|
|-
|-
| colspan="2" style="text-align:center;" | [[Bestand:{{{image}}}| {imagewidth|250px}}}]]
| colspan="2" style="text-align:center; padding:8px;" |
{{#if: {{{afbeelding|{{{image|}}}}}}
| [[File:{{{afbeelding|{{{image|}}}}}}|frameless|{{{afbeeldingbreedte|{{{imagewidth|250}}}}}}px|class=tpl-afbeelding]]
| {{{noimage|}}}
}}
|-
| colspan="2" style="text-align: center; font-style: italic; color: #555; padding: 6px 8px;" | {{{caption|{{{onderschrift|}}}}}}
|-
! colspan="2" style="background-color: #dddddd; font-weight: bold; padding: 6px 8px;" | {{{kop1|}}}
|-
| style="padding: 6px 8px; font-weight: bold;" | {{{head1_1|}}}
| style="padding: 6px 8px;" | {{{item1_1|}}}
|-
|-
| colspan="2" style="text-align:center; font-style:italic;" | {{caption|}}}
| style="padding: 6px 8px; font-weight: bold;" | {{{head1_2|}}}
}}{{#if:{{{noimage|}}}{{{image|}}}||<!-- als geen afbeelding én noimage ingevuld -->
| style="padding: 6px 8px;" | {{{item1_2|}}}
|-
|-
| colspan="2" style="text-align:center; font-style:italic; color:gray;" | {{{noimage}}}
| style="padding: 6px 8px; font-weight: bold;" | {{{head1_3|}}}
|}}
| style="padding: 6px 8px;" | {{{item1_3|}}}
 
{{#if:{{{kop1|}}}|
|-
|-
! colspan="2" style="background:#dddddd;" | {{{kop1}}}
| style="padding: 6px 8px; font-weight: bold;" | {{{head1_4|}}}
}}
| style="padding: 6px 8px;" | {{{item1_4|}}}
 
{{#if:{{{head1_1|}}}|
|-
|-
| '''{{{head1_1}}}'''
| style="padding: 6px 8px; font-weight: bold;" | {{{head1_5|}}}
| {{{item1_1}}}
| style="padding: 6px 8px;" | {{{item1_5|}}}
}}
 
{{#if:{{{head1_2|}}}|
|-
|-
| '''{{{head1_2}}}'''
| style="padding: 6px 8px; font-weight: bold;" | {{{head1_6|}}}
| {{{item1_2}}}
| style="padding: 6px 8px;" | {{{item1_6|}}}
}}
 
{{#if:{{{head1_3|}}}|
|-
|-
| '''{{{head1_3}}}'''
| style="padding: 6px 8px; font-weight: bold;" | {{{head1_7|}}}
| {{{item1_3}}}
| style="padding: 6px 8px;" | {{{item1_7|}}}
}}
 
{{#if:{{{head1_4|}}}|
|-
|-
| '''{{{head1_4}}}'''
| style="padding: 6px 8px; font-weight: bold;" | {{{head1_8|}}}
| {{{item1_4}}}
| style="padding: 6px 8px;" | {{{item1_8|}}}
}}
 
{{#if:{{{head1_5|}}}|
|-
|-
| '''{{{head1_5}}}'''
| style="padding: 6px 8px; font-weight: bold;" | {{{head1_9|}}}
| {{{item1_5}}}
| style="padding: 6px 8px;" | {{{item1_9|}}}
}}
 
{{#if:{{{head1_6|}}}|
|-
|-
| '''{{{head1_6}}}'''
| style="padding: 6px 8px; font-weight: bold;" | {{{head1_10|}}}
| {{{item1_6}}}
| style="padding: 6px 8px;" | {{{item1_10|}}}
}}
|}
|}
</includeonly>
</includeonly>
== Doel ==
Dit sjabloon is bedoeld als **generiek fundament** voor andere infobox-sjablonen. Gebruik het **niet rechtstreeks** in artikelen.
== Gebruik ==
Zie [[Overleg sjabloon:Infobox generiek]] voor een volledige lijst parameters.
<pre>
{{Infobox generiek
| kop      = Voorbeeldtitel
| soort    = Type object
| icon      = icoon.svg
| image    = afbeelding.jpg
| caption  = Onderschrift bij afbeelding
| main1    = [[Bestand:main1.svg|250px]]
| kop1      = Eerste sectie
| head1_1  = Label 1
| item1_1  = Waarde 1
| portaal  = Geschiedenis
}}
</pre>
[[Categorie:Wikipedia:Sjablonen infobox|Generiek]]
</noinclude>

Huidige versie van 1 nov 2025 19:01