Template:Software: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 53: | Line 53: | ||
		-->{{#if:{{{eico|}}}  | 		-->{{#if:{{{eico|}}}  | ||
			|{{{eico}}}  | 			|{{{eico}}}  | ||
			|<span style="{{Offsetable|offset={{{offset|0}}}}}user-select:none; position:relative; bottom:.1em">[[File:{{{ico}}}|{{#ifeq:{{FULLPAGENAME}}|{  | 			|<span style="{{Offsetable|offset={{{offset|0}}}}}user-select:none; position:relative; bottom:.1em">[[File:{{{ico}}}|{{#ifeq:{{FULLPAGENAME}}|{{{link|{{{name}}}}}}|link=|link={{#if:{{{vdc|}}}|vdc:|}}{{#if:{{{noprefix|}}}||{{langprefix}}}}{{{link|{{{name}}}}}}}}|{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}|{{{ico size|}}}]]</span>}}{{{addtext|}}} {{in text|{{{1}}}|pl=1|suf={{pagelang}}}} }})</span>  | ||
}}</onlyinclude>  | }}</onlyinclude>  | ||
</includeonly>  | </includeonly>  | ||
Revision as of 06:15, 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
20250104061510
20250104061510
Revision size
  9963 bytes
9.963 kilobytes
0.009963 megabytes
9.963 kilobytes
0.009963 megabytes
Technical information
Page identifier
  193
Contains translations
  Yes
Uses parser functions?
  Yes
Uses variables?
  Yes