Template:Software: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 9: | Line 9: | ||
<onlyinclude>{{#switch:{{{1}}}  | <onlyinclude>{{#switch:{{{1}}}  | ||
| #default = {{#if:{{{eico|}}}|{{{eico}}}|<span style="{{Offsetable|offset={{{offset|0}}}}}user-select:none; position:relative; bottom:.1em">[[File:{{{ico}}}|{{#ifeq:{{FULLPAGENAME}}|{  | | #default = {{#if:{{{eico|}}}|{{{eico}}}|<span style="{{Offsetable|offset={{{offset|0}}}}}user-select:none; position:relative; bottom:.1em">[[File:{{{ico}}}|{{#ifeq:{{FULLPAGENAME}}|{{{link|{{{name}}}}}}|link=|link={{#if:{{{noprefix|}}}||{{langprefix}}}}{{#if:{{{vdc|}}}|vdc:|}}{{{link|{{{name}}}}}}}}|{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}|{{{ico size|}}}]]{{{addtext|}}}</span>}}  | ||
| 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>  | ||
Revision as of 06:17, 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
20250104061716
20250104061716
Revision size
  9939 bytes
9.939 kilobytes
0.009939 megabytes
9.939 kilobytes
0.009939 megabytes
Technical information
Page identifier
  193
Contains translations
  Yes
Uses parser functions?
  Yes
Uses variables?
  Yes