Template:Software: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 37: | Line 37: | ||
| 4.1 = <span style="{{Offsetable|offset={{{offset|0}}}}}white-space:nowrap; font-weight:bold">{{#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}}}}{{{link|{{{name}}}}}}}}|{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}|{{{ico size|}}}]]</span>}} [[{{#if:{{{vdc|}}}|vdc:|}}{{#if:{{{noprefix|}}}||{{langprefix}}}}{{{link|{{{name}}}}}}|<span title="{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}" style="{{Offsetable|offset={{{offset|0}}}}}color:{{{col|#ADD8E6}}};{{#ifeq:{{FULLPAGENAME}}|{{{link|{{{name}}}}}}|text-decoration:none}}">{{{name{{{nt|}}}|{{{name}}}}}}{{{addtext|}}}</span>]]</span>  | | 4.1 = <span style="{{Offsetable|offset={{{offset|0}}}}}white-space:nowrap; font-weight:bold">{{#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}}}}{{{link|{{{name}}}}}}}}|{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}|{{{ico size|}}}]]</span>}} [[{{#if:{{{vdc|}}}|vdc:|}}{{#if:{{{noprefix|}}}||{{langprefix}}}}{{{link|{{{name}}}}}}|<span title="{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}" style="{{Offsetable|offset={{{offset|0}}}}}color:{{{col|#ADD8E6}}};{{#ifeq:{{FULLPAGENAME}}|{{{link|{{{name}}}}}}|text-decoration:none}}">{{{name{{{nt|}}}|{{{name}}}}}}{{{addtext|}}}</span>]]</span>  | ||
| 4.2 = <span style="{{Offsetable|offset={{{offset|0}}}}}white-space:nowrap; font-weight:bold; text-shadow: 2px 2px 4px #000000;">{{#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}}}}{{{link|{{{name}}}}}}}}|{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}|{{{ico size|}}}]]</span>}} [[{{#if:{{{vdc|}}}|vdc:|}}{{#if:{{{noprefix|}}}||{{langprefix}}}}{{{link|{{{name}}}}}}|<span title="{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}" style="{{Offsetable|offset={{{offset|0}}}}}color:{{{col|#ADD8E6}}};{{#ifeq:{{FULLPAGENAME}}|{{{link|{{{name}}}}}}|text-decoration:none}}">{{{name{{{nt|}}}|{{{name}}}}}}{{{addtext|}}}</span>]]</span>  | | 4.2 = <span style="{{Offsetable|offset={{{offset|0}}}}}white-space:nowrap; font-weight:bold; text-shadow: 2px 2px 4px #000000;">{{#if:{{{eico|}}}|{{{eico}}}|<span style="{{Offsetable|offset={{{offset|0}}}}}user-select:none; position:relative; bottom:.1em">[[File:{{{ico}}}|{{#ifeq:{{FULLPAGENAME}}|{{{#if:{{{vdc|}}}|vdc:|}}{{link|{{{name}}}}}}|link=|link={{#if:{{{vdc|}}}|vdc:|}}{{#if:{{{noprefix|}}}||{{langprefix}}}}{{{link|{{{name}}}}}}}}|{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}|{{{ico size|}}}]]</span>}} [[{{#if:{{{vdc|}}}|vdc:|}}{{#if:{{{noprefix|}}}||{{langprefix}}}}{{{link|{{{name}}}}}}|<span title="{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}" style="{{Offsetable|offset={{{offset|0}}}}}color:{{{col|#ADD8E6}}};{{#ifeq:{{FULLPAGENAME}}|{{{link|{{{name}}}}}}|text-decoration:none}}">{{{name{{{nt|}}}|{{{name}}}}}}{{{addtext|}}}</span>]]</span>  | ||
| col =  {{{col|#ADD8E6}}}  | | col =  {{{col|#ADD8E6}}}  | ||
Revision as of 06:11, 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
20250104061107
20250104061107
Revision size
  9771 bytes
9.771 kilobytes
0.009771 megabytes
9.771 kilobytes
0.009771 megabytes
Technical information
Page identifier
  193
Contains translations
  Yes
Uses parser functions?
  Yes
Uses variables?
  Yes