Template:Software: 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.
Bug:{{{addtext}}} does not work with all {{{1}}} options. Same is probably the case for {{{addtext-front}}}. [todo tested in ?]
m (Making the "since" and "removed" text color darker and less saturated.) |
No edit summary |
||
Line 3: | Line 3: | ||
{{Todo|Use [[/bc|backward compatibility]] in all child templates. The improvement work may not continue soon, but some progress has already been made.}} | {{Todo|Use [[/bc|backward compatibility]] in all child templates. The improvement work may not continue soon, but some progress has already been made.}} | ||
{{bug|{{param|addtext}} does not work with all {{param|1}} options. Same is probably the case for {{param|addtext-front}}.}} | {{bug|{{param|addtext}} does not work with all {{param|1}} options. Same is probably the case for {{param|addtext-front}}.}} | ||
{{Doc}} | {{Doc}} | ||
<includeonly><onlyinclude>{{#switch:{{{1}}} | |||
<includeonly> | |||
<onlyinclude>{{#switch:{{{1}}} | |||
| #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={{{link|{{{name}}}}}}}}|{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}|{{{ico size|}}}]]{{{addtext|}}}</span>}} | | #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={{{link|{{{name}}}}}}}}|{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}|{{{ico size|}}}]]{{{addtext|}}}</span>}} | ||
Line 48: | Line 52: | ||
|{{{eico}}} | |{{{eico}}} | ||
|<span style="{{Offsetable|offset={{{offset|0}}}}}user-select:none; position:relative; bottom:.1em">[[File:{{{ico}}}|{{#ifeq:{{FULLPAGENAME}}|{{{link|{{{name}}}}}}|link=|link={{{link|{{{name}}}}}}}}|{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}|{{{ico size|}}}]]</span>}}{{{addtext|}}} {{in text|{{{1}}}|pl=1|suf={{uselang}}}} }})</span> | |<span style="{{Offsetable|offset={{{offset|0}}}}}user-select:none; position:relative; bottom:.1em">[[File:{{{ico}}}|{{#ifeq:{{FULLPAGENAME}}|{{{link|{{{name}}}}}}|link=|link={{{link|{{{name}}}}}}}}|{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}|{{{ico size|}}}]]</span>}}{{{addtext|}}} {{in text|{{{1}}}|pl=1|suf={{uselang}}}} }})</span> | ||
}}</onlyinclude></includeonly> | }}</onlyinclude> | ||
</includeonly> |
Revision as of 13:43, 31 July 2024

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.

The above documentation is transcluded from Template:Software/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.