Template:Version: Difference between revisions

From Hotline Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<span class="client-version-tag" style="white-space:nowrap; margin-right:5px;">[[File:{{#switch:{{{os|}}}
<span class="client-version-tag" style="white-space:nowrap; margin-right:5px; display:inline-block;">[[File:{{#switch:{{{os|}}}
  | win = OS_Windows_logo.png
  | win = OS_Windows_logo.png
  | macos = OS_macOS_logo.png
  | macos = OS_macOS_logo.png

Revision as of 04:13, 20 October 2025

File:Icon unknown.svg [[{{{client}}}/{{{v}}}|{{{v}}}]]

Documentation

This template creates a styled link for a client version, complete with an OS icon.

Usage

{{Version
| client = Client Page Name
| v = Version Number
| os = os_code
}}
  • client: The name of the main client article. The link will be created to a subpage (e.g., "Hotline Client/1.2.3").
  • v: The version number to display.
  • os: A short code for the operating system.

OS Codes

  • win - Windows
  • macos - macOS (Modern)
  • macx - Mac OS X
  • mac9 - Mac OS Classic
  • mac68k - Mac OS 68k
  • macppc - Mac OS PPC
  • carbon - Mac OS Carbon
  • linux - Linux
  • unix - UNIX
  • beos - BeOS