Template:Software/doc: Difference between revisions
Jump to navigation
Jump to search
Tip:This template now supports icons with 32px or larger, this meant that users can upload a large icon (128px for example) directly, without having to downscale the icon to 16px, as the MediaWiki software will do this automatically.
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.
(→Result & Copy and Paste: - updated comment.) |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 113: | Line 113: | ||
| zh-tw = 傳送門 2 | | zh-tw = 傳送門 2 | ||
}} | }} | ||
<!-- Switch parser function are now used for translation. The template will automatically translate when you select different languages in the language toolbar. Suf-based translation and suf parameters are now deprecated. --> | <!-- Switch parser function are now used for translation. | ||
The template will automatically translate when you select different languages in the language toolbar. | |||
Suf-based translation and suf parameters are now deprecated. --> | |||
| name0 = portal2 | | name0 = portal2 | ||
| namePortal 2 = {{#switch: {{language}} | | namePortal 2 = {{#switch: {{language}} | ||
| Line 127: | Line 129: | ||
}}</onlyinclude></includeonly></nowiki>}} | }}</onlyinclude></includeonly></nowiki>}} | ||
You can also copy and paste the code above to create a new icon template, or to convert old template ({{T|New icon}}) to {{T|Software}} and update {{T|Software}} templates. | You can also copy and paste the code above to create a new icon template, or to convert old template ({{T||New icon}}) to {{T|Software}} and update {{T|Software}} templates. | ||
=== Translations === | === Translations === | ||
Latest revision as of 00:27, 25 September 2025
This is a documentation subpage for Template:Software.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
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:
{{Software}} also supports 3 more icons:
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:
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
Strings
Testcases
N/A
Other
N/A
Revision information
Latest editor
THE OWL
Last edited
25/09/2025
20250925002706
20250925002706
Revision size
11017 bytes
11.017 kilobytes
0.011017 megabytes
11.017 kilobytes
0.011017 megabytes
Technical information
Page identifier
46333
Contains translations
Yes
Uses parser functions?
Yes
Uses variables?
Yes