Modèle:TPVD-Platform
De DigiWiki.
(Différences entre les versions)
Ligne 7 : | Ligne 7 : | ||
| {{{1}}} | | {{{1}}} | ||
}}{{#ifeq: {{{showtext|}}}| 1| {{{1}}}}}{{#if: {{{2|}}}| {{{2}}}}}</includeonly><noinclude> | }}{{#ifeq: {{{showtext|}}}| 1| {{{1}}}}}{{#if: {{{2|}}}| {{{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}}
A second argument is just displayed as text
To display the text name beside the icon, add showtext=1 parameter
Platforms not recognized by the template just display the name:
Something