Template:SoftwareBox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added delphi programming language)
m (→‎top: Unicodifying, replaced: {{source}} → {{src}}, {{windows → {{win (2), {{macos → {{mac (2), {{goldsrc → {{gldsrc (3))
Line 41: Line 41:
| content4style = padding:0;
| content4style = padding:0;


| content5      = {{#ifeq:{{#ifeq:{{{windows}}}|1|1|{{#ifeq:{{{android}}}|1|1|{{#ifeq:{{{macos}}}|1|1|{{#ifeq:{{{linux}}}|1|1|0}}}}}}}}|1|
| content5      = {{#ifeq:{{#ifeq:{{{win}}}|1|1|{{#ifeq:{{{android}}}|1|1|{{#ifeq:{{{mac}}}|1|1|{{#ifeq:{{{linux}}}|1|1|0}}}}}}}}|1|
<div style="display:grid; grid-template-columns:1fr 1fr;">
<div style="display:grid; grid-template-columns:1fr 1fr;">
   <div style="background:#232323; border-top:1px solid #323232; color:white; padding:.3em"><b>Operating system</b></div>
   <div style="background:#232323; border-top:1px solid #323232; color:white; padding:.3em"><b>Operating system</b></div>
   <div style="border-top:1px solid #232323; padding:.3em"><!--
   <div style="border-top:1px solid #232323; padding:.3em"><!--
-->{{#ifeq:{{{windows}}}|1|[[File:Logo-windows.png|24px|Windows]]}} <!--
-->{{#ifeq:{{{win}}}|1|[[File:Logo-windows.png|24px|Windows]]}} <!--
-->{{#ifeq:{{{macos}}}|1|[[File:Logo-apple.png|24px|MacOS]]}} <!--
-->{{#ifeq:{{{mac}}}|1|[[File:Logo-apple.png|24px|MacOS]]}} <!--
-->{{#ifeq:{{{android}}}|1|[[File:Logo-android.png|24px|Android]]}} <!--
-->{{#ifeq:{{{android}}}|1|[[File:Logo-android.png|24px|Android]]}} <!--
-->{{#ifeq:{{{linux}}}|1|[[File:Logo-linux.png|24px|Linux]]}}<!--
-->{{#ifeq:{{{linux}}}|1|[[File:Logo-linux.png|24px|Linux]]}}<!--
Line 60: Line 60:
| content6style = padding:0;
| content6style = padding:0;


| content7      = {{#ifeq:{{#ifeq:{{{goldsrc|}}}|1|1|{{#ifeq:{{{source|}}}|1|1|{{#ifeq:{{{source2|}}}|1|1|0}}}}}}|1|
| content7      = {{#ifeq:{{#ifeq:{{{gldsrc|}}}|1|1|{{#ifeq:{{{source|}}}|1|1|{{#ifeq:{{{source2|}}}|1|1|0}}}}}}|1|
<div style="display:grid; grid-template-columns:1fr 1fr;">
<div style="display:grid; grid-template-columns:1fr 1fr;">
   <div style="background:#232323; color:white; padding:.3em"><b>Target engine(s)</b></div>
   <div style="background:#232323; color:white; padding:.3em"><b>Target engine(s)</b></div>
   <div style="border-top:1px solid #232323; padding:.3em"><!--
   <div style="border-top:1px solid #232323; padding:.3em"><!--
-->{{#ifeq:{{{goldsrc|}}}|1|{{goldsrc}}}} <!--
-->{{#ifeq:{{{gldsrc|}}}|1|{{gldsrc}}}} <!--
-->{{#ifeq:{{{source|}}}|1|{{source}}}} <!--
-->{{#ifeq:{{{source|}}}|1|{{src}}}} <!--
-->{{#ifeq:{{{source2|}}}|1|{{source2}}}} <!--
-->{{#ifeq:{{{source2|}}}|1|{{source2}}}} <!--
--></div>
--></div>

Revision as of 02:05, 7 January 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Error on string: String info  !
Shortcut
infobox non-game

This is a template of {{SoftwareBox}} that is designed to help create software infoboxes.

Sandbox

The sandbox for this page can be found at the sandbox subpage.

Testcases

Testcases for this template can be located on the testcases subpage.

Copy and Paste

{{SoftwareBox <!-- Basic info --> | title = | image = <!-- Details --> | developer = | initial_release = | stable_release = | written_in = | type = | distribution = | website = | download = | version = <!-- Operating system(s)--> | windows = | android = | macos = | linux = <!-- Target engine(s)--> | gldsrc = <!-- "goldsrc" can be also used. --> | source = | source2 = }}

Usage & Preview

{{Infobox}}
Parameter Description Example
{{{title}}} Software title
| title = Foo bar
{{{image}}} Logo or screenshot
| image = Software Cover - The Lab
{{{developer}}} User name of the developer
| developer = Test
{{{initial_release}}} Initial release date
| initial_release = Jan 01, 2000
{{{stable_release}}} Stable release date
| stable_release = Jan 01, 2020
{{{written_in}}} Written in (csharp, c++, php, python)
| written_in = csharp
{{{type}}} Type
| type = Mod tool • Map compiler • Map tool
{{{distribution}}} Distribution
| distribution = Freeware
{{{website}}} Website
| website = https://developer.valvesoftware.com
{{{download}}} Download
| download = https://developer.valvesoftware.com
{{{version}}} Version
| version = 1.0.0.1
Operating system(s)
{{{windows}}} Compatible with Windows
| windows = 1
{{{macos}}} Compatible with MacOS
| macos = 1
{{{android}}} Compatible with Android
| android = 1
{{{linux}}} Compatible with Linux
| linux = 1
Target engine(s)
{{{gldsrc}}}
{{{goldsrc}}}
GoldSrc GoldSrc
| gldsrc = 1
{{{source}}} Source Source
| source = 1
{{{source2}}} Source 2 Source 2
| source2 = 1
{{{header}}}
Software Cover - The Lab.jpg
Developer(s)
{{{developer}}}
Initial release
{{{initial_release}}}
Stable release
{{{stable_release}}}
Written in
C#
Operating system
Android Linux
Type
{{{type}}}
Target engine(s)
Source Source 2
Distribution
{{{distribution}}}
Website
{{{website}}}
Hierarchy: SoftwareBox /