Vorlage:Infobox: Unterschied zwischen den Versionen

Aus RMG-Wiki
Wechseln zu: Navigation, Suche
(Infobox aus Wikipedia)
 
(Andere Vorlage)
Zeile 1: Zeile 1:
{| {{#switch:{{{Stil|1}}}
+
{| style="font-size:90%; vertical-align:top; text-align:left; empty-cells:collapse; max-width:350px;" class="toccolours float-right" cellspacing="5"
    | 2 = class="toccolours float-right infobox" cellspacing="5"
+
|- class="hintergrundfarbe6"
    | #default = class="wikitable float-right infobox"
+
  ! colspan="2" style="text-align:center; font-size:105%;" | {{#if: {{{Name|}}} | {{{Name}}} | {{PAGENAME}} }}
  }} style="font-size:90%; vertical-align:top; text-align:left; empty-cells:collapse; {{#if:{{{Style|}}}|{{{Style|}}}|{{#if:{{{Breite|}}}|width:{{{Breite}}}|min-width:190px; max-width:260px; width:30%;}}}}"<noinclude>
+
|- class="nogrid"
|+ Beispiel:</noinclude>
+
{{#if:{{{S1<includeonly>|</includeonly>}}}|
|- style="font-size:110%; text-align:center;"
+
{{!}} {{{S1}}}
  ! colspan="2" class="hintergrundfarbe{{{Titelfarbe|6}}}" style="padding-left:0.5em; padding-right:0.5em; {{#if:{{{Farbe|}}}|background-color:{{{Farbe}}};}}" | {{#if: {{{Titel|}}}|{{{Titel|}}}|{{PAGENAME}} }}
+
{{!}} {{{S1_Wert}}}
{{#if:{{{Bild<includeonly>|</includeonly>}}}|{{!-!}} colspan="2" style="text-align:center;" {{!}} {{{Bild}}} {{#if:{{{Bildtext<includeonly>|</includeonly>}}}|<br /><small>{{{Bildtext}}}</small>}}}}{{#if:{{{Bildname<includeonly>|</includeonly>}}}|[[Datei:{{{Bildname}}}|{{#ifeq:{{{Bildbreite|}}}||frameless|{{{Bildbreite}}}}}|border|{{{Bildtext<includeonly>|{{PAGENAME}}</includeonly>}}}]]<br /><small>{{{Bildtext<includeonly>|{{PAGENAME}}</includeonly>}}}</small>
+
}}
}}
+
 
|-
 
|-
{{Infobox/+
+
{{#if:{{{S2<includeonly>|</includeonly>}}}|
  | Stil = {{{Stil|}}}
+
{{!}} {{{S2}}}
  | Farbe = {{{Abschnittsfarbe|}}}
+
{{!}} {{{S2_Wert}}}
  | Farbe alt = {{{Farbe|}}}
+
}}
  | Label = {{{Feldname1<includeonly>|{{{1|}}}</includeonly>}}}
+
|-
  | Text = {{{Daten1<includeonly>|{{{2|}}}</includeonly>}}}
+
{{#if:{{{S3<includeonly>|</includeonly>}}}|
}} {{Infobox/+
+
{{!}} {{{S3}}}
  | Stil = {{{Stil|}}}
+
{{!}} {{{S3_Wert}}}
  | Farbe = {{{Abschnittsfarbe|}}}
+
}}
  | Farbe alt = {{{Farbe|}}}
+
|-
  | Label = {{{Feldname2<includeonly>|{{{3|}}}</includeonly>}}}
+
{{#if:{{{S4<includeonly>|</includeonly>}}}|
  | Text = {{{Daten2<includeonly>|{{{4|}}}</includeonly>}}}
+
{{!}} {{{S4}}}
}} {{Infobox/+
+
{{!}} {{{S4_Wert}}}
  | Stil = {{{Stil|}}}
+
}}
  | Farbe = {{{Abschnittsfarbe|}}}
+
|-
  | Farbe alt = {{{Farbe|}}}
+
|-
  | Label = {{{Feldname3<includeonly>|{{{5|}}}</includeonly>}}}
+
{{#if:{{{S5  <includeonly>|</includeonly>}}}|
  | Text = {{{Daten3<includeonly>|{{{6|}}}</includeonly>}}}
+
{{!}} {{{S5}}}
}} {{Infobox/+
+
{{!}} {{{S5_Wert  }}}
  | Stil = {{{Stil|}}}
+
}}
  | Farbe = {{{Abschnittsfarbe|}}}
+
|-
  | Farbe alt = {{{Farbe|}}}
+
|-
  | Label = {{{Feldname4<includeonly>|{{{7|}}}</includeonly>}}}
+
{{#if:{{{S6 <includeonly>|</includeonly>}}}|
  | Text = {{{Daten4<includeonly>|{{{8|}}}</includeonly>}}}
+
{{!}} {{{S6}}}  
}} {{Infobox/+
+
{{!}} {{{S6_Wert }}}
  | Stil = {{{Stil|}}}
+
}}
  | Farbe = {{{Abschnittsfarbe|}}}
+
|-
  | Farbe alt = {{{Farbe|}}}
+
|-
  | Label = {{{Feldname5<includeonly>|{{{9|}}}</includeonly>}}}
+
{{#if:{{{S7<includeonly>|</includeonly>}}}|
  | Text = {{{Daten5<includeonly>|{{{10|}}}</includeonly>}}}
+
{{!}} {{{S7}}}
}} {{Infobox/+
+
{{!}} {{{S7_Wert}}}
  | Stil = {{{Stil|}}}
+
}}
  | Farbe = {{{Abschnittsfarbe|}}}
+
|-
  | Farbe alt = {{{Farbe|}}}
+
{{#if:{{{S8 <includeonly>|</includeonly>}}}|
  | Label = {{{Feldname6<includeonly>|{{{11|}}}</includeonly>}}}
+
{{!}} {{{S8}}}
  | Text = {{{Daten6<includeonly>|{{{12|}}}</includeonly>}}}
+
{{!}} {{{S8_Wert }}}
}} {{Infobox/+
+
}}
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname7<includeonly>|{{{13|}}}</includeonly>}}}
+
  | Text = {{{Daten7<includeonly>|{{{14|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname8<includeonly>|{{{15|}}}</includeonly>}}}
+
  | Text = {{{Daten8<includeonly>|{{{16|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname9<includeonly>|{{{17|}}}</includeonly>}}}
+
  | Text = {{{Daten9<includeonly>|{{{18|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname10<includeonly>|{{{19|}}}</includeonly>}}}
+
  | Text = {{{Daten10<includeonly>|{{{20|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname11<includeonly>|{{{21|}}}</includeonly>}}}
+
  | Text = {{{Daten11<includeonly>|{{{22|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname12<includeonly>|{{{23|}}}</includeonly>}}}
+
  | Text = {{{Daten12<includeonly>|{{{24|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname13<includeonly>|{{{25|}}}</includeonly>}}}
+
  | Text = {{{Daten13<includeonly>|{{{26|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname14<includeonly>|{{{27|}}}</includeonly>}}}
+
  | Text = {{{Daten14<includeonly>|{{{28|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname15<includeonly>|{{{29|}}}</includeonly>}}}
+
  | Text = {{{Daten15<includeonly>|{{{30|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname16<includeonly>|{{{31|}}}</includeonly>}}}
+
  | Text = {{{Daten16<includeonly>|{{{32|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname17<includeonly>|{{{33|}}}</includeonly>}}}
+
  | Text = {{{Daten17<includeonly>|{{{34|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname18<includeonly>|{{{35|}}}</includeonly>}}}
+
  | Text = {{{Daten18<includeonly>|{{{36|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname19<includeonly>|{{{37|}}}</includeonly>}}}
+
  | Text = {{{Daten19<includeonly>|{{{38|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname20<includeonly>|{{{39|}}}</includeonly>}}}
+
  | Text = {{{Daten20<includeonly>|{{{40|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname21<includeonly>|{{{41|}}}</includeonly>}}}
+
  | Text = {{{Daten21<includeonly>|{{{42|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname22<includeonly>|{{{43|}}}</includeonly>}}}
+
  | Text = {{{Daten22<includeonly>|{{{44|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname23<includeonly>|{{{45|}}}</includeonly>}}}
+
  | Text = {{{Daten23<includeonly>|{{{46|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname24<includeonly>|{{{47|}}}</includeonly>}}}
+
  | Text = {{{Daten24<includeonly>|{{{48|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname25<includeonly>|{{{49|}}}</includeonly>}}}
+
  | Text = {{{Daten25<includeonly>|{{{50|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname26<includeonly>|{{{51|}}}</includeonly>}}}
+
  | Text = {{{Daten26<includeonly>|{{{52|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname27<includeonly>|{{{53|}}}</includeonly>}}}
+
  | Text = {{{Daten27<includeonly>|{{{54|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname28<includeonly>|{{{55|}}}</includeonly>}}}
+
  | Text = {{{Daten28<includeonly>|{{{56|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname29<includeonly>|{{{57|}}}</includeonly>}}}
+
  | Text = {{{Daten29<includeonly>|{{{58|}}}</includeonly>}}}
+
}} {{Infobox/+
+
  | Stil = {{{Stil|}}}
+
  | Farbe = {{{Abschnittsfarbe|}}}
+
  | Farbe alt = {{{Farbe|}}}
+
  | Label = {{{Feldname30<includeonly>|{{{59|}}}</includeonly>}}}
+
  | Text = {{{Daten30<includeonly>|{{{60|}}}</includeonly>}}}
+
}}
+
 
|}
 
|}

Version vom 22. Januar 2010, 16:41 Uhr

Infobox
{{{S1}}} {{{S1_Wert}}}
{{{S2}}} {{{S2_Wert}}}
{{{S3}}} {{{S3_Wert}}}
{{{S4}}} {{{S4_Wert}}}
{{{S5}}} {{{S5_Wert }}}
{{{S6}}} {{{S6_Wert }}}
{{{S7}}} {{{S7_Wert}}}
{{{S8}}} {{{S8_Wert }}}