|
|
Zeile 1: |
Zeile 1: |
| <noinclude> | | <noinclude> |
− | {{warning|Bitte noch nicht einsetzen!}}
| + | Eine vertikale Universal-Infobox für alle Anwendungszwecke. |
| + | Sie soll alle bisherigen Single-purpose-Infoboxen ersetzen. |
| | | |
− | {{SieheAuch:Infoboxen}}
| + | '''Features:''' |
| + | * Ausklappbare Info-Abschnitte. Basisinformationen und Statusinfos sind standardmäßig ausgeklappt. |
| + | * Nicht definierte Felder werden automatisch ausgeblendet. |
| + | * Info-Abschnitte ohne definierte Felder werden automatisch vollständig ausgeblendet. |
| + | * Das Template kann um Felder ergänzt werden, ohne dass bestehende Seiten dadurch beeinträchtigt werden. |
| | | |
| == Verwendung == | | == Verwendung == |
− | Ein Versuch, eine universelle Infobox zu erstellen.
| |
| Die Felder sind in der Reihenfolge angegeben, wie sie im Endergebnis angezeigt werden. | | Die Felder sind in der Reihenfolge angegeben, wie sie im Endergebnis angezeigt werden. |
| + | {{Collapsible-Block-Begin|default=expand|title=Kopiervorlage}} |
| <pre> | | <pre> |
| {{Template:Infobox-v Gerät | | {{Template:Infobox-v Gerät |
− | <!-- Essentielle Felder, immer angezeigt, Ganzzeile --> | + | <!-- Gruppe: Header --> |
| |typ=Allgemein/Projekt/Gerät/Material/Infrastruktur | | |typ=Allgemein/Projekt/Gerät/Material/Infrastruktur |
− | |image | + | |image= |
− | |qrcode | + | |image_note= |
− | |kategorien | + | <!-- Gruppe: Footer --> |
− | |beschreibung | + | |qrcode= |
− | |ansprechpartner | + | <!-- Gruppe: Basisinformationen --> |
− | | + | |kategorien= |
− | |image_note
| + | |beschreibung= |
− | |einweisung | + | |ansprechpartner= |
− | | + | |einweisung= |
− | | + | <!-- Gruppe: Statusinfos --> |
− | <!-- Statusinfos, Halbzeile --> | + | |
| |standort= | | |standort= |
| |standort_seit= | | |standort_seit= |
Zeile 27: |
Zeile 31: |
| |status_seit= | | |status_seit= |
| |letzteWartung= | | |letzteWartung= |
− | | + | <!-- Gruppe: Technische Daten --> |
− | <!-- Technische Daten, Halbzeile --> | + | |
| |hersteller= | | |hersteller= |
| |modell= | | |modell= |
Zeile 34: |
Zeile 37: |
| |drehzahl= | | |drehzahl= |
| |gewicht= | | |gewicht= |
− | | + | <!-- Gruppe: Bestandsinformationen --> |
− | <!-- Bestandsinformationen, Halbzeile --> | + | |
| |anzahl= | | |anzahl= |
| |anzahl_seit= | | |anzahl_seit= |
Zeile 41: |
Zeile 43: |
| |kosten= | | |kosten= |
| |finanzierung= | | |finanzierung= |
− | | + | <!-- Weitere Felder --> |
− | <!-- Optionale Felder, Ganzzeile --> | + | |
| |zusatzinfo= | | |zusatzinfo= |
| }} | | }} |
| [[Category:QR:todo]] | | [[Category:QR:todo]] |
| </pre> | | </pre> |
| + | {{Collapsible-Block-End}} |
| | | |
− | === Beispiel ===
| + | == Beispiel == |
| </noinclude> | | </noinclude> |
| | | |
Zeile 57: |
Zeile 59: |
| | align="center" | [[File:{{{image|Attraktorlogo_small.png}}}|300x350px]] {{{bildnotiz|}}} | | | align="center" | [[File:{{{image|Attraktorlogo_small.png}}}|300x350px]] {{{bildnotiz|}}} |
| |- | | |- |
− | |{{Collapsible-Block-Begin|default=expand|title=Basisinformationen:}} | + | |{{Collapsible-Block-Begin|default=expand|title=Basisinformationen:|visibility= |
| + | visible |
| + | }} |
| {| class="wikitable" style="vertical-align:top; text-align:left" | | {| class="wikitable" style="vertical-align:top; text-align:left" |
| |- style="vertical-align:top;" | | |- style="vertical-align:top;" |
Zeile 81: |
Zeile 85: |
| {{!}} align="left" {{!}}'''Einweisung:''' | | {{!}} align="left" {{!}}'''Einweisung:''' |
| {{!}} align="left" width="100%"{{!}}{{{einweisung}}}| | | {{!}} align="left" width="100%"{{!}}{{{einweisung}}}| |
− | }}
| |
− | |- style="vertical-align:top;"
| |
− | {{#if: {{{anzahl_vorhanden}}}|
| |
− | {{!}} align="left" {{!}}'''Anzahl vorh.:'''
| |
− | {{!}} align="left" width="100%"{{!}}{{{anzahl_vorhanden}}}|
| |
| }} | | }} |
| |} | | |} |
| {{Collapsible-Block-End}} | | {{Collapsible-Block-End}} |
| |- | | |- |
− | |{{Collapsible-Block-Begin|default=expand | + | |{{Collapsible-Block-Begin|default=expand|title=Statusinfo:|visibility= |
− | |visibility=
| + | |
| {{#if: {{{hersteller}}}| |<!-- | | {{#if: {{{hersteller}}}| |<!-- |
| --> {{#if: {{{status}}}| |<!-- | | --> {{#if: {{{status}}}| |<!-- |
| --> {{#if: {{{standort}}}| |<!-- | | --> {{#if: {{{standort}}}| |<!-- |
| --> {{#if: {{{letzteWartung}}}| |<!-- | | --> {{#if: {{{letzteWartung}}}| |<!-- |
− | --> hidden}}}}}} | + | --> hidden}}}}}}}} |
| }} | | }} |
− | |title=Statusinfo:}}
| |
| {| class="wikitable" style="vertical-align:top; text-align:left" | | {| class="wikitable" style="vertical-align:top; text-align:left" |
| |- style="vertical-align:top;" | | |- style="vertical-align:top;" |
Zeile 120: |
Zeile 117: |
| {{Collapsible-Block-End}} | | {{Collapsible-Block-End}} |
| |- | | |- |
− | |{{Collapsible-Block-Begin|default=collapse|border=no | + | |{{Collapsible-Block-Begin|default=collapse|border=no|title=Technische Daten:|visibility= |
− | |visibility=
| + | |
| {{#if: {{{hersteller}}}| |<!-- | | {{#if: {{{hersteller}}}| |<!-- |
| --> {{#if: {{{modell}}}| |<!-- | | --> {{#if: {{{modell}}}| |<!-- |
Zeile 127: |
Zeile 123: |
| --> {{#if: {{{drehzahl}}}| |<!-- | | --> {{#if: {{{drehzahl}}}| |<!-- |
| --> {{#if: {{{gewicht}}}| |<!-- | | --> {{#if: {{{gewicht}}}| |<!-- |
− | --> hidden}}}}}}}} | + | --> hidden}}}}}}}}}} |
| }} | | }} |
− | |title=Technische Daten:}}
| |
| {| class="wikitable" width="100%" style="vertical-align:top; text-align:left" | | {| class="wikitable" width="100%" style="vertical-align:top; text-align:left" |
| |- style="vertical-align:top;" | | |- style="vertical-align:top;" |
Zeile 159: |
Zeile 154: |
| {{Collapsible-Block-End}} | | {{Collapsible-Block-End}} |
| |- | | |- |
− | |{{Collapsible-Block-Begin|default=collapse | + | |{{Collapsible-Block-Begin|default=collapse|border=no|title=Bestandsinformationen:|visibility= |
− | |visibility={{#if: {{{zusatzinfo}}}| |hidden}}
| + | {{#if: {{{hersteller}}}| |<!-- |
− | |title=Zusatzinfo:}} | + | --> {{#if: {{{anzahl}}}| |<!-- |
− | {{{zusatzinfo|keine Informationen}}} | + | --> {{#if: {{{anschaffung_datum}}}| |<!-- |
| + | --> {{#if: {{{kosten}}}| |<!-- |
| + | --> {{#if: {{{finanzierung}}}| |<!-- |
| + | --> hidden}}}}}}}}}} |
| + | }} |
| + | {| class="wikitable" width="100%" style="vertical-align:top; text-align:left" |
| + | |
| + | |- style="vertical-align:top;" |
| + | {{#if: {{{anzahl}}}| |
| + | {{!}} align="left" {{!}}'''Anzahl:''' |
| + | {{!}} align="left" width="100%"{{!}}{{{anzahl}}}{{#if: {{{anzahl_seit}}}|<br><span style="font-size:50%">(Seit {{{anzahl_seit}}})</span>|}}| |
| + | }} |
| + | |
| + | |- style="vertical-align:top;" |
| + | {{#if: {{{anschaffung_datum}}}| |
| + | {{!}} align="left" {{!}}'''Angeschafft:''' |
| + | {{!}} align="left" width="100%"{{!}}{{{anschaffung_datum}}}| |
| + | }} |
| + | |- style="vertical-align:top;" |
| + | {{#if: {{{kosten}}}| |
| + | {{!}} align="left" {{!}}'''Kosten''' |
| + | {{!}} align="left" width="100%"{{!}}{{{kosten}}}| |
| + | }} |
| + | |- style="vertical-align:top;" |
| + | {{#if: {{{finanzierung}}}| |
| + | {{!}} align="left" {{!}}'''Finanzierung''' |
| + | {{!}} align="left" width="100%"{{!}}{{{finanzierung}}}| |
| + | }} |
| + | |} |
| + | {{Collapsible-Block-End}} |
| + | |- |
| + | |{{Collapsible-Block-Begin|default=collapse|title=Zusatzinfo:|visibility= |
| + | {{#if: {{{zusatzinfo}}}| |<!-- |
| + | --> hidden}} |
| + | }} |
| + | {{{zusatzinfo}}} |
| {{Collapsible-Block-End}} | | {{Collapsible-Block-End}} |
| |- | | |- |
Zeile 174: |
Zeile 204: |
| |} | | |} |
| <includeonly>[[Category:{{{typ|Maintenance:Kategorisieren}}}]]</includeonly> | | <includeonly>[[Category:{{{typ|Maintenance:Kategorisieren}}}]]</includeonly> |
| + | <noinclude> |
| + | == Siehe auch == |
| + | {{SieheAuch:Infoboxen}} |
| + | </noinclude> |
Eine vertikale Universal-Infobox für alle Anwendungszwecke.
Sie soll alle bisherigen Single-purpose-Infoboxen ersetzen.
Die Felder sind in der Reihenfolge angegeben, wie sie im Endergebnis angezeigt werden.