{{OS}}的内部使用此模板,用于显示一个操作系统的图标。如果|link=被设置,会具有一个自定义链接。此模板不应直接被调用,应使用{{OS}}来调用。
示例
| 代码 | 结果 |
|---|---|
| 桌面 | |
{{OS/switch|Windows}} |
|
{{OS/switch|Windows wordmark}} |
|
{{OS/switch|Windows 7}} |
|
{{OS/switch|Windows 10}} |
Windows 10 |
{{OS/switch|Windows 10 wordmark}} |
|
{{OS/switch|macOS}} |
|
{{OS/switch|Linux}} |
Linux |
{{OS/switch|ChromeOS}} |
|
| 启动器 | |
{{OS/switch|Windows 7+}} |
|
{{OS/switch|Windows 10+}} |
|
| 主机 | |
{{OS/switch|Xbox}} |
|
{{OS/switch|Xbox 360}} |
|
{{OS/switch|Xbox One}} |
Xbox One |
{{OS/switch|Xbox Series X/S}} |
|
{{OS/switch|PlayStation}} |
Playstation |
{{OS/switch|PlayStation 3}} |
Playstation 3 |
{{OS/switch|PlayStation 4}} |
Playstation 4 |
{{OS/switch|PlayStation 5}} |
|
{{OS/switch|PlayStation Vita}} |
|
{{OS/switch|Wii U}} |
|
{{OS/switch|New Nintendo 3DS}} |
|
{{OS/switch|Nintendo Switch}} |
|
| 移动 | |
{{OS/switch|Mobile device}} |
|
{{OS/switch|Android}} |
|
{{OS/switch|Android wordmark}} |
|
{{OS/switch|Galaxy Store}} |
|
{{OS/switch|iOS}} |
|
{{OS/switch|iPadOS}} |
|
{{OS/switch|Fire}} |
|
{{OS/switch|Fire Phone}} |
|
{{OS/switch|Windows Phone 8.1}} |
Windows Phone |
{{OS/switch|Windows 10 Mobile}} |
|
{{OS/switch|Windows 10 Mobile wordmark}} |
|
| 其他 | |
{{OS/switch|Browser}} |
|
{{OS/switch|Java}} |
|
{{OS/switch|Raspberry Pi}} |
|
{{OS/switch|Gear VR}} |
Gear VR |
{{OS/switch|Apple TV}} |
Apple TV |
{{OS/switch|Fire OS}} |
|
{{OS/switch|Fire TV}} |
Amazon Fire TV |
{{OS/switch|Netflix}} |
|