Difference between revisions of "Template:TPVD-Platform"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 7: Line 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.'''


  <nowiki>
  <nowiki>
Line 29: Line 31:


{{TPVD-Platform|Linux}}
{{TPVD-Platform|Linux}}
A second argument is just displayed as text


{{TPVD-Platform|Linux|Debian}}
{{TPVD-Platform|Linux|Debian}}


To display the text name beside the icon, add <tt>showtext=1</tt> parameter
To display the text name beside the icon, add <tt>showtext=1</tt> parameter
{{TPVD-Platform|iPhone|showtext=1}}
{{TPVD-Platform|iPhone|showtext=1}}


{{TPVD-Platform|Android}}
{{TPVD-Platform|Android}}
Platforms not recognized by the template just display the name:


{{TPVD-Platform|Something}}
{{TPVD-Platform|Something}}
</noinclude>
</noinclude>

Revision as of 06:38, 5 November 2010


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