Vorlage:Infobox: Unterschied zwischen den Versionen

Aus Rabenstein Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 3: Zeile 3:
|-
|-
| colspan="2" class="{{#if: {{{title-class}}} | {{{title-class}}} | header }}" | {{#if: {{{title-label}}} | {{{title-label}}} | {{PAGENAME}} }}  
| colspan="2" class="{{#if: {{{title-class}}} | {{{title-class}}} | header }}" | {{#if: {{{title-label}}} | {{{title-label}}} | {{PAGENAME}} }}  
{{#if:{{{image1-file}}} |  
{{#if:{{{image1-file}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
Zeile 12: Zeile 11:
   }}
   }}
}}   
}}   
{{#if:{{{entry1-label}}} |  
{{#if:{{{entry1-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry1-class}}} | colspan="2" class="{{{entry1-class}}}" {{Infobox/d}} {{{entry1-label}}} | class="label"{{Infobox/d}} {{{entry1-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry1-data}}} }}
   {{Infobox/d}}  {{#if:{{{entry1-class}}} | colspan="2" class="{{{entry1-class}}}" {{Infobox/d}} {{{entry1-label}}} | class="label"{{Infobox/d}} {{{entry1-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry1-data}}} }}
}}   
}}   
{{#if:{{{entry2-label}}} |  
{{#if:{{{entry2-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry2-class}}} | colspan="2" class="{{{entry2-class}}}" {{Infobox/d}} {{{entry2-label}}} | class="label"{{Infobox/d}} {{{entry2-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry2-data}}} }}
   {{Infobox/d}}  {{#if:{{{entry2-class}}} | colspan="2" class="{{{entry2-class}}}" {{Infobox/d}} {{{entry2-label}}} | class="label"{{Infobox/d}} {{{entry2-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry2-data}}} }}
}}
}}
 
{{#if:{{{entry3-label}}} |  
{{#if:{{{entry3-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry3-class}}} | colspan="2" class="{{{entry3-class}}}" {{Infobox/d}} {{{entry3-label}}} | class="label"{{Infobox/d}} {{{entry3-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry3-data}}} }}
   {{Infobox/d}}  {{#if:{{{entry3-class}}} | colspan="2" class="{{{entry3-class}}}" {{Infobox/d}} {{{entry3-label}}} | class="label"{{Infobox/d}} {{{entry3-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry3-data}}} }}
}}
}}
 
{{#if:{{{entry4-label}}} |  
{{#if:{{{entry4-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry4-class}}} | colspan="2" class="{{{entry4-class}}}" {{Infobox/d}} {{{entry4-label}}} | class="label"{{Infobox/d}} {{{entry4-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry4-data}}} }}
   {{Infobox/d}}  {{#if:{{{entry4-class}}} | colspan="2" class="{{{entry4-class}}}" {{Infobox/d}} {{{entry4-label}}} | class="label"{{Infobox/d}} {{{entry4-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry4-data}}} }}
}}
}}
 
|}
|}
* >{{{title-label}}}<.>{{{title-class}}}<
* >{{{title-label}}}<.>{{{title-class}}}<

Version vom 11. Dezember 2015, 14:20 Uhr

{{{title-label}}}

Vorlage:Infobox/tr

 Vorlage:Infobox/d colspan="2" class="imagecaption" Vorlage:Infobox/d {{{image1-file}}}
 Vorlage:Infobox/tr
   Vorlage:Infobox/d colspan="2" class="imagecaption" Vorlage:Infobox/d {{{image1-caption}}}  

Vorlage:Infobox/tr

 Vorlage:Infobox/d  colspan="2" class="{{{entry1-class}}}" Vorlage:Infobox/d {{{entry1-label}}}  

Vorlage:Infobox/tr

 Vorlage:Infobox/d  colspan="2" class="{{{entry2-class}}}" Vorlage:Infobox/d {{{entry2-label}}}

Vorlage:Infobox/tr

 Vorlage:Infobox/d  colspan="2" class="{{{entry3-class}}}" Vorlage:Infobox/d {{{entry3-label}}}

Vorlage:Infobox/tr

 Vorlage:Infobox/d  colspan="2" class="{{{entry4-class}}}" Vorlage:Infobox/d {{{entry4-label}}}
  • >{{{title-label}}}<.>{{{title-class}}}<
  • >{{{entry1-label}}}<.>{{{entry1-class}}}<.>{{{entry1-data}}}<
  • >{{{entry2-label}}}<.>{{{entry2-class}}}<.>{{{entry2-data}}}<
  • >{{{entry3-label}}}<.>{{{entry3-class}}}<.>{{{entry3-data}}}<

Dokumentation[Bearbeiten]

Grundgerüst für Infoboxen

Handling

  • Wenn DATA leer ist, wird die Zeile nicht angezeigt
  • Wenn CLASS leer ist wird eine Tabellenzeile LABEL: DATA angezeigt
  • Wenn CLASS gefüllt ist, wird eine vereinte Tabellenzeile angezeigt mit der FOrmatvorlage CLASS und dem Inhalt DATA, LABEL wird ignoriert
  • Formatvorlagen: siehe rechts
Formatvorlagen



  • >Formatvorlagen<.>header<
  • ><.><.><
  • ><.>header-rot<.>header-rot<
  • ><.>header-gruen<.>header-gruen<


Einfügen

{{Infobox 
| title-label = 
| title-class = 
| image1-file = 
| image1-param = 
| image1-caption = 
| image2-file  = 
| image2-param = 
| image2-caption = 
| entry1-label = 
| entry1-class = 
| entry1-data  = 
| entry2-label = 
| entry2-class = 
| entry2-data  = 
| entry3-label =  
| entry3-class = 
| entry3-data  = 
| entry4-label = 
| entry4-class = 
| entry4-data  = 
| entry5-label = 
| entry5-class = 
| entry5-data  = 
| entry6-label = 
| entry6-class = 
| entry6-data  = 
| entry7-label = 
| entry7-class = 
| entry7-data  = 
| entry8-label = 
| entry8-class = 
| entry8-data  = 
| entry9-label = 
| entry9-class = 
| entry9-data  = 
| entry10-label = 
| entry10-class = 
| entry10-data  = 
| entry11-label = 
| entry11-class = 
| entry11-data  = 
| entry12-label = 
| entry12-class = 
| entry12-data  = 
| entry13-label = 
| entry13-class = 
| entry13-data  = 
| entry14-label = 
| entry14-class = 
| entry14-data  = 
| entry15-label = 
| entry15-class = 
| entry15-data  = 
| entry16-label = 
| entry16-class = 
| entry16-data  = 
| entry17-label = 
| entry17-class = 
| entry17-data  = 
| entry18-label = 
| entry18-class = 
| entry18-data  = 
| entry19-label = 
| entry19-class = 
| entry19-data  = 
}}

Bei technischen Fragen zu dieser Vorlage kannst du dich an die Vorlagenwerkstatt wenden. Inhaltliche Fragen und Vorschläge gehören zunächst auf die Diskussionsseite.