Modèle:TPVD-Platform

De DigiWiki.

(Différences entre les versions)
Ligne 9 : Ligne 9 :
'''Displays the icon for the platform, optionally with the name and some additional text.'''
'''Displays the icon for the platform, optionally with the name and some additional text.'''
 +
<nowiki>
 +
{{TPVD-Platform|Windows}}
-
<nowiki>
+
{{TPVD-Platform|MacOS}}
-
{{TPVD-Platform|Windows}}
+
-
{{TPVD-Platform|MacOS}}
+
{{TPVD-Platform|Linux}}
-
{{TPVD-Platform|Linux}}
+
{{TPVD-Platform|Linux|Debian}}
-
{{TPVD-Platform|Linux|Debian}}
+
{{TPVD-Platform|iPhone|showtext=1}}
-
{{TPVD-Platform|iPhone|showtext=1}}
+
{{TPVD-Platform|Android}}
-
{{TPVD-Platform|Android}}
+
{{TPVD-Platform|Something}}
-
 
+
</nowiki>
-
{{TPVD-Platform|Something}}
+
-
</nowiki>
+
{{TPVD-Platform|Windows}}
{{TPVD-Platform|Windows}}

Version du 26 janvier 2012 à 09:18


Displays the icon for the platform, optionally with the name and some additional text. {{TPVD-Platform|Windows}} {{TPVD-Platform|MacOS}} {{TPVD-Platform|Linux}} {{TPVD-Platform|Linux|Debian}} {{TPVD-Platform|iPhone|showtext=1}} {{TPVD-Platform|Android}} {{TPVD-Platform|Something}}

Windows

MacOS

Linux

A second argument is just displayed as text

Linux Debian

To display the text name beside the icon, add showtext=1 parameter

iPhone iPhone

Android

Platforms not recognized by the template just display the name:

Something

Outils personnels
donate
Google Ads