Template:Software: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{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.<br>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.}} {{merge|{{t|software external}}}} {{Todo|Use backward compatibility in all chi...") |
No edit summary |
||
Line 13: | Line 13: | ||
| bold = <span style="{{Offsetable|offset={{{offset|0}}}}}white-space:nowrap; " title="{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}">'''{{{name{{{nt|}}}|{{{name}}}}}}{{{addtext|}}}'''</span> | | bold = <span style="{{Offsetable|offset={{{offset|0}}}}}white-space:nowrap; " title="{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}">'''{{{name{{{nt|}}}|{{{name}}}}}}{{{addtext|}}}'''</span> | ||
| 1 = [[{{#if:{{{noprefix|}}}||{{langprefix}}}}{{{link|{{{name}}}}}}|<span style="{{Offsetable|offset={{{offset|0}}}}}white-space:nowrap; " title="{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}">{{{name{{{nt|}}}|{{{name}}}}}}{{{addtext|}}}</span>]] | | 1 = [[{{#if:{{{vdc|}}}|vdc:|}}{{#if:{{{noprefix|}}}||{{langprefix}}}}{{{link|{{{name}}}}}}|<span style="{{Offsetable|offset={{{offset|0}}}}}white-space:nowrap; " title="{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}">{{{name{{{nt|}}}|{{{name}}}}}}{{{addtext|}}}</span>]] | ||
| 1.bold = '''[[{{#if:{{{noprefix|}}}||{{langprefix}}}}{{{link|{{{name}}}}}}|<span style="{{Offsetable|offset={{{offset|0}}}}}white-space:nowrap; " title="{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}">{{{name{{{nt|}}}|{{{name}}}}}}{{{addtext|}}}</span>]]''' | | 1.bold = '''[[{{#if:{{{noprefix|}}}||{{langprefix}}}}{{{link|{{{name}}}}}}|<span style="{{Offsetable|offset={{{offset|0}}}}}white-space:nowrap; " title="{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}">{{{name{{{nt|}}}|{{{name}}}}}}{{{addtext|}}}</span>]]''' |
Revision as of 05:46, 4 January 2025

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.
Todo: Use backward compatibility in all child templates. The improvement work may not continue soon, but some progress has already been made.

Template Documentation [edit]
Todo: See Template:Software/doc/draft
Todo: Replace the
=suf
method translations with /strings and #switch: {{language}}
instead.{{Software}}
is the template that underlies the icon templates. It has 8 main parameters:
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 by the {{In text}}
Template.
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
N/A
Preload
N/A
Sandbox
N/A
Strings
Testcases
N/A
Other
N/A
Revision information
Latest editor
Kate
Last edited
04/01/2025
20250104054632
20250104054632
Revision size
9387 bytes
9.387 kilobytes
0.009387 megabytes
9.387 kilobytes
0.009387 megabytes
Technical information
Page identifier
193
Contains translations
Yes
Uses parser functions?
Yes
Uses variables?
Yes