Template:Infobox-v: Difference between revisions
Jump to navigation
Jump to search
Marlons-8752 (talk | contribs) Feld "Menge" als Alternative für "Anzahl" hinzugefügt |
Marlons-8752 (talk | contribs) Größe des Placeholders begrenzt |
||
| (9 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= | ||
|beschreibung=Testbeschreibung | |beschreibung=Testbeschreibung | ||
|ansprechpartner=Hans Wurst | |ansprechpartner=Hans Wurst | ||
|autoren=Tim, Struppi | |||
|mitwirkende=Tick, Trick, Track | |||
|einweisung=Ja bidde | |einweisung=Ja bidde | ||
|links=[https://www.youtube.com/watch?v=dQw4w9WgXcQ Anleitung (Video)] | |||
<!-- Gruppe: Statusinfos --> | <!-- Gruppe: Statusinfos --> | ||
|standort=Cloud | |standort=Cloud | ||
| Line 19: | Line 22: | ||
|status={{Good-Status|Alles supi}} | |status={{Good-Status|Alles supi}} | ||
|status_seit=31.10.2022 | |status_seit=31.10.2022 | ||
|beginn=36.09.1955 | |||
|ende=15.06.2098 | |||
|letzteWartung=irgendwann | |letzteWartung=irgendwann | ||
<!-- Gruppe: Technische Daten --> | <!-- Gruppe: Technische Daten --> | ||
|hersteller= | |hersteller=Siemens | ||
|modell= | |modell=Flux-42 | ||
|leistung_elektrisch=1,21 GW | |leistung_elektrisch=1,21 GW | ||
|drehzahl=10000 1/min | |drehzahl=10000 1/min | ||
|gewicht= | |gewicht=3.2 kg | ||
|einsatzzweck=Zeitreisen | |||
<!-- Gruppe: Bestandsinformationen --> | <!-- Gruppe: Bestandsinformationen --> | ||
|anzahl=12 | |anzahl=12 | ||
| Line 37: | Line 43: | ||
|zusatzinfo=Hier gibt's nix. | |zusatzinfo=Hier gibt's nix. | ||
}} | }} | ||
== Allgemeines == | |||
Eine vertikale Universal-Infobox für alle Anwendungszwecke. | Eine vertikale Universal-Infobox für alle Anwendungszwecke. | ||
Sie soll alle bisherigen Single-purpose-Infoboxen ersetzen. | Sie soll alle bisherigen Single-purpose-Infoboxen ersetzen. | ||
=== Features === | |||
* Ausklappbare Info-Abschnitte. Basisinformationen und Statusinfos sind standardmäßig ausgeklappt. | * Ausklappbare Info-Abschnitte. Basisinformationen und Statusinfos sind standardmäßig ausgeklappt. | ||
* Nicht definierte Felder werden automatisch ausgeblendet. | * Nicht definierte Felder werden automatisch ausgeblendet. | ||
| Line 47: | Line 53: | ||
* Das Template kann um Felder ergänzt werden, ohne dass bestehende Seiten dadurch beeinträchtigt werden. | * Das Template kann um Felder ergänzt werden, ohne dass bestehende Seiten dadurch beeinträchtigt werden. | ||
=== ToDos === | |||
* derzeit keine... | |||
== Verwendung == | == Verwendung == | ||
| Line 56: | 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 71: | Line 80: | ||
|einweisung= | |einweisung= | ||
|links= | |links= | ||
<!-- Gruppe: Statusinfos --> | <!-- | ||
Gruppe: Statusinfos | |||
--> | |||
|standort= | |standort= | ||
|standort_seit= | |standort_seit= | ||
| Line 79: | Line 91: | ||
|ende= | |ende= | ||
|letzteWartung= | |letzteWartung= | ||
<!-- Gruppe: Technische Infos --> | <!-- | ||
Gruppe: Technische Infos | |||
--> | |||
|hersteller= | |hersteller= | ||
|modell= | |modell= | ||
| Line 86: | Line 101: | ||
|gewicht= | |gewicht= | ||
|einsatzzweck= | |einsatzzweck= | ||
<!-- Gruppe: Bestandsinformationen --> | <!-- | ||
Gruppe: Bestandsinformationen | |||
--> | |||
|anzahl= | |anzahl= | ||
|anzahl_seit= | |anzahl_seit= | ||
| Line 94: | Line 112: | ||
|kosten= | |kosten= | ||
|finanzierung= | |finanzierung= | ||
<!-- Weitere Felder --> | <!-- | ||
Weitere Felder | |||
--> | |||
|zusatzinfo= | |zusatzinfo= | ||
}} | }} | ||
| Line 100: | 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 123: | 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 129: | 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 156: | 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 164: | 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 193: | 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 236: | 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: {{{menge|}}}| |<!-- | ||
| Line 273: | 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 280: | 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: