Template:Infobox-v: Difference between revisions
Jump to navigation
Jump to search
Marlons-8752 (talk | contribs) mNo edit summary |
Marlons-8752 (talk | contribs) Größe des Placeholders begrenzt |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{ | {{Infobox-v | ||
<!-- Gruppe: Header --> | <!-- Gruppe: Header --> | ||
|typ | |typ | ||
| Line 6: | Line 6: | ||
|image_note= | |image_note= | ||
<!-- Gruppe: Footer --> | <!-- Gruppe: Footer --> | ||
|qrcode= | |qrcode=WikiQR_Template_Infobox-v.png | ||
<!-- Gruppe: Basisinformationen --> | <!-- Gruppe: Basisinformationen --> | ||
|kategorien= | |kategorien= | ||
| Line 35: | Line 35: | ||
|anzahl=12 | |anzahl=12 | ||
|anzahl_seit=20.10.2022 | |anzahl_seit=20.10.2022 | ||
|menge=12 Stück | |||
|menge_seit=20.10.2022 | |||
|anschaffung_datum=10.10.2022 | |anschaffung_datum=10.10.2022 | ||
|kosten=15 € | |kosten=15 € | ||
| Line 41: | Line 43: | ||
|zusatzinfo=Hier gibt's nix. | |zusatzinfo=Hier gibt's nix. | ||
}} | }} | ||
== Allgemeines == | == Allgemeines == | ||
Eine vertikale Universal-Infobox für alle Anwendungszwecke. | Eine vertikale Universal-Infobox für alle Anwendungszwecke. | ||
| Line 59: | Line 60: | ||
{{Collapsible-Block-Begin|default=expand|title=Kopiervorlage}} | {{Collapsible-Block-Begin|default=expand|title=Kopiervorlage}} | ||
<pre> | <pre> | ||
{{ | {{Infobox-v | ||
<!-- Gruppe: Header --> | <!-- | ||
|typ=Allgemein/Projekt/Geräte/Material/Infrastruktur | Gruppe: Header | ||
|image | --> | ||
|typ= <!--Pick one: Allgemein/Projekt/Geräte/Material/Infrastruktur --> | |||
|image | |||
|image_note= | |image_note= | ||
<!-- Gruppe: Footer --> | <!-- Gruppe: Footer --> | ||
|qrcode | |qrcode | ||
<!-- Gruppe: Basisinformationen --> | <!-- | ||
Gruppe: Basisinformationen | |||
--> | |||
|kategorien= | |kategorien= | ||
|beschreibung= | |beschreibung= | ||
| Line 74: | Line 80: | ||
|einweisung= | |einweisung= | ||
|links= | |links= | ||
<!-- Gruppe: Statusinfos --> | <!-- | ||
Gruppe: Statusinfos | |||
--> | |||
|standort= | |standort= | ||
|standort_seit= | |standort_seit= | ||
| Line 82: | Line 91: | ||
|ende= | |ende= | ||
|letzteWartung= | |letzteWartung= | ||
<!-- Gruppe: Technische Infos --> | <!-- | ||
Gruppe: Technische Infos | |||
--> | |||
|hersteller= | |hersteller= | ||
|modell= | |modell= | ||
| Line 89: | Line 101: | ||
|gewicht= | |gewicht= | ||
|einsatzzweck= | |einsatzzweck= | ||
<!-- Gruppe: Bestandsinformationen --> | <!-- | ||
Gruppe: Bestandsinformationen | |||
--> | |||
|anzahl= | |anzahl= | ||
|anzahl_seit= | |anzahl_seit= | ||
|menge= <!-- Wenn "Anzahl" als Begriff nicht passt --> | |||
|menge_seit= | |||
|datumAnschaffung= | |datumAnschaffung= | ||
|kosten= | |kosten= | ||
|finanzierung= | |finanzierung= | ||
<!-- Weitere Felder --> | <!-- | ||
Weitere Felder | |||
--> | |||
|zusatzinfo= | |zusatzinfo= | ||
}} | }} | ||
| Line 101: | Line 121: | ||
</pre> | </pre> | ||
{{Collapsible-Block-End}} | {{Collapsible-Block-End}} | ||
== Beispiel == | == Beispiel == | ||
Siehe Seitenleiste. | Siehe Seitenleiste. | ||
</noinclude> | </noinclude> | ||
<includeonly>{| class="toccolours" style="clear: right; float: right; margin: 0em 0em 1.5em 1.5em; max-width: 300px;" | <includeonly>{| class="toccolours" style="clear: right; float: right; margin: 0em 0em 1.5em 1.5em; max-width: 300px;" | ||
|- style="background-color: # | |- style="background-color: #67b8dc;" | ||
!Objektinfo: {{PAGENAME}} | !Objektinfo: {{PAGENAME}} | ||
|- | |- | ||
| align="center" | [[File:{{#if: {{{image|}}}|{{{image}}}|Attraktorlogo_small.png}}|300x350px]] {{{image_note|}}} | | align="center" | [[File:{{#if: {{{image|}}}|{{{image}}}|Attraktorlogo_small.png}}|300x350px]] {{{image_note|}}} | ||
|- | |- | ||
|{{Collapsible-Block-Begin|default=expand|border=no|headerColor=# | |{{Collapsible-Block-Begin|default=expand|border=no|headerColor=#67b8dc| title=Basisinformationen:|visibility= | ||
visible | visible | ||
}} | }} | ||
{| class="wikitable" style="vertical-align:top; text-align:left; background-color: #f9f9f9; margin: 0 0 .5em 0;" | {| class="wikitable" width="100%" style="vertical-align:top; text-align:left; background-color: #f9f9f9; margin: 0 0 .5em 0;" | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
|colspan="2" style="border-top: 1px solid #aaa;"|'''Kategorien:'''<br><!-- | |colspan="2" style="border-top: 1px solid #aaa;"|'''Kategorien:'''<br><!-- | ||
| Line 124: | Line 145: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
|colspan="2"|'''Beschreibung:'''<br><!-- | |colspan="2"|'''Beschreibung:'''<br><!-- | ||
--> {{#if: {{{beschreibung|}}}|<!-- | |||
--> {{{beschreibung}}}<!-- | --> {{{beschreibung}}}<!-- | ||
--> |{{Todo-Status|Gib eine Kurzbeschreibung des Objekts bzw. der Objektgruppe an!}} | --> |{{Todo-Status|Gib eine Kurzbeschreibung des Objekts bzw. der Objektgruppe an!}} | ||
| Line 130: | Line 151: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
|colspan="2"|'''Ansprechpartner:'''<br><!-- | |colspan="2"|'''Ansprechpartner:'''<br><!-- | ||
--> {{#if: {{{ansprechpartner|}}}|<!-- | |||
--> {{#ifexist:User:{{{ansprechpartner}}}|[[User:{{{ansprechpartner}}}|{{{ansprechpartner}}}]]|{{{ansprechpartner}}}}}<!-- | --> {{#ifexist:User:{{{ansprechpartner}}}|[[User:{{{ansprechpartner}}}|{{{ansprechpartner}}}]]|{{{ansprechpartner}}}}}<!-- | ||
--> |{{Todo-Status|Gib bitte unbedingt einen Ansprechpartner an!}} | --> |{{Todo-Status|Gib bitte unbedingt einen Ansprechpartner an!}} | ||
}} | }} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
|colspan="2" | {{#if: {{{autoren|}}}|<!-- | ||
--> {{!}}colspan="2"{{!}}'''Autor(en):'''<br><!-- | |||
--> {{#ifexist:User:{{{autoren}}}|[[User:{{{autoren}}}|{{{autoren}}}]]|{{{autoren}}}}}| | --> {{#ifexist:User:{{{autoren}}}|[[User:{{{autoren}}}|{{{autoren}}}]]|{{{autoren}}}}}| | ||
}} | }} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
|colspan="2" | {{#if: {{{mitwirkende|}}}|<!-- | ||
--> {{!}}colspan="2"{{!}}'''Mitwirkende:'''<br><!-- | |||
--> {{#ifexist:User:{{{mitwirkende}}}|[[User:{{{mitwirkende}}}|{{{mitwirkende}}}]]|{{{mitwirkende}}}}}| | --> {{#ifexist:User:{{{mitwirkende}}}|[[User:{{{mitwirkende}}}|{{{mitwirkende}}}]]|{{{mitwirkende}}}}}| | ||
}} | }} | ||
| Line 157: | Line 178: | ||
{{Collapsible-Block-End}} | {{Collapsible-Block-End}} | ||
|- | |- | ||
|{{Collapsible-Block-Begin|default=expand|border=no|headerColor=# | |{{Collapsible-Block-Begin|default=expand|border=no|headerColor=#67b8dc| title=Statusinfo:|visibility=<!-- | ||
--> {{#if: {{{standort|}}}| |<!-- | --> {{#if: {{{standort|}}}| |<!-- | ||
--> {{#if: {{{status|}}}| |<!-- | --> {{#if: {{{status|}}}| |<!-- | ||
| Line 165: | Line 186: | ||
--> hidden}}}}}}}}}} | --> hidden}}}}}}}}}} | ||
}} | }} | ||
{| class="wikitable" style="vertical-align:top; text-align:left; margin: 0 0 .5em 0;" | {| class="wikitable" width="100%" style="vertical-align:top; text-align:left; margin: 0 0 .5em 0;" | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
{{#if: {{{standort|}}}| | {{#if: {{{standort|}}}| | ||
| Line 194: | Line 215: | ||
{{Collapsible-Block-End}} | {{Collapsible-Block-End}} | ||
|- | |- | ||
|{{Collapsible-Block-Begin|default=collapse|border=no|headerColor=# | |{{Collapsible-Block-Begin|default=collapse|border=no|headerColor=#67b8dc| title=Technische Infos:|visibility=<!-- | ||
--> {{#if: {{{hersteller|}}}| |<!-- | --> {{#if: {{{hersteller|}}}| |<!-- | ||
--> {{#if: {{{modell|}}}| |<!-- | --> {{#if: {{{modell|}}}| |<!-- | ||
| Line 237: | Line 258: | ||
{{Collapsible-Block-End}} | {{Collapsible-Block-End}} | ||
|- | |- | ||
|{{Collapsible-Block-Begin|default=collapse|border=no|headerColor=# | |{{Collapsible-Block-Begin|default=collapse|border=no|headerColor=#67b8dc| title=Bestandsinfo:|visibility= <!-- | ||
--> {{#if: {{{anzahl|}}}| |<!-- | --> {{#if: {{{anzahl|}}}| |<!-- | ||
--> {{#if: {{{menge|}}}| |<!-- | |||
--> {{#if: {{{anschaffung_datum|}}}| |<!-- | --> {{#if: {{{anschaffung_datum|}}}| |<!-- | ||
--> {{#if: {{{kosten|}}}| |<!-- | --> {{#if: {{{kosten|}}}| |<!-- | ||
--> {{#if: {{{finanzierung|}}}| |<!-- | --> {{#if: {{{finanzierung|}}}| |<!-- | ||
--> hidden}}}}}}}} | --> hidden}}}}}}}}}} | ||
}} | }} | ||
{| class="wikitable" width="100%" style="vertical-align:top; text-align:left; margin: 0 0 .5em 0;" | {| class="wikitable" width="100%" style="vertical-align:top; text-align:left; margin: 0 0 .5em 0;" | ||
| Line 249: | Line 271: | ||
{{!}} align="left" {{!}}'''Anzahl:''' | {{!}} align="left" {{!}}'''Anzahl:''' | ||
{{!}} align="left" width="100%"{{!}}{{{anzahl}}}{{#if: {{{anzahl_seit}}}|<br><span style="font-size:50%">(Seit {{{anzahl_seit}}})</span>|}}| | {{!}} align="left" width="100%"{{!}}{{{anzahl}}}{{#if: {{{anzahl_seit}}}|<br><span style="font-size:50%">(Seit {{{anzahl_seit}}})</span>|}}| | ||
}} | |||
|- style="vertical-align:top;" | |||
{{#if: {{{menge|}}}| | |||
{{!}} align="left" {{!}}'''Menge:''' | |||
{{!}} align="left" width="100%"{{!}}{{{menge}}}{{#if: {{{menge_seit}}}|<br><span style="font-size:50%">(Seit {{{menge_seit}}})</span>|}}| | |||
}} | }} | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| Line 268: | Line 295: | ||
{{Collapsible-Block-End}} | {{Collapsible-Block-End}} | ||
|- | |- | ||
|{{Collapsible-Block-Begin|default=collapse|border=no|headerColor=# | |{{Collapsible-Block-Begin|default=collapse|border=no|headerColor=#67b8dc| title=Zusatzinfo:|visibility=<!-- | ||
--> {{#if: {{{zusatzinfo|}}}| |<!-- | --> {{#if: {{{zusatzinfo|}}}| |<!-- | ||
--> hidden}} | --> hidden}} | ||
| Line 275: | Line 302: | ||
{{Collapsible-Block-End}} | {{Collapsible-Block-End}} | ||
|- | |- | ||
|{{Collapsible-Block-Begin|default={{#ifexist:File:{{{qrcode|WikiQR_{{PAGENAME}}.png}}}|collapse|expand}}|border=no|headerColor=# | |{{Collapsible-Block-Begin|default={{#ifexist:File:{{{qrcode|WikiQR_{{PAGENAME}}.png}}}|collapse|expand}}|border=no|headerColor=#67b8dc| title=QR-Code:}} | ||
{| class="wikitable" width="100%" style="vertical-align:center; text-align:center; margin: 0;" | {| class="wikitable" width="100%" style="vertical-align:center; text-align:center; margin: 0;" | ||
| style="padding: 0 0 .5em 0" | {{#ifexist:File:{{{qrcode|WikiQR_{{PAGENAME}}.png}}}|[[File:{{{qrcode|WikiQR_{{PAGENAME}}.png}}}|200x300px]] [[Category:QR]]|'''WYLTKM-Code:'''<br>Erstelle einen [[Would_you_like_to_know_more%3F|QR-Code]] auf [https://qr.deepcyber.de/?tt={{urlencode: {{PAGENAME}}}}&c=https%3A%2F%2Fwiki.attraktor.org%2F{{urlencode: {{FULLPAGENAMEE}}}}&w=512&png=PNG qr.deepcyber.de], füge ihn hier ein und befestige ihn am Objekt.}} | | style="padding: 0 0 .5em 0" | {{#ifexist:File:{{{qrcode|WikiQR_{{PAGENAME}}.png}}}|[[File:{{{qrcode|WikiQR_{{PAGENAME}}.png}}}|200x300px]] [[Category:QR]]|'''WYLTKM-Code:'''<br>[[File:WikiQR_Placeholder.png|200x300px]]<br>Erstelle einen [[Would_you_like_to_know_more%3F|QR-Code]] auf [https://qr.deepcyber.de/?tt={{urlencode: {{PAGENAME}}}}&c=https%3A%2F%2Fwiki.attraktor.org%2F{{urlencode: {{FULLPAGENAMEE}}}}&w=512&png=PNG qr.deepcyber.de], füge ihn hier ein und befestige ihn am Objekt.}} | ||
|} | |} | ||
{{Collapsible-Block-End}} | {{Collapsible-Block-End}} | ||
Latest revision as of 02:39, 20 January 2023
| Objektinfo: Infobox-v | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Basisinformationen:
| ||||||||||||||
Technische Infos:
| ||||||||||||||
Bestandsinfo:
| ||||||||||||||
Zusatzinfo:
Hier gibt's nix. | ||||||||||||||
| QR neu generieren (Was ist das?) | ||||||||||||||
Allgemeines
Eine vertikale Universal-Infobox für alle Anwendungszwecke. Sie soll alle bisherigen Single-purpose-Infoboxen ersetzen.
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.
ToDos
- derzeit keine...
Verwendung
Die Felder sind in der Reihenfolge angegeben, wie sie im Endergebnis angezeigt werden.
Kopiervorlage
{{Infobox-v
<!--
Gruppe: Header
-->
|typ= <!--Pick one: Allgemein/Projekt/Geräte/Material/Infrastruktur -->
|image
|image_note=
<!-- Gruppe: Footer -->
|qrcode
<!--
Gruppe: Basisinformationen
-->
|kategorien=
|beschreibung=
|ansprechpartner=
|autoren=
|mitwirkende=
|einweisung=
|links=
<!--
Gruppe: Statusinfos
-->
|standort=
|standort_seit=
|status=
|status_seit=
|beginn=
|ende=
|letzteWartung=
<!--
Gruppe: Technische Infos
-->
|hersteller=
|modell=
|leistung_elektrisch=
|drehzahl=
|gewicht=
|einsatzzweck=
<!--
Gruppe: Bestandsinformationen
-->
|anzahl=
|anzahl_seit=
|menge= <!-- Wenn "Anzahl" als Begriff nicht passt -->
|menge_seit=
|datumAnschaffung=
|kosten=
|finanzierung=
<!--
Weitere Felder
-->
|zusatzinfo=
}}
[[Category:QR:todo]]
Beispiel
Siehe Seitenleiste.
Siehe auch
Siehe auch: