Modèle:TPVD-Platform

De DigiWiki.

(Différences entre les versions)
 
(3 versions intermédiaires masquées)
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>
<nowiki>
-
{{TPVD-Platform|Windows|showtext=1}}
+
{{TPVD-Platform|Windows}}
-
{{TPVD-Platform|MacOS|showtext=1}}
+
{{TPVD-Platform|MacOS}}
-
{{TPVD-Platform|Linux|showtext=1}}
+
{{TPVD-Platform|Linux}}
{{TPVD-Platform|Linux|Debian}}
{{TPVD-Platform|Linux|Debian}}
Ligne 39 : Ligne 40 :
{{TPVD-Platform|iPhone|showtext=1}}
{{TPVD-Platform|iPhone|showtext=1}}
-
{{TPVD-Platform|Android}}
+
{{TPVD-Platform|Android|showtext=1}}
Platforms not recognized by the template just display the name:
Platforms not recognized by the template just display the name:
{{TPVD-Platform|Something}}</noinclude>
{{TPVD-Platform|Something}}</noinclude>

Version actuelle en date du 26 janvier 2012 à 09:24


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 Android

Platforms not recognized by the template just display the name:

Something

Outils personnels
  • Cette page a été consultée 502 fois.
donate
Google Ads