Vorlage:Infobox: Unterschied zwischen den Versionen

Aus Rabenstein Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 5: Zeile 5:
{{#if:{{{image1-file}}} |  
{{#if:{{{image1-file}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}} colspan="2" class="imagecaption" {{Infobox/d}} {{{image1-file}}}
   {{!}} colspan="2" class="imagecaption" {{!}} {{{image1-file}}}
   {{#if:{{{image1-caption}}} |  
   {{#if:{{{image1-caption}}} |  
     {{Infobox/tr}}
     {{Infobox/tr}}
     {{Infobox/d}} colspan="2" class="imagecaption" {{Infobox/d}} {{{image1-caption}}}  
     {{!}} colspan="2" class="imagecaption" {{!}} {{{image1-caption}}}  
   }}
   }}
}}
}}
{{#if:{{{image2-file}}} |  
{{#if:{{{image2-file}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}} colspan="2" class="imagecaption" {{Infobox/d}} {{{image2-file}}}
   {{!}} colspan="2" class="imagecaption" {{!}} {{{image2-file}}}
   {{#if:{{{image2-caption}}} |  
   {{#if:{{{image2-caption}}} |  
     {{Infobox/tr}}
     {{Infobox/tr}}
     {{Infobox/d}} colspan="2" class="imagecaption" {{Infobox/d}} {{{image2-caption}}}  
     {{!}} colspan="2" class="imagecaption" {{!}} {{{image2-caption}}}  
   }}
   }}
}}
}}
{{#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}}} }}
   {{!}}  {{#if:{{{entry1-class}}} | colspan="2" class="{{{entry1-class}}}" {{!}} {{{entry1-label}}} | class="label"{{!}} {{{entry1-label}}} {{!}}{{!}} class="data"{{!}} {{{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}}} }}
   {{!}}  {{#if:{{{entry2-class}}} | colspan="2" class="{{{entry2-class}}}" {{!}} {{{entry2-label}}} | class="label"{{!}} {{{entry2-label}}} {{!}}{{!}} class="data"{{!}} {{{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}}} }}
   {{!}}  {{#if:{{{entry3-class}}} | colspan="2" class="{{{entry3-class}}}" {{!}} {{{entry3-label}}} | class="label"{{!}} {{{entry3-label}}} {{!}}{{!}} class="data"{{!}} {{{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}}} }}
   {{!}}  {{#if:{{{entry4-class}}} | colspan="2" class="{{{entry4-class}}}" {{!}} {{{entry4-label}}} | class="label"{{!}} {{{entry4-label}}} {{!}}{{!}} class="data"{{!}} {{{entry4-data}}} }}
}}
}}
{{#if:{{{entry5-label}}} |  
{{#if:{{{entry5-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry5-class}}} | colspan="2" class="{{{entry5-class}}}" {{Infobox/d}} {{{entry5-label}}} | class="label"{{Infobox/d}} {{{entry5-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry5-data}}} }}
   {{!}}  {{#if:{{{entry5-class}}} | colspan="2" class="{{{entry5-class}}}" {{!}} {{{entry5-label}}} | class="label"{{!}} {{{entry5-label}}} {{!}}{{!}} class="data"{{!}} {{{entry5-data}}} }}
}}
}}
{{#if:{{{entry6-label}}} |  
{{#if:{{{entry6-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry6-class}}} | colspan="2" class="{{{entry6-class}}}" {{Infobox/d}} {{{entry6-label}}} | class="label"{{Infobox/d}} {{{entry6-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry6-data}}} }}
   {{!}}  {{#if:{{{entry6-class}}} | colspan="2" class="{{{entry6-class}}}" {{!}} {{{entry6-label}}} | class="label"{{!}} {{{entry6-label}}} {{!}}{{!}} class="data"{{!}} {{{entry6-data}}} }}
}}
}}
{{#if:{{{entry7-label}}} |  
{{#if:{{{entry7-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry7-class}}} | colspan="2" class="{{{entry7-class}}}" {{Infobox/d}} {{{entry7-label}}} | class="label"{{Infobox/d}} {{{entry7-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry7-data}}} }}
   {{!}}  {{#if:{{{entry7-class}}} | colspan="2" class="{{{entry7-class}}}" {{!}} {{{entry7-label}}} | class="label"{{!}} {{{entry7-label}}} {{!}}{{!}} class="data"{{!}} {{{entry7-data}}} }}
}}
}}
{{#if:{{{entry8-label}}} |  
{{#if:{{{entry8-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry8-class}}} | colspan="2" class="{{{entry8-class}}}" {{Infobox/d}} {{{entry8-label}}} | class="label"{{Infobox/d}} {{{entry8-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry8-data}}} }}
   {{!}}  {{#if:{{{entry8-class}}} | colspan="2" class="{{{entry8-class}}}" {{!}} {{{entry8-label}}} | class="label"{{!}} {{{entry8-label}}} {{!}}{{!}} class="data"{{!}} {{{entry8-data}}} }}
}}
}}
{{#if:{{{entry9-label}}} |  
{{#if:{{{entry9-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry9-class}}} | colspan="2" class="{{{entry9-class}}}" {{Infobox/d}} {{{entry9-label}}} | class="label"{{Infobox/d}} {{{entry9-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry9-data}}} }}
   {{!}}  {{#if:{{{entry9-class}}} | colspan="2" class="{{{entry9-class}}}" {{!}} {{{entry9-label}}} | class="label"{{!}} {{{entry9-label}}} {{!}}{{!}} class="data"{{!}} {{{entry9-data}}} }}
}}
}}
{{#if:{{{entry10-label}}} |  
{{#if:{{{entry10-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry10-class}}} | colspan="2" class="{{{entry10-class}}}" {{Infobox/d}} {{{entry10-label}}} | class="label"{{Infobox/d}} {{{entry10-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry10-data}}} }}
   {{!}}  {{#if:{{{entry10-class}}} | colspan="2" class="{{{entry10-class}}}" {{!}} {{{entry10-label}}} | class="label"{{!}} {{{entry10-label}}} {{!}}{{!}} class="data"{{!}} {{{entry10-data}}} }}
}}
}}
{{#if:{{{entry11-label}}} |  
{{#if:{{{entry11-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry11-class}}} | colspan="2" class="{{{entry11-class}}}" {{Infobox/d}} {{{entry11-label}}} | class="label"{{Infobox/d}} {{{entry11-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry11-data}}} }}
   {{!}}  {{#if:{{{entry11-class}}} | colspan="2" class="{{{entry11-class}}}" {{!}} {{{entry11-label}}} | class="label"{{!}} {{{entry11-label}}} {{!}}{{!}} class="data"{{!}} {{{entry11-data}}} }}
}}   
}}   
{{#if:{{{entry12-label}}} |  
{{#if:{{{entry12-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry12-class}}} | colspan="2" class="{{{entry12-class}}}" {{Infobox/d}} {{{entry12-label}}} | class="label"{{Infobox/d}} {{{entry12-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry12-data}}} }}
   {{!}}  {{#if:{{{entry12-class}}} | colspan="2" class="{{{entry12-class}}}" {{!}} {{{entry12-label}}} | class="label"{{!}} {{{entry12-label}}} {{!}}{{!}} class="data"{{!}} {{{entry12-data}}} }}
}}
}}
{{#if:{{{entry13-label}}} |  
{{#if:{{{entry13-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry13-class}}} | colspan="2" class="{{{entry13-class}}}" {{Infobox/d}} {{{entry13-label}}} | class="label"{{Infobox/d}} {{{entry13-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry13-data}}} }}
   {{!}}  {{#if:{{{entry13-class}}} | colspan="2" class="{{{entry13-class}}}" {{!}} {{{entry13-label}}} | class="label"{{!}} {{{entry13-label}}} {{!}}{{!}} class="data"{{!}} {{{entry13-data}}} }}
}}
}}
{{#if:{{{entry14-label}}} |  
{{#if:{{{entry14-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry14-class}}} | colspan="2" class="{{{entry14-class}}}" {{Infobox/d}} {{{entry14-label}}} | class="label"{{Infobox/d}} {{{entry14-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry14-data}}} }}
   {{!}}  {{#if:{{{entry14-class}}} | colspan="2" class="{{{entry14-class}}}" {{!}} {{{entry14-label}}} | class="label"{{!}} {{{entry14-label}}} {{!}}{{!}} class="data"{{!}} {{{entry14-data}}} }}
}}
}}
{{#if:{{{entry15-label}}} |  
{{#if:{{{entry15-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry15-class}}} | colspan="2" class="{{{entry15-class}}}" {{Infobox/d}} {{{entry15-label}}} | class="label"{{Infobox/d}} {{{entry15-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry15-data}}} }}
   {{!}}  {{#if:{{{entry15-class}}} | colspan="2" class="{{{entry15-class}}}" {{!}} {{{entry15-label}}} | class="label"{{!}} {{{entry15-label}}} {{!}}{{!}} class="data"{{!}} {{{entry15-data}}} }}
}}
}}
{{#if:{{{entry16-label}}} |  
{{#if:{{{entry16-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry16-class}}} | colspan="2" class="{{{entry16-class}}}" {{Infobox/d}} {{{entry16-label}}} | class="label"{{Infobox/d}} {{{entry16-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry16-data}}} }}
   {{!}}  {{#if:{{{entry16-class}}} | colspan="2" class="{{{entry16-class}}}" {{!}} {{{entry16-label}}} | class="label"{{!}} {{{entry16-label}}} {{!}}{{!}} class="data"{{!}} {{{entry16-data}}} }}
}}
}}
{{#if:{{{entry17-label}}} |  
{{#if:{{{entry17-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry17-class}}} | colspan="2" class="{{{entry17-class}}}" {{Infobox/d}} {{{entry17-label}}} | class="label"{{Infobox/d}} {{{entry17-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry17-data}}} }}
   {{!}}  {{#if:{{{entry17-class}}} | colspan="2" class="{{{entry17-class}}}" {{!}} {{{entry17-label}}} | class="label"{{!}} {{{entry17-label}}} {{!}}{{!}} class="data"{{!}} {{{entry17-data}}} }}
}}
}}
{{#if:{{{entry18-label}}} |  
{{#if:{{{entry18-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry18-class}}} | colspan="2" class="{{{entry18-class}}}" {{Infobox/d}} {{{entry18-label}}} | class="label"{{Infobox/d}} {{{entry18-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry18-data}}} }}
   {{!}}  {{#if:{{{entry18-class}}} | colspan="2" class="{{{entry18-class}}}" {{!}} {{{entry18-label}}} | class="label"{{!}} {{{entry18-label}}} {{!}}{{!}} class="data"{{!}} {{{entry18-data}}} }}
}}
}}
{{#if:{{{entry19-label}}} |  
{{#if:{{{entry19-label}}} |  
   {{Infobox/tr}}  
   {{Infobox/tr}}  
   {{Infobox/d}}  {{#if:{{{entry19-class}}} | colspan="2" class="{{{entry19-class}}}" {{Infobox/d}} {{{entry19-label}}} | class="label"{{Infobox/d}} {{{entry19-label}}} {{Infobox/dd}} class="data"{{Infobox/d}} {{{entry19-data}}} }}
   {{!}}  {{#if:{{{entry19-class}}} | colspan="2" class="{{{entry19-class}}}" {{!}} {{{entry19-label}}} | class="label"{{!}} {{{entry19-label}}} {{!}}{{!}} class="data"{{!}} {{{entry19-data}}} }}
}}
}}
|}
|}

Version vom 11. Dezember 2015, 14:44 Uhr

{{{title-label}}}

Vorlage:Infobox/tr

{{{image1-file}}}
 Vorlage:Infobox/tr
{{{image1-caption}}}

Vorlage:Infobox/tr

{{{image2-file}}}
 Vorlage:Infobox/tr
{{{image2-caption}}}

Vorlage:Infobox/tr

{{{entry1-label}}}

Vorlage:Infobox/tr

{{{entry2-label}}}

Vorlage:Infobox/tr

{{{entry3-label}}}

Vorlage:Infobox/tr

{{{entry4-label}}}

Vorlage:Infobox/tr

{{{entry5-label}}}

Vorlage:Infobox/tr

{{{entry6-label}}}

Vorlage:Infobox/tr

{{{entry7-label}}}

Vorlage:Infobox/tr

{{{entry8-label}}}

Vorlage:Infobox/tr

{{{entry9-label}}}

Vorlage:Infobox/tr

{{{entry10-label}}}

Vorlage:Infobox/tr

{{{entry11-label}}}

Vorlage:Infobox/tr

{{{entry12-label}}}

Vorlage:Infobox/tr

{{{entry13-label}}}

Vorlage:Infobox/tr

{{{entry14-label}}}

Vorlage:Infobox/tr

{{{entry15-label}}}

Vorlage:Infobox/tr

{{{entry16-label}}}

Vorlage:Infobox/tr

{{{entry17-label}}}

Vorlage:Infobox/tr

{{{entry18-label}}}

Vorlage:Infobox/tr

{{{entry19-label}}}
  • >{{{title-label}}}<.>{{{title-class}}}<
  • >{{{entry1-label}}}<.>{{{entry1-class}}}<.>{{{entry1-data}}}<
  • >{{{entry2-label}}}<.>{{{entry2-class}}}<.>{{{entry2-data}}}<
  • >{{{entry5-label}}}<.>{{{entry5-class}}}<.>{{{entry5-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





Vorlage:Infobox/tr

Label Data



Vorlage:Infobox/tr

13 13


Vorlage:Infobox/tr

16 16

Vorlage:Infobox/tr

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


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.