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 |
||
| (5 intermediate revisions by the same user not shown) | |||
| 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 43: | 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 62: | Line 61: | ||
<pre> | <pre> | ||
{{Infobox-v | {{Infobox-v | ||
<!-- Gruppe: Header --> | <!-- | ||
Gruppe: Header | |||
--> | |||
|typ= <!--Pick one: Allgemein/Projekt/Geräte/Material/Infrastruktur --> | |typ= <!--Pick one: Allgemein/Projekt/Geräte/Material/Infrastruktur --> | ||
|image | |image | ||
| Line 68: | Line 69: | ||
<!-- Gruppe: Footer --> | <!-- Gruppe: Footer --> | ||
|qrcode | |qrcode | ||
<!-- Gruppe: Basisinformationen --> | <!-- | ||
Gruppe: Basisinformationen | |||
--> | |||
|kategorien= | |kategorien= | ||
|beschreibung= | |beschreibung= | ||
| Line 76: | Line 80: | ||
|einweisung= | |einweisung= | ||
|links= | |links= | ||
<!-- Gruppe: Statusinfos --> | <!-- | ||
Gruppe: Statusinfos | |||
--> | |||
|standort= | |standort= | ||
|standort_seit= | |standort_seit= | ||
| Line 84: | Line 91: | ||
|ende= | |ende= | ||
|letzteWartung= | |letzteWartung= | ||
<!-- Gruppe: Technische Infos --> | <!-- | ||
Gruppe: Technische Infos | |||
--> | |||
|hersteller= | |hersteller= | ||
|modell= | |modell= | ||
| Line 91: | Line 101: | ||
|gewicht= | |gewicht= | ||
|einsatzzweck= | |einsatzzweck= | ||
<!-- Gruppe: Bestandsinformationen --> | <!-- | ||
Gruppe: Bestandsinformationen | |||
--> | |||
|anzahl= | |anzahl= | ||
|anzahl_seit= | |anzahl_seit= | ||
| Line 99: | Line 112: | ||
|kosten= | |kosten= | ||
|finanzierung= | |finanzierung= | ||
<!-- Weitere Felder --> | <!-- | ||
Weitere Felder | |||
--> | |||
|zusatzinfo= | |zusatzinfo= | ||
}} | }} | ||
| Line 105: | 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 | ||
}} | }} | ||
| Line 161: | 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 198: | 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 241: | 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 278: | 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 285: | 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: