Template:Platform only

From Lazarus wiki
Jump to navigationJump to search

This is a template for a platform-only hint.

Documentation

Usage: {{Platform only|<Platform>|<Category>|<Category display name>}}

Possible values for <Platform> are

  • If no platform given, a generic message will be shown
  • Amiga
  • AmigaOS
  • Android
  • Arduino
  • AROS
  • AVR
  • Fedora
  • FreeBSD
  • GTK+
  • iOS
  • iPadOS
  • Linux
  • Mac OS Classic
  • macOS
  • MorphOS
  • Qt
  • Raspberry Pi
  • Ubuntu
  • Windows
  • WindowsCE
  • WindowsXP

Parameter <Category> is optional; if given, this is the name of the category which is linked. If not given, <Platform> will be used as category name.

Parameter <Category display name> is only recognized if <Category> is present. It will change the text of the category link.

For different platform versions please use the appropriate <Platform> and set the general category (if no special category exists).

Colors

Colors are defined in Template:Platform only/Colors and may be modified there.

Translation

All texts are defined in Template:Platform only/Text. The template is language aware and uses the language part of the transcluding page.

Showcase

This is only a showcase to show how the result may look like. It isn't a complete list of all platforms.

Platform Category Category display name Text Output

{{Platform only}}

Stock-dialog-warning.svg

This article is platform-dependent.

See also: Multiplatform Programming Guide

Amiga

{{Platform only|Amiga}}

Amiga-checkmark.png

This article applies to Amiga only.

See also: Multiplatform Programming Guide

AmigaOS

{{Platform only|Amiga}}

AmigaOS-boingball.png

This article applies to AmigaOS 4.x only.

See also: Multiplatform Programming Guide

Android

{{Platform only|Android}}

Android robot.svg

This article applies to Android only.

See also: Multiplatform Programming Guide

Arduino Arduino Arduino boards

{{Platform only|Arduino|Arduino|Arduino boards}}

Arduino Logo.svg

This article applies to Ardunio boards only.

See also: Multiplatform Programming Guide

AROS

{{Platform only|AROS}}

AROS-mascotte.png

This article applies to AROS only.

See also: Multiplatform Programming Guide

AVR AVR AVR microprocessors

{{Platform only|AVR|AVR|AVR microprocessors}}

Avr logo.svg

This article applies to AVR microprocessors only.

See also: Multiplatform Programming Guide

Fedora

{{Platform only|Fedora}}

Fedora icon (2021).svg

This article applies to Fedora only.

See also: Multiplatform Programming Guide

FreeBSD

{{Platform only|FreeBSD}}

FBSD Daemon.jpg

This article applies to FreeBSD only.

See also: Multiplatform Programming Guide

GTK+ GTK Widgetsets GTK+ Widgetsets

{{Platform only|GTK+|GTK Widgetsets|GTK+ Widgetsets}}

GTK+ logo.svg

This article applies to GTK+ Widgetsets only.

See also: Multiplatform Programming Guide

iOS

{{Platform only|iOS}}

Apple iOS new.svg

This article applies to iOS only.

See also: Multiplatform Programming Guide

iPadOS

{{Platform only|iPadOS}}

Apple iPadOS.png

This article applies to iPadOS only.

See also: Multiplatform Programming Guide

Linux

{{Platform only|Linux}}

Crystal 128 penguin.png

This article applies to Linux only.

See also: Multiplatform Programming Guide

Mac OS Classic

{{Platform only|Mac OS Classic}}

Logo OSX.png

This article applies to Mac OS Classic only.

See also: Multiplatform Programming Guide

macOS

{{Platform only|macOS}}

macOSlogo.png

This article applies to macOS only.

See also: Multiplatform Programming Guide

MorphOS

{{Platform only|MorphOS}}

MorphOS-butterfly.png

This article applies to MorphOS only.

See also: Multiplatform Programming Guide

Qt Qt Qt widgetset

{{Platform only|Qt|Qt|Qt widgetset}}

Qt logo.svg

This article applies to Qt widgetset only.

See also: Multiplatform Programming Guide

Ubuntu

{{Platform only|Ubuntu}}

Logo-ubuntu cof-orange-hex.svg

This article applies to Ubuntu only.

See also: Multiplatform Programming Guide

Windows Windows Windows

{{Platform only|Windows}}

Windows logo - 2012.svg

This article applies to Windows only.

See also: Multiplatform Programming Guide

Windows CE WinCE Windows CE

{{Platform only|WinCE|Windows|Windows CE}}

WinCE Logo.png

This article applies to Windows CE only.

See also: Multiplatform Programming Guide

WindowsXP Windows Windows XP

{{Platform only|WindowsXP|Windows|Windows XP}}

Microsoft Windows 7 logo.png

This article applies to Windows XP only.

See also: Multiplatform Programming Guide

Raspberry Pi

{{Platform only|Raspberry Pi}}

Raspberry Pi Logo.png

This article applies to Raspberry Pi only.

See also: Multiplatform Programming Guide