Template:Software

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.




Please follow the format on this subpage(s) to add translations.
Approximate status of translation:















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 [[File:HLS-Icon.png | 32px]], in which case it should be 32px, or more. Experimentation may be necessary for non-square icons.
![]() |
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.![]() |
{{hl2|4|addtext=®}} ► [[File:Hl2 icon.png | 18px]] Half-Life 2® |
{{{nt}}} | This parameter will be used in the {{{name<number>}}} parameter, some software templates may also have {{{name<text>}}}, such as {{iOS}} and {{Mac}}.
![]() |
[[File:Hl2 icon.png | 18px]] HL2 |
{{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}}
|
[[File:Icon-Portal2.png | 16px]] | ||
{{portal2|1}}
|
Portal 2 | |||
{{portal2|2}}
|
[[File:Icon-Portal2.png | 16px]] Portal 2 | ||
{{portal2|3}}
|
Portal 2 | |||
{{portal2|3-darker}}
|
Portal 2 | |||
{{portal2|3.1}}
|
Portal 2 | |||
{{portal2|3.2}}
|
Portal 2 | |||
{{portal2|4}}
|
[[File:Icon-Portal2.png | 16px]] Portal 2 | ||
{{portal2|4-darker}}
|
[[File:Icon-Portal2.png | 16px]] Portal 2 | ||
{{portal2|4.1}}
|
[[File:Icon-Portal2.png | 16px]] Portal 2 | ||
{{portal2|4.2}}
|
[[File:Icon-Portal2.png | 16px]] Portal 2 | ||
{{portal2|ico}}
|
Icon-Portal2.png | |||
{{portal2|col}}
|
#23B1E5 | |||
{{portal2|name}}
|
Portal 2 | |||
{{portal2|bold}}
|
Portal 2 | |||
{{portal2|in}}
|
(in [[File:Icon-Portal2.png | 16px]]) | ||
{{portal2|only}}
|
(only in [[File:Icon-Portal2.png | 16px]]) | ||
{{portal2|since}}
|
(in all games since [[File:Icon-Portal2.png | 16px]]) | ||
{{portal2|not}}
|
(not in [[File:Icon-Portal2.png | 16px]]) | ||
{{portal2|also|addtext= {{csgo}} {{l4d2}}}}
|
(also in [[File:Icon-Portal2.png | 16px]] [[File:Csgo icon.png | 16px]] [[File:Icon-L4D2.png | 16px]]) |
(04 April 2022)
20240808112006
8.501 kilobytes
0.008501 megabytes
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.