Zum Inhalt springen

Vorlage:Infobox: Unterschied zwischen den Versionen

2.691 Bytes hinzugefügt ,  14. Dezember 2019
keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(27 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<onlyinclude>{{DISPLAYTITLE:{{{Hersteller| {{BASEPAGENAME}} }}} {{{Modell| {{SUBPAGENAME}} }}} }}
<onlyinclude>{{DISPLAYTITLE:{{#if:{{#invoke:WikibaseLabel|getLabel}}|{{#invoke:WikibaseLabel|getLabel}}|{{#if:{{#property:P2}}|{{#property:P2}}|{{{Hersteller| {{BASEPAGENAME}} }}} }} {{{Modell| {{SUBPAGENAME}} }}} }} }}
{| id="Infobox_Geraet" cellpadding="0" cellspacing="5" class="float-right toccolours infobox toptextcells hintergrundfarbe1 mw-collapsible" id="vorlage-infobox-Handy" summary="Infobox Handy" style="width: 320px; empty-cells:collapse; font-size:90%; float:right; margin-left:20px; border-rdius:5px;-webkit-border-radius: 5px;-moz-border-radius: 5px;"
{| id="Infobox_Geraet" cellpadding="0" cellspacing="5" class="toccolours infobox toptextcells hintergrundfarbe1 mw-collapsible" id="vorlage-infobox-Handy" style="width: 320px; empty-cells:collapse; font-size:90%; float:right; margin-left:20px;"
|-  
|-  
! colspan="2" class="hintergrundfarbe5" align="center" | <span style="font-size: 1.3em;">{{{Name| {{SUBPAGENAME}} }}}</span>
! colspan="2" class="hintergrundfarbe5" align="center" | <span style="font-size: 1.3em;">{{{Name| {{SUBPAGENAME}} }}}</span>
Zeile 6: Zeile 6:
{{#if:{{{Bild<includeonly>|</includeonly>}}}|
{{#if:{{{Bild<includeonly>|</includeonly>}}}|
{{!}} colspan="2" style="text-align:center; font-size:smaller;" {{!}} [[Datei:{{{Bild}}}|{{{Bildgröße|300x300px}}}|{{#if:{{{Bildbeschreibung|}}}|{{{Bildbeschreibung}}}|{{{Name|{{PAGENAME}}}}}}}]]
{{!}} colspan="2" style="text-align:center; font-size:smaller;" {{!}} [[Datei:{{{Bild}}}|{{{Bildgröße|300x300px}}}|{{#if:{{{Bildbeschreibung|}}}|{{{Bildbeschreibung}}}|{{{Name|{{PAGENAME}}}}}}}]]
{{{Bildbeschreibung|}}}|
{{#if:{{#property:P4}}|
{{!}} colspan="2" style="text-align:center; font-size:smaller;" {{!}} [[Datei:{{#property:P4}}|{{{Bildgröße|300x300px}}}|{{#if:{{{Bildbeschreibung|}}}|{{{Bildbeschreibung}}}|{{{Name|{{PAGENAME}}}}}}}]]
{{{Bildbeschreibung|}}}
{{{Bildbeschreibung|}}}
}}
}} }}
|-
|-
{{#if:{{{Logo<includeonly>|</includeonly>}}}|
{{#if:{{{Logo<includeonly>|</includeonly>}}}|
{{!}} colspan="2" style="text-align:center; font-size:smaller;" {{!}} [[Datei:{{{Logo}}}|{{{Logogröße|200x50px}}}|Logo]]
{{!}} colspan="2" style="text-align:center; font-size:smaller;" {{!}} [[Datei:{{{Logo}}}|{{{Logogröße|200x50px}}}|Logo]]|
}}
{{#if:{{#property:P3}}|
{{!}} colspan="2" style="text-align:center; font-size:smaller;" {{!}} [[Datei:{{#property:P3}}|{{{Logogröße|200x50px}}}|Logo]]
}} }}
|-
|-
{{!}} '''Modell'''
{{!}} '''Modell'''
  {{!!}} {{{Modell| {{SUBPAGENAME}} }}}
  {{!!}} {{{Modell| {{SUBPAGENAME}} }}}
|-
{{#if:{{#property:P61}}|
{{!}} '''Codename'''
{{!!}} {{#invoke:PropertyLink|property|P61}}
}}
|-
|-
{{!}} '''Hersteller'''
{{!}} '''Hersteller'''
Zeile 32: Zeile 42:
{{#if:{{#property:P22}}|
{{#if:{{#property:P22}}|
{{!}} '''Vorgänger'''
{{!}} '''Vorgänger'''
  {{!!}} {{#property:P22}}
  {{!!}} {{#invoke:PropertyLink|property|P22}}
-----
-----
}}
}}
Zeile 48: Zeile 58:
{{#if:{{#property:P8}}|
{{#if:{{#property:P8}}|
{{!}} '''Amazon (Dtl.)'''
{{!}} '''Amazon (Dtl.)'''
  {{!!}} {{Amazon|{{#property:P8}}|{{{Name| {{#property:P2}} {{SUBPAGENAME}} }}} bei Amazon}}
  {{!!}} {{#invoke:Infobox|renderAmazon}}
-----
-----
}} }}
}} }}
Zeile 64: Zeile 74:
-----|
-----|
{{#if:{{#property:P10}}|
{{#if:{{#property:P10}}|
{{!}} '''Anzeige''' {{!!}} {{#property:P10}}, {{#property:P35}}, {{#property:P37}}
{{!}} '''Anzeige''' {{!!}} {{#invoke:Infobox|renderAnzeige}}
-----
}} }}
}} }}
|-
|-
{{#if:{{{LED<includeonly>|</includeonly>}}}|
{{#if:{{{LED<includeonly>|</includeonly>}}}|
{{!}} '''Benachrichtigungs-LED''' {{!!}} {{{LED}}}
{{!}} '''Benachrichtigungs-LED''' {{!!}} {{{LED}}}
-----|
{{#if:{{#property:P46}}|
{{!}} '''Benachrichtigungs-LED''' {{!!}} {{#property:P46}}
-----
-----
}}
}} }}
|-
|-
{{#if:{{{GPU<includeonly>|</includeonly>}}}|
{{#if:{{{GPU<includeonly>|</includeonly>}}}|
{{!}} '''Grafikprozessor (GPU)''' {{!!}} {{{GPU}}}
{{!}} '''Grafikprozessor (GPU)''' {{!!}} {{{GPU}}}
-----|
{{#if:{{#property:P12}}|
{{!}} '''Grafikprozessor (GPU)'''
{{!!}} {{#invoke:PropertyLink|property|P12}}
-----
-----
}}
}} }}
|-
|-
{{#if:{{{Kamera<includeonly>|</includeonly>}}}|
{{#if:{{{Kamera<includeonly>|</includeonly>}}}|
{{!}} '''Kamera''' {{!!}} {{{Kamera}}}
{{!}} '''Kamera-Informationen''' {{!!}} {{{Kamera}}}
-----
-----
}}
}}
Zeile 88: Zeile 106:
|-
|-
{{#if:{{{Frontkamera<includeonly>|</includeonly>}}}|
{{#if:{{{Frontkamera<includeonly>|</includeonly>}}}|
{{!}} '''Frontkamera''' {{!!}} {{{Frontkamera}}}
{{!}} '''Frontkamera'''
{{!!}} {{{Frontkamera}}}
-----|
{{#if:{{#property:P19}}|
{{!}} '''Frontkamera'''
{{!!}} {{#property:P19}}
-----
-----
}}
}} }}
|-
|-
{{#if:{{{Androidversion<includeonly>|</includeonly>}}}|
{{#if:{{{Androidversion1<includeonly>|</includeonly>}}}|
{{!}} '''[[Android]]&trade; Version''' {{!!}} {{#if:{{IsNummeric|{{str_sub|{{{Androidversion}}}|1|1}}|boolean}}|{{Android|{{{Androidversion}}}}} [[Kategorie:Geräte mit Android-Version {{{Androidversion}}}]]|{{{Androidversion}}} }}
{{!}} '''[[Android]]&trade; Version''' {{!!}} {{#if:{{IsNummeric|{{str_sub|{{{Androidversion}}}|1|1}}|boolean}}|{{Android|{{{Androidversion}}}}} [[Kategorie:Geräte mit Android-Version {{{Androidversion}}}]]|{{{Androidversion}}} }}
-----|
{{#if:{{#property:P20}}|
{{!}} '''[[Android]]&trade; Version'''
{{!!}} {{Android|{{#property:P20}} }} [[Kategorie:Geräte mit Android-Version {{#property:P20}}]]
-----
-----
}}
}} }}
|-
|-
{{#if:{{{CPU<includeonly>|</includeonly>}}}|
{{#if:{{{CPU<includeonly>|</includeonly>}}}|
{{!}} '''Prozessor''' {{!!}}
{{!}} '''Prozessor''' {{!!}}
{{{CPU}}}
{{{CPU}}}
-----|
{{#if:{{#property:P28}}|
{{!}} '''Prozessor'''
{{!!}} {{#invoke:Infobox|renderCPU}}
-----
-----
}}
}}
}}
|-
|-
{{#if:{{{RAM<includeonly>|</includeonly>}}}|
{{#if:{{{RAM<includeonly>|</includeonly>}}}|
{{!}} '''RAM''' {{!!}} {{{RAM}}}
{{!}} '''RAM'''
{{!!}} {{{RAM}}}
-----|
{{#if:{{#property:P48}}|
{{!}} '''RAM'''
{{!!}} {{#property:P48}}
-----
-----
}}
}} }}
|-
|-
{{#if:{{{Interner Speicher<includeonly>|</includeonly>}}}|
{{#if:{{{Interner Speicher<includeonly>|</includeonly>}}}|
{{!}} '''[[Interner Speicher]] (NAND-Flash-Chip)''' {{!!}} {{{Interner Speicher}}}
{{!}} '''Interner Speicher'''
{{!!}} {{{Interner Speicher}}}
-----|
{{#if:{{#property:P49}}|
{{!}} '''Interner Speicher'''
{{!!}} {{#property:P49}}
-----
-----
}}
}} }}
|-
|-
{{#if:{{{Speicherkarte<includeonly>|</includeonly>}}}|
{{#if:{{{Speicherkarte<includeonly>|</includeonly>}}}|
Zeile 117: Zeile 159:
-----
-----
}}
}}
|-
{{#if:{{{SIM-Größe<includeonly>|</includeonly>}}}|
{{!}} '''SIM-Karten-Größe'''
{{!!}} {{{SIM-Größe}}}
-----|
{{#if:{{#property:P60}}|
{{!}} '''SIM-Karten-Größe'''
{{!!}} {{#invoke:PropertyLink|property|P60}}
-----
}} }}
|-
|-
{{#if:{{{Sensoren<includeonly>|</includeonly>}}}|
{{#if:{{{Sensoren<includeonly>|</includeonly>}}}|
{{!}} '''Sensoren''' {{!!}}
{{!}} '''Sensoren''' {{!!}}
{{{Sensoren}}}
{{{Sensoren}}}
-----|
{{#if:{{#property:P57}}|
{{!}} '''Sensoren'''
{{!!}} {{#invoke:Infobox|renderSensors}}
-----
-----
}}
}}
}}
|-
|-
Zeile 137: Zeile 194:
{{!}} '''Konnektivität''' {{!!}}
{{!}} '''Konnektivität''' {{!!}}
{{{Konnektivität}}}
{{{Konnektivität}}}
-----|
{{#if:{{#property:P74}}|
{{!}} '''Konnektivität'''
{{!!}} {{#invoke:Infobox|renderConnectivity}}
-----
-----
}}
}}
}}
|-
|-
Zeile 172: Zeile 234:
}}
}}
|-
|-
{{#if:{{{Höhe<includeonly>|</includeonly>}}}{{{Breite|}}}{{{Tiefe|}}}{{{Gewicht|}}}|
{{#if:{{{Höhe<includeonly>|</includeonly>}}}{{{Breite|}}}{{{Tiefe|}}}{{{Gewicht|}}}{{#property:P53}}{{#property:P54}}{{#property:P55}}{{#property:P59}}|
! colspan="2" class="hintergrundfarbe5" align="center" {{!}} <big>Abmessungen und Gewicht</big>
! colspan="2" class="hintergrundfarbe5" align="center" {{!}} <big>Abmessungen und Gewicht</big>
}}
}}
|-
|-
{{#if:{{{Höhe<includeonly>|</includeonly>}}}{{{Breite|}}}{{{Tiefe|}}}|
{{#if:{{{Höhe<includeonly>|</includeonly>}}}{{{Breite|}}}{{{Tiefe|}}}|
{{!}} '''Maße''' <small>(H×B×T)</small> {{!!}} {{{Höhe|?}}}&nbsp;× {{{Breite|?}}}&nbsp;× {{{Tiefe|?}}}&nbsp;Millimeter
{{!}} '''Maße''' <small>(H×B×T)</small> {{!!}} {{{Höhe|?}}}{{#property:P53}}&nbsp;× {{{Breite|?}}}{{#property:P54}}&nbsp;× {{{Tiefe|?}}}{{#property:P55}}&nbsp;Millimeter
-----|
{{#if:{{#property:P53}}{{#property:P54}}{{#property:P55}}|
{{!}} '''Maße''' <small>(H×B×T)</small>
{{!!}} {{#property:P53}}&nbsp;× {{#property:P54}}&nbsp;× {{#property:P55}}
-----
-----
}}
}}
}}
|-
|-
Zeile 184: Zeile 251:
{{!}} '''Gewicht''' {{!!}}
{{!}} '''Gewicht''' {{!!}}
{{{Gewicht}}} Gramm
{{{Gewicht}}} Gramm
-----|
{{#if:{{#property:P59}}|
{{!}} '''Gewicht'''
{{!!}} {{#property:P59}}
-----
-----
}}
}}
}}
|-
|-
Zeile 286: Zeile 358:


== Verwendung der Vorlage ==
== Verwendung der Vorlage ==
Die Verwendung dieser Vorlage ist wie gesagt relativ einfach. Kopiert euch einfach folgenden Teil und füllt die Angaben aus. Wenn Werte fehlen, löscht diese einfach aus der Liste:
Die Verwendung dieser Vorlage ist wie gesagt relativ einfach. Kopiert euch einfach folgenden Teil und füllt die Angaben aus.
<pre>
<pre>
{{Infobox
{{Infobox
Zeile 326: Zeile 398:
</pre>
</pre>


Diesen Teil am besten ganz am Anfang des Artikels einfügen, ausfüllen und den Rest des Textes darunter schreiben. Diser wird dann als Fließtext neben der Tabelle angezeigt.
Diesen Teil am besten ganz am Anfang des Artikels einfügen, ausfüllen und den Rest des Textes darunter schreiben. Dieser wird dann als Fließtext neben der Tabelle angezeigt.
</noinclude>
 
<noinclude>
=== Verbindung mit data.droidwiki.de ===
Die Vorlage erlaubt es, die Informationen direkt im Wikitext zu hinterlegen. Zusätzlich versucht die Vorlage über ein verknüpftes data.droidwiki.de-Datenobjekt die relevanten Informationen zu beziehen. Dies geschieht allerdings nur dann, wenn die Seite mit einem data.droidwiki.de Datenobjekt verknüpft ist, und dieses gerätespezifische Informationen enthält. Zudem haben Inhalte aus dem Wikitext immer Vorrang. Das bedeutet, wenn eine Information, wie bspw. der Prozessor welcher mit dem Parameter "CPU" der Vorlage übergeben wird) nicht leer ist und auch das data.droidwiki.de Datenobjekt die Prozessor-Information enthält, so wird die Information aus dem Wikitext verwendet.
 
{{Wikipedia|Vorlage:Infobox}}
{{Wikipedia|Vorlage:Infobox}}
[[Kategorie:Vorlage:Box]]</noinclude>
[[Kategorie:Vorlage:Box]]</noinclude>
11.008

Bearbeitungen

Cookies helfen uns bei der Bereitstellung von Android Wiki. Durch die Nutzung von Android Wiki erklärst du dich damit einverstanden, dass wir Cookies speichern.