Modèle:TPVD-Platform

De DigiWiki.

(Différences entre les versions)
Ligne 7 : Ligne 7 :
| {{{1}}}
| {{{1}}}
}}{{#ifeq: {{{showtext|}}}| 1|&nbsp;{{{1}}}}}{{#if: {{{2|}}}|&nbsp;{{{2}}}}}</includeonly><noinclude>
}}{{#ifeq: {{{showtext|}}}| 1|&nbsp;{{{1}}}}}{{#if: {{{2|}}}|&nbsp;{{{2}}}}}</includeonly><noinclude>
 +
'''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.'''

Version du 26 janvier 2012 à 09:23


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
donate
Google Ads