Difference between revisions of "Template:TPVD-Platform"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
<includeonly>{{#switch: {{{1}}}
| Windows = [[Image:Win32.png|alt=Windows]]
| Windows = [[Image:Win32.png|alt=Windows]]
| MacOS  = [[Image:Macosx.png|alt=MacOS]]
| MacOS  = [[Image:Macosx.png|alt=MacOS]]
| Linux  = [[Image:Linux.png|alt=Linux]]
| Linux  = [[Image:Linux.png|alt=Linux]]
| iPhone  = [[Image:iPhone.png|alt=iPhone]]
| Linux64 = [[Image:Linux64.png|alt=Linux 64bit]]
| Android = [[Image:Android.png|alt=Android]]
| iPhone  = [[Image:iPhone.png|alt=iPhone]]
| {{{1}}}
| Android = [[Image:Android.png|alt=Android]]
}}{{#if: {{{showtext|}}}|&nbsp;{{{1}}}}}{{#if: {{{2|}}}|&nbsp;{{{2}}}}}</includeonly><noinclude>
| {{{1}}}
}}{{#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 14: Line 17:


  {{TPVD-Platform|Linux}}
  {{TPVD-Platform|Linux}}
{{TPVD-Platform|Linux64}}


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


  {{TPVD-Platform|iPhone|showtext=}}
  {{TPVD-Platform|iPhone|showtext=1}}


  {{TPVD-Platform|Android}}
  {{TPVD-Platform|Android}}
Line 29: Line 34:


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


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


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

Latest revision as of 06:05, 23 April 2013


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|Linux64}}

 {{TPVD-Platform|Linux|Debian}}

 {{TPVD-Platform|iPhone|showtext=1}}

 {{TPVD-Platform|Android}}

 {{TPVD-Platform|Something}}
 

Windows

MacOS

Linux

Linux 64bit

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