Template:Software
Consider discussing changes on the talk page before implementing them.
Se nenio antaŭen ĉi mesaĝo, plej ŝance la priigo ne ekzistas eĉ en angla.
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:
| Parametro | Priskribo | 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}}} ► Duonvivo 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 "(ankaŭ en |
{{{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). |
Duonvivo 2 |
{{{bold}}}
|
Same as above, with bold text. | Duonvivo 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:
| Parametro | Priskribo | 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}}
|
(en |
{{portal2|only}}
|
(en nur |
{{portal2|since}}
|
(en ĉiu ludo post |
{{portal2|not}}
|
(ne en |
{{portal2|also|addtext= {{csgo}} {{l4d2}}}}
|
(ankaŭ en |
(04 April 2022)
20250925002931
16.069 kilobytes
0.016069 megabytes