Modèle:TPVD-Platform

De DigiWiki.

(Différences entre les versions)
 
(5 versions intermédiaires masquées)
Ligne 10 : Ligne 10 :
'''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}}
+
{{TPVD-Platform|Windows}}
-
{{TPVD-Platform|MacOS}}
+
{{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}}
+
{{TPVD-Platform|Something}}
-
</nowiki>
+
</nowiki>
{{TPVD-Platform|Windows}}
{{TPVD-Platform|Windows}}
Ligne 40 : 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 517 fois.
donate
Google Ads