Template:Software
Consider discussing changes on the talk page before implementing them.
Please follow the format on this subpage(s) to add translations.
6Approximate status of translation:
100%
100%
66.67%
100%
100%
100%
16.67%
16.67%
16.67%
100%
100%
100%
100%
100% With the higher resolution icon available, these will benefits most 4K and Apple Retina display, and won't look blurry. See File:Icon-HL2.png.
{{Software}} is the template that underlies the icon templates. It has 8 main parameters:
| Parameter | Description | Value & Previews |
|---|---|---|
{{{1}}}
|
The way the icon will be displayed. Displays the icon only when not specified. |
{{{1}}} ► Click "Expand" to see more
{{{1|3-darker}}} ► Half-Life 2 Enter "col" (without quotes) to get the text color of the game/software.
Enter "in", "also", "only", "since", "removed" or "not" (without quotes) to get the icon displayed along with additional text, like "(also in |
{{{name}}}
|
Simply display the name. However this param is also used to add the abbreviation of the game for example (when you create/edit this template). |
Half-Life 2 |
{{{bold}}}
|
Same as above, with bold text. | Half-Life 2 |
{{{ico}}}
|
The name of the icon is written here, but only the name itself, without "File:" and square brackets. This same param is also used to display the icon you have specified when you create a new {{Software}} template. If the icon doesn't exist, it simply shows red link. |
Hl2 icon.png |
{{{ico size}}}
|
Width of the icon. Should be 16px for most icons, unless it's double, like |
N/A |
{{{col}}}
|
The color of the game. If it is not specified, just do not enter this parameter, the standard color will be used: #ADD8E6. It's highly recommended that you use brighter color for better readability with dark/black pages, but not too bright or over-saturated. |
#E6AC39 |
{{{link}}}
|
Link to the article, if not specified, the link will use the {{{name}}} parameter. Write without the brackets. Underscores and spaces are interchangeable. |
N/A |
{{{extlink}}}
|
External link, for example: https://developer.valvesoftware.com/ |
N/A |
{{{addtext}}}
|
Additional text that will be written immediately after the icon. It is mainly needed to add other icons.| addtext = {{{addtext|}}} in the icon templates! |
{{hl2|4|addtext=®}} ► |
{{{nt}}}
|
This parameter will be used in the {{{name<number>}}} parameter, some software templates may also have {{{name<text>}}}, such as {{iOS}} and {{Mac}}.
| nt = {{{nt|}}} part must be included on the icon templates for it to work! This parameters requires text to be displayed using {{{1}}} to use. |
{{Software}} also supports 3 more icons:
| Parameter | Description | Value & Previews |
|---|---|---|
{{{ico1}}} ~ {{{ico3}}}
|
The name of the icon is written here, but only the name itself, without "File:" and square brackets. | N/A |
{{{ico1 size}}} ~ {{{ico3 size}}}
|
Width of the icon. | N/A |
{{{ico1 name}}} ~ {{{ico3 name}}}
|
Name of the icon. | N/A |
{{{IcoEnable1}}} ~ {{{IcoEnable3}}}
|
Show/Hide the icon, default is yes. | N/A |
Result & Copy and Paste
In the end, you should get something like this:
You can also copy and paste the code above to create a new icon template, or to convert old template ({{New icon}}) to {{Software}} and update {{Software}} templates.
Translations
Translations are handled on the /strings page.
How To Use
This is how the use of the template in articles will look like:
| Code | Result |
|---|---|
{{portal2}}
|
|
{{portal2|1}}
|
Portal 2 |
{{portal2|2}}
|
|
{{portal2|3}}
|
Portal 2 |
{{portal2|3-darker}}
|
Portal 2 |
{{portal2|3.1}}
|
Portal 2 |
{{portal2|3.2}}
|
Portal 2 |
{{portal2|4}}
|
|
{{portal2|4-darker}}
|
|
{{portal2|4.1}}
|
|
{{portal2|4.2}}
|
|
{{portal2|ico}}
|
Icon-Portal2.png |
{{portal2|col}}
|
#23B1E5 |
{{portal2|name}}
|
Portal 2 |
{{portal2|bold}}
|
Portal 2 |
{{portal2|in}}
|
(in |
{{portal2|only}}
|
(only in |
{{portal2|since}}
|
(in all games since |
{{portal2|not}}
|
(not in |
{{portal2|also|addtext= {{csgo}} {{l4d2}}}}
|
(also in |
(04 April 2022)
20250925002931
16.069 kilobytes
0.016069 megabytes
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.