Template:Infobox-v: Difference between revisions
Jump to navigation
Jump to search
Marlons-8752 (talk | contribs) Zwischenstand |
Marlons-8752 (talk | contribs) No edit summary |
||
| Line 51: | Line 51: | ||
</noinclude> | </noinclude> | ||
{| class=" | {| class="toccolours" style="clear: right; float: right; margin: 0em 0em 1.5em 1.5em; max-width: 300px;" | ||
|- | |- | ||
|align="center"|'''Geräteinfo: {{PAGENAME}}''' | |align="center"|'''Geräteinfo: {{PAGENAME}}''' | ||
| Line 58: | Line 58: | ||
|- | |- | ||
|{{Collapsible-Block-Begin|default=expand|title=Basisinformationen:}} | |{{Collapsible-Block-Begin|default=expand|title=Basisinformationen:}} | ||
{| class=" | {| class="wikitable" style="vertical-align:top; text-align:left" | ||
|- | |- | ||
|colspan="2"|'''Kategorien:'''<br> | |colspan="2"|'''Kategorien:'''<br> | ||
| Line 69: | Line 69: | ||
|colspan="2"|'''Ansprechpartner:'''<br> | |colspan="2"|'''Ansprechpartner:'''<br> | ||
{{#if: {{{ansprechpartner}}}| | {{#if: {{{ansprechpartner}}}| | ||
{{#ifexist:User:{{{ansprechpartner}}}|[[User:{{{ansprechpartner}}}|{{{ansprechpartner}}}]]|{{{ansprechpartner}}}}}| | {{#ifexist:User:{{{ansprechpartner}}}|[[User:{{{ansprechpartner}}}|{{{ansprechpartner}}}]]|{{{ansprechpartner}}}}}|{{Warning-Status|{{Todo-Status|Bitte gib unbedingt einen Ansprechpartner an!}}}}}} | ||
{{#if: {{{einweisung}}}| | {{#if: {{{einweisung}}}| | ||
{{!}}- class="wikitable" style="vertical-align:top;" | {{!}}- class="wikitable" style="vertical-align:top;" | ||
{{!}} align="left" {{!}}'''Einweisung:''' | {{!}} align="left" {{!}}'''Einweisung:''' | ||
{{!}} align="left" width="100%"{{!}}{{{einweisung}}}| | {{!}} align="left" width="100%"{{!}}{{{einweisung}}}|}} | ||
{{#if: {{{anzahl_vorhanden}}}| | {{#if: {{{anzahl_vorhanden}}}| | ||
{{!}}- style="border:1px solid black; vertical-align:top;" | {{!}}- style="border:1px solid black; vertical-align:top;" | ||
{{!}} align="left" {{!}}'''Anzahl vorh.:''' | {{!}} align="left" {{!}}'''Anzahl vorh.:''' | ||
{{!}} align="left" width="100%"{{!}}{{{anzahl_vorhanden}}}| | {{!}} align="left" width="100%"{{!}}{{{anzahl_vorhanden}}}|}} | ||
|} | |} | ||
{{Collapsible-Block-End}} | {{Collapsible-Block-End}} | ||
|- | |- | ||
|{{Collapsible-Block-Begin|default=expand|title=Statusinfo:}} | |{{Collapsible-Block-Begin|default=expand|title=Statusinfo:}} | ||
{| class=" | {| class="wikitable" style="vertical-align:top; text-align:left" | ||
{{#if: {{{standort}}}| | {{#if: {{{standort}}}| | ||
{{!}}- style="vertical-align:top;" | {{!}}- style="vertical-align:top;" | ||
{{!}} align="left" {{!}}'''Standort:''' | {{!}} align="left" {{!}}'''Standort:''' | ||
{{!}} align="left" width="100%"{{!}}{{{standort}}}{{#if: {{{standort_seit}}} |<br><span style="font-size:50%">(Seit {{{standort_seit}}})</span>|}}| | {{!}} align="left" width="100%"{{!}}{{{standort}}}{{#if: {{{standort_seit}}} |<br><span style="font-size:50%">(Seit {{{standort_seit}}})</span>|}}|}} | ||
{{#if: {{{status}}}| | {{#if: {{{status}}}| | ||
{{!}}- style="vertical-align:top;" | {{!}}- style="vertical-align:top;" | ||
{{!}} align="left" {{!}}'''Status:''' | {{!}} align="left" {{!}}'''Status:''' | ||
{{!}} align="left" width="100%"{{!}}{{{status}}}{{#if: {{{status_seit}}} |<br><span style="font-size:50%">(Seit {{{status_seit}}})</span>|}}| | {{!}} align="left" width="100%"{{!}}{{{status}}}{{#if: {{{status_seit}}} |<br><span style="font-size:50%">(Seit {{{status_seit}}})</span>|}}|}} | ||
{{#if: {{{letzteWartung}}}| | {{#if: {{{letzteWartung}}}| | ||
{{!}}- style="vertical-align:top;" | {{!}}- style="vertical-align:top;" | ||
{{!}} align="left" {{!}}'''Letzte<br>Wartung:''' | {{!}} align="left" {{!}}'''Letzte<br>Wartung:''' | ||
{{!}} align="left" width="100%"{{!}}{{{letzteWartung}}}| | {{!}} align="left" width="100%"{{!}}{{{letzteWartung}}}|}} | ||
|} | |} | ||
{{Collapsible-Block-End}} | {{Collapsible-Block-End}} | ||
|- | |- | ||
|{{Collapsible-Block-Begin|default=collapse|border=no|title=Technische Daten:}} | |{{Collapsible-Block-Begin|default=collapse|border=no|title=Technische Daten:}} | ||
{| class=" | {| class="wikitable" style="vertical-align:top; text-align:left" | ||
{{#if: {{{hersteller}}}| | {{#if: {{{hersteller}}}| | ||
{{!}}- style="vertical-align:top;" | {{!}}- style="vertical-align:top;" | ||
{{!}} align="left" {{!}}'''Hersteller''' | {{!}} align="left" {{!}}'''Hersteller''' | ||
{{!}} align="left" width="100%"{{!}}{{{hersteller}}}| | {{!}} align="left" width="100%"{{!}}{{{hersteller}}}|}} | ||
{{#if: {{{modell}}}| | {{#if: {{{modell}}}| | ||
{{!}}- style="vertical-align:top;" | {{!}}- style="vertical-align:top;" | ||
{{!}} align="left" {{!}}'''Modell''' | {{!}} align="left" {{!}}'''Modell''' | ||
{{!}} align="left" width="100%"{{!}}{{{modell}}}| | {{!}} align="left" width="100%"{{!}}{{{modell}}}|}} | ||
{{#if: {{{leistung_elektrisch}}}| | {{#if: {{{leistung_elektrisch}}}| | ||
{{!}}- style="vertical-align:top;" | {{!}}- style="vertical-align:top;" | ||
{{!}} align="left" {{!}}'''El. Leistung''' | {{!}} align="left" {{!}}'''El. Leistung''' | ||
{{!}} align="left" width="100%"{{!}}{{{leistung_elektrisch}}}| | {{!}} align="left" width="100%"{{!}}{{{leistung_elektrisch}}}|}} | ||
{{#if: {{{drehzahl}}}| | {{#if: {{{drehzahl}}}| | ||
{{!}}- style="vertical-align:top;" | {{!}}- style="vertical-align:top;" | ||
{{!}} align="left" {{!}}'''Drehzahl''' | {{!}} align="left" {{!}}'''Drehzahl''' | ||
{{!}} align="left" width="100%"{{!}}{{{drehzahl}}}| | {{!}} align="left" width="100%"{{!}}{{{drehzahl}}}|}} | ||
{{#if: {{{gewicht}}}| | {{#if: {{{gewicht}}}| | ||
{{!}}- style="vertical-align:top;" | {{!}}- style="vertical-align:top;" | ||
{{!}} align="left" {{!}}'''Gewicht''' | {{!}} align="left" {{!}}'''Gewicht''' | ||
{{!}} align="left" width="100%"{{!}}{{{gewicht}}}| | {{!}} align="left" width="100%"{{!}}{{{gewicht}}}|}} | ||
|} | |} | ||
{{Collapsible-Block-End}} | {{Collapsible-Block-End}} | ||
Revision as of 08:28, 31 October 2022
Siehe auch:
Verwendung
Ein Versuch, eine universelle Infobox zu erstellen. Die Felder sind in der Reihenfolge angegeben, wie sie im Endergebnis angezeigt werden.
{{Template:Infobox-v Gerät
<!-- Essentielle Felder, immer angezeigt, Ganzzeile -->
|typ=Allgemein/Projekt/Gerät/Material/Infrastruktur
|image
|qrcode
|kategorien
|beschreibung
|ansprechpartner
|image_note
|einweisung
<!-- Statusinfos, Halbzeile -->
|standort=
|standort_seit=
|status=
|status_seit=
|letzteWartung=
<!-- Technische Daten, Halbzeile -->
|hersteller=
|modell=
|leistung_elektrisch=
|drehzahl=
|gewicht=
<!-- Bestandsinformationen, Halbzeile -->
|anzahl=
|anzahl_seit=
|datumAnschaffung=
|kosten=
|finanzierung=
<!-- Optionale Felder, Ganzzeile -->
|zusatzinfo=
}}
[[Category:QR:todo]]
Beispiel
| Geräteinfo: Infobox-v | ||||||||||
Basisinformationen:
| ||||||||||
Statusinfo:
| ||||||||||
Technische Daten:
| ||||||||||
Zusatzinfo:
keine Informationen | ||||||||||
QR-Code:
| ||||||||||
| QR neu generieren (Was ist das?) | ||||||||||