Template:Software
(Redirected from Template:New icon)



View | Edit | Page history | … |

This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Please follow the format on this subpage(s) to add translations.


=suf
method translations with /strings and {{autolang}}
+ {{uselangflags}}
one instead.
{{Software}}
is the template that underlies the icon templates. It has 8 main parameters:
- {{{1}}} – the way the icon will be displayed.
- Do not enter this value if you need a regular icon.
- Enter 1 to get the name of the game with a link to an article about the game.
- {{{1|1}}} ► Half-Life 2
- Enter 2 to get the icon and the name of the game after it.
- {{{1|2}}} ►
Half-Life 2
- {{{1|2}}} ►
- Enter 3 to get the same as in the case of the number 1, but with an additional design with colored text.
- {{{1|3}}} ► Half-Life 2
- Enter 4 to get the same as in the case of the number 2, but with an additional design with colored text.
- {{{1|4}}} ►
Half-Life 2
- {{{1|4}}} ►
- Enter 3.1 or 4.1 will get the same effect as above, but without the shadow behind the text and icon.
- {{{1|3.1}}} ► Half-Life 2
- {{{1|4.1}}} ►
Half-Life 2
- Enter 3.2 or 4.2 will get the same effect as above, but with different drop shadow effect.
- {{{1|3.2}}} ► Half-Life 2
- {{{1|4.2}}} ►
Half-Life 2
- Enter "col" (without quotes) to get the color of the game. This is mainly needed for other templates.
- Enter "in", "also", "only", "since", "removed" or "not" (without quotes) to get the icon displayed along with additional text, like "(also in <game icon>)".

- {{{ico}}} – the name of the icon is written here, but only the name itself, without "File:" and square brackets. Recommended name (example):
Icon-hl2.png
,Icon-Half-Life_2.png
, etc... - {{{ico size}}} - width of the icon. Should be 16px for most icons, unless it's double, like
, in which case it should be 32px, or more. Experimentation may be necessary for non-square icons.

- {{{link}}} – link to the article, external links do not work. If not used, the link will use the {{{name}}} parameter.
Write without the brackets. Underscores and spaces are interchangeable.

- {{{name}}} – display name.
- {{{name<number>}}} – this parameter displays an alternate name based on the {{{nt}}} parameter.

- {{{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. - {{{addtext}}} – additional text that will be written immediately after the icon. It is mainly needed to add other icons.

- {{{nt}}} – this parameter will be used in the {{{name<number>}}} parameter, some may also have {{{name<text>}}}, such as {{iOS}} and {{Mac}}.
Result
In the end, you should get something like this:
Translations
Translations are handled by the {{In text}}
Template.
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.1}}
|
Portal 2 |
{{portal2|3.2}}
|
Portal 2 |
{{portal2|4}}
|
![]() |
{{portal2|4.1}}
|
![]() |
{{portal2|4.2}}
|
![]() |
{{portal2|ico}}
|
Icon-Portal2.png |
{{portal2|col}}
|
#23B1E5 |
{{portal2|name}}
|
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 ![]() ![]() ![]() |
Template:Software
Summary
Aids in the creation of icon templates
Type
Metatemplate
Contributors
N/A
Creation date
04/04/2022
(04 April 2022)
(04 April 2022)
Notes
N/A
Subpages
Documentation
Preload
N/A
Sandbox
N/A
Strings
Testcases
N/A
Other
N/A
Revision information
Latest editor
Kr0tchet
Last edited
31/08/2023
20230831074255
20230831074255
Revision size
6109 bytes
6.109 kilobytes
0.006109 megabytes
6.109 kilobytes
0.006109 megabytes
Technical information
Page identifier
46330
Contains translations
Yes
Uses parser functions?
Yes
Uses variables?
Yes
The above documentation is transcluded from Template:Software/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this page.