Template:Software/doc/draft
< Template:Software | doc(Redirected from Template:Software/doc (draft))
This is a draft template page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.
Remember to check for any notes left by the tagger at this article's talk page.
[Todo]
Tip:The software icon should be scaled to be in-line with the text size (using {{{ico size}}}). While this is nominally "16 pixels tall", high-DPI displays (such as Apple Retina display used on Mac for example) will benefit from the file being higher resolutions; 32 pixels tall is generally sufficient, although any resolution can be used (MediaWiki will downscale the image automatically and only deliver the necessary resolution).
Contents
Future Desired Parameters
Modes
Parameter | Description | Example | Preview |
---|---|---|---|
No Parameters | Icon with a link. | ||
{{{text}}}
|
Icon with colorized text and link. | Source 2 | |
{{{plaintext}}}
|
Plaintext link. | Source 2 | |
{{{color}}}
|
Places the link color as text. | #F2A52B |
Styles
Styles should be applied to any modes. Each mode can have its own unique styles, but the number of styles for these modes is common.
Parameter | Description | Example | Preview |
---|---|---|---|
{{{0}}}
|
Style 0 (None) | Source 2 | |
No Parameters | Style 1 (Default) | Source 2 | |
From {{{2}}} to infinity
|
Infinite number of various styles. | See THE OWL's Sandbox |
Other
Other parameters that should be used when creating a child template or when using a child template on a page.
Parameter | Description | Example | Preview |
---|---|---|---|
{{{name}}}
|
Name of the software. | ||
{{{name:<lang code>}}}
|
Translation of the name. | 起源2引擎 | |
{{{name <2-4>}}}
|
Other software names. | ||
{{{name type}}}
|
Switches between available names. In the example, an abbreviation was used, which can be found in the section #An example of the future desired code of child templates. | Source 2 Engine | |
{{{icon}}}
|
Not to be confused with {{{icon}}} of #Modes.
The link icon. |
See THE OWL's Sandbox | |
{{{icon size}}}
|
The size of the link icon. | ||
{{{color}}}
|
Not to be confused with {{{color}}} of #Modes.
The color of the link. Can be text. |
Source 2 | |
{{{link}}}
|
Internal or Interwiki link. Overwrites all other links. | Source 2 | |
{{{link:external}}}
|
External link. | Source 2 | |
{{{addtext:before}}}
|
Adding text before the link content. | See THE OWL's Sandbox | |
{{{addtext:after}}}
|
Adding text after the link content. |