Vorlage:Icons: Unterschied zwischen den Versionen

Permanently protected template
IMT HilfeWiki - das Wiki
Zeile 52: Zeile 52:
 
| Windows Phone 8.1 = [[File:Icon_Windows_Phone.png|23px|link={{{2|}}}|alt=Blackberry]]
 
| Windows Phone 8.1 = [[File:Icon_Windows_Phone.png|23px|link={{{2|}}}|alt=Blackberry]]
 
| Blackberry 10 = [[File:Blackberry.png|23px|link={{{2|}}}|alt=Blackberry]]
 
| Blackberry 10 = [[File:Blackberry.png|23px|link={{{2|}}}|alt=Blackberry]]
 +
| ChromeOS= [[Datei:Logo ChromeOS.png|22px|link={{{2|}}}|alt=ChromeOS]]
 
| #default = <!--{{#if:{{{1|}}}|Bitte Icon für '{{{1}}}' in {{tl|Icons}} einfügen![[Category:Pages with broken file links]]|No 1st parameter supplied to {{tl|Icons}}!}}-->{{#if:{{{1|}}}|[[File:Mbox content.png|22px|link={{{1}}}|alt=Icon missing for {{{1}}}]][[Category:Entity needs small Icon for 'Icons']]|[[Category:Erroneous]]}}
 
| #default = <!--{{#if:{{{1|}}}|Bitte Icon für '{{{1}}}' in {{tl|Icons}} einfügen![[Category:Pages with broken file links]]|No 1st parameter supplied to {{tl|Icons}}!}}-->{{#if:{{{1|}}}|[[File:Mbox content.png|22px|link={{{1}}}|alt=Icon missing for {{{1}}}]][[Category:Entity needs small Icon for 'Icons']]|[[Category:Erroneous]]}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>

Version vom 21. Oktober 2022, 14:10 Uhr


Documentation icon Template documentation

Description[Quelltext bearbeiten]

Converts a string to an icon. Takes a string and outputs one image. Technically produces a string working as a mediawiki image link, including the correct width, an alt tag and optional a link to a wiki page.

Handles all types of icons. Echos warning-text if no image is configured for supplied string and puts page in Category:Pages with broken file links

Parameters[Quelltext bearbeiten]

Converts a string to an icon. Takes a string and outputs one image.

Vorlagenparameter

ParameterBeschreibungTypStatus
Iconname1

The name/type/identifier for the icon to produce. For an operation system its the name of the page, the os is defined on. For a target audience it is the identifier.

Seiteerforderlich
Link2

Fully qualified link or page name, image icon will be linked with

Zeilevorgeschlagen

Usage[Quelltext bearbeiten]

{{Icons|name|link}}

See also[Quelltext bearbeiten]


Cookies helfen uns bei der Bereitstellung des IMT HilfeWikis. Bei der Nutzung vom IMT HilfeWiki werden die in der Datenschutzerklärung beschriebenen Cookies gespeichert.