Vorlage:Hardware: Unterschied zwischen den Versionen

Aus FunkFeuer Wiki
Zur Navigation springen Zur Suche springen
(added deprecated warn box)
K (Try to remove case for warnings on HW pages)
 
(8 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 1: Zeile 1:
{{#ifeq:{{{deprecated|}}}|Ja|{{WarnBox|''Achtung:'' Dieses Gerät ist veraltet!}}|}}
{{#ifeq:{{{deprecated|}}}|Ja|{{WarnBox|''Achtung:'' Dieses Gerät ist veraltet!}}|}}
{{#ifexist:File:{{{Picture|}}} | {{#set:HardwarePicture=File:{{{Picture}}}}} | {{#ifexist: File:{{SUBPAGENAMEE}}_Picture.jpg | {{#set:HardwarePicture=File:{{SUBPAGENAMEE}}_Picture.jpg}} | {{#set:HardwarePicture=File:Hardware_nopic.png}}}} }}
{{#set:HardwareLink=[[{{PAGENAME}}|{{{name}}}]]}}
[[Category:Hardware|{{SUBPAGENAME}}]]
[[Category:Hardware|{{SUBPAGENAME}}]]
{| border="2" cellspacing="0" cellpadding="4" rules="all" class="wikitable" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; font-size:95%; empty-cells:hide"
{| border="2" cellspacing="0" cellpadding="4" rules="all" class="wikitable" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; font-size:95%; empty-cells:hide"
Zeile 7: Zeile 10:
| colspan=2| {{#ifexist:File:{{{Picture|}}}|[[File:{{{Picture|}}}|360x360px]]|[[{{#ifexist: File:{{SUBPAGENAMEE}}_Picture.jpg | File:{{SUBPAGENAMEE}}_Picture.jpg | File:Hardware_nopic.png}}|link=File:{{SUBPAGENAMEE}}_Picture.jpg| {{#ifexist: File:{{SUBPAGENAMEE}}_Picture.jpg | 360x360px | 180x180px}} ]]}}
| colspan=2| {{#ifexist:File:{{{Picture|}}}|[[File:{{{Picture|}}}|360x360px]]|[[{{#ifexist: File:{{SUBPAGENAMEE}}_Picture.jpg | File:{{SUBPAGENAMEE}}_Picture.jpg | File:Hardware_nopic.png}}|link=File:{{SUBPAGENAMEE}}_Picture.jpg| {{#ifexist: File:{{SUBPAGENAMEE}}_Picture.jpg | 360x360px | 180x180px}} ]]}}
|-
|-
{{InfoboxRow|rowlabel=Name}}{{{name}}}
{{InfoboxRow|rowlabel=Name}}[[HardwareName::{{{name}}}]]
|-
|-
{{#if:{{{manufacturer|}}}|{{InfoboxRow|rowlabel=Hersteller}}{{{manufacturer}}}|}}
{{#if:{{{manufacturer|}}}|{{InfoboxRow|rowlabel=Hersteller}}[[HardwareManufacturer::{{{manufacturer|}}}]]|}}
{{#if:{{{deprecated|}}}|{{InfoboxRow|rowlabel=Veraltet}}{{{deprecated}}}|}}
{{#if:{{{deprecated|}}}|{{InfoboxRow|rowlabel=Veraltet}}[[HardwareDeprecated::{{{deprecated}}}]]|}}
{{#if:{{{included|}}}||
{{#if:{{{included|}}}||
|}
|}
[[Page has default form::Hardware]]}}<noinclude>
[[Page has default form::Hardware]]}}{{FixTitle}}<noinclude>
This form is used in the following way:
This form is used in the following way:
<pre><nowiki>
<pre><nowiki>

Aktuelle Version vom 8. April 2017, 17:44 Uhr

This form is used in the following way:
{{Hardware
| name = Name
| manufacturer = Hersteller
}}
Hardware
Hardware nopic.png
Name

{{{name}}}