Template:Software/doc: Difference between revisions
Jump to navigation
Jump to search
(Cleaned up the docs.) |
m (autolang replace) |
||
Line 81: | Line 81: | ||
| ico size = 16px <!-- Note: This should always be kept at or near 16px, even with higher-res icon, unless the image is wider. For example, a 1:2 aspect ratio would be 32px. --> | | ico size = 16px <!-- Note: This should always be kept at or near 16px, even with higher-res icon, unless the image is wider. For example, a 1:2 aspect ratio would be 32px. --> | ||
| link = Portal 2 | | link = Portal 2 | ||
| name = {{ | | name = {{#switch: {{language}} | ||
| Portal 2 | | #default = Portal 2 | ||
| ko = 포탈 2 | | ko = 포탈 2 | ||
| zh = 传送门 2 | | zh = 传送门 2 | ||
Line 89: | Line 89: | ||
<!-- Autolang is now used for translation, which is done automatically by selecting the languages in the language toolbar. Suf-based translation are now deprecated. --> | <!-- Autolang is now used for translation, which is done automatically by selecting the languages in the language toolbar. Suf-based translation are now deprecated. --> | ||
| name0 = portal2 | | name0 = portal2 | ||
| namePortal 2 = {{ | | namePortal 2 = {{#switch: {{language}} | ||
| Portal 2 | | #default = Portal 2 | ||
| ko = 포탈 2 | | ko = 포탈 2 | ||
| zh = 传送门 2 | | zh = 传送门 2 |
Revision as of 04:00, 6 August 2024

This is a documentation subpage for Template:Software.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Todo: See Template:Software/doc/draft
Todo: Replace the complicated =suf method translations with /strings and
{{autolang}}
+ {{uselangflags}}
one 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
Preload
N/A
Sandbox
Strings
Testcases
N/A
Other
N/A
Revision information
Latest editor
Nesciuse
Last edited
06/08/2024
20240806040041
20240806040041
Revision size
9281 bytes
9.281 kilobytes
0.009281 megabytes
9.281 kilobytes
0.009281 megabytes
Technical information
Page identifier
46333
Contains translations
Yes
Uses parser functions?
Yes
Uses variables?
Yes