Template:Software/sandbox: Difference between revisions
Jump to navigation
Jump to search
(ffs idk why just now it wants to break itself, i just added info on what i did) |
No edit summary |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
New params | == New params == | ||
{{param|name}} to {{param|name3}} | {{param|name}} to {{param|name3}} | ||
:If {{param|name}} is set, then every icon will use that name; if the {{param|name1}} is used the second icon will use that name. | :If {{param|name}} is set, then every icon will use that name; if the {{param|name1}} is used, the second icon will use that name, and so on. | ||
{{param|ico size}} to {{param|ico3 size}} | {{param|ico}} to {{param|ico3}} | ||
:Specify icon size, the | :"ico1" to "ico3" are optional, if "ico1" is [[:File:hl2ep1 icon.png]], then you can set the size to 32px, if you didn't set it, then it uses {{param|ico size}}. | ||
{{param|ico size}} to {{param|ico3 size}} | |||
:Specify icon size, the ''File:hl2ep1 icon.png'' needs 32px, if its on "ico1" then "ico1 size" will be 32px, and so on. | |||
{{param|extlink}} | {{param|extlink}} | ||
:External link, e | :External link, e.g <nowiki>https://www.youtube.com/</nowiki> | ||
=== Code === | |||
<pre> | <pre> | ||
{{Software | |||
| {{{1}}} | | {{{1}}} | ||
| ico = | | ico = | ||
Line 35: | Line 36: | ||
| addtext = {{{addtext|}}} | | addtext = {{{addtext|}}} | ||
| nt = {{{nt|}}} | | nt = {{{nt|}}} | ||
}} | }} | ||
</pre> | </pre> | ||
== Links == | |||
External link: | External link: | ||
Line 45: | Line 46: | ||
|ico size = 16px | |ico size = 16px | ||
|name = Half-Life 2 | |name = Half-Life 2 | ||
|extlink = https://www.youtube.com/ | |extlink = https://www.youtube.com/watch?v=dQw4w9WgXcQ | ||
}} | }} | ||
Line 53: | Line 54: | ||
|ico size = 16px|ico1 size = 32px|ico2 size = 32px | |ico size = 16px|ico1 size = 32px|ico2 size = 32px | ||
|name = Half-Life 2 series | |name = Half-Life 2 series | ||
|extlink = https://www.youtube.com/ | |extlink = https://www.youtube.com/watch?v=dQw4w9WgXcQ | ||
}} | }} | ||
Line 61: | Line 62: | ||
|ico size = 16px|ico1 size = 16px|ico2 size = 32px|ico3 size = 32px| | |ico size = 16px|ico1 size = 16px|ico2 size = 32px|ico3 size = 32px| | ||
|name = Half-Life 2 series | |name = Half-Life 2 series | ||
|extlink = https://www.youtube.com/ | |extlink = https://www.youtube.com/watch?v=dQw4w9WgXcQ | ||
}} | }} | ||
---- | |||
Wiki link: | Wiki link: | ||
Line 90: | Line 91: | ||
}} | }} | ||
---- | <!-- ---------------------------------------------------------------------------- --> | ||
<includeonly> | <includeonly> | ||
Line 199: | Line 201: | ||
|name = {{{name}}}|name1 = {{{name1|{{{name}}}}}}|name2 = {{{name2|{{{name}}}}}}|name3 = {{{name3|{{{name}}}}}} | |name = {{{name}}}|name1 = {{{name1|{{{name}}}}}}|name2 = {{{name2|{{{name}}}}}}|name3 = {{{name3|{{{name}}}}}} | ||
}}</span>}} {{#if:{{{extlink|}}} | }}</span>}} {{#if:{{{extlink|}}} | ||
| <span class="plainlinks" title="{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}" style="{{Offsetable|offset={{{offset|0}}}}}color:{{{col|#ADD8E6}}};{{#ifeq:{{FULLPAGENAME}}|{{{link|{{{name}}}}}}|text-decoration:none}}" | | <span class="plainlinks" title="{{{infoname{{{nt|}}}|{{{infoname|{{{name}}}}}}}}}" style="{{Offsetable|offset={{{offset|0}}}}}color:{{{col|#ADD8E6}}};{{#ifeq:{{FULLPAGENAME}}|{{{link|{{{name}}}}}}|text-decoration:none}}">[{{{extlink}}} {{{name{{{nt|}}}|{{{name}}}}}}{{{addtext|}}}]</span> | ||
| [[{{#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> | | [[{{#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> | ||
Line 205: | Line 207: | ||
| ico = {{{ico}}} | | ico = {{{ico}}} | ||
| ico1 = {{{ico1|No icon 1!}}} | |||
| ico2 = {{{ico2|No icon 2!}}} | |||
| ico3 = {{{ico3|No icon 3!}}} | |||
| fullico | nolink | nl | ico.nolink = | | fullico | nolink | nl | ico.nolink = {{Software/ico | ||
|ico = {{{ico}}}|ico size = {{{ico size|}}} | |ico = {{{ico}}}|ico size = {{{ico size|}}} | ||
|ico1 = {{{ico1|}}}|ico1 size = {{{ico1 size|}}} | |ico1 = {{{ico1|}}}|ico1 size = {{{ico1 size|}}} | ||
Line 216: | Line 221: | ||
| name = {{{name{{{nt|}}}|{{{name}}}}}} | | name = {{{name{{{nt|}}}|{{{name}}}}}} | ||
| name1 = {{{name1|No name 1!}}} | |||
| name2 = {{{name2|No name 2!}}} | |||
| name3 = {{{name3|No name 3!}}} | |||
| link = {{{link|{{{extlink|{{{name}}}}}}}}} | | link = {{{link|{{{extlink|{{{name}}}}}}}}} | ||
Line 231: | Line 239: | ||
|link = {{{extlink|{{{link|{{{name}}}}}}}}} | |link = {{{extlink|{{{link|{{{name}}}}}}}}} | ||
|name = {{{name}}}|name1 = {{{name1|{{{name}}}}}}|name2 = {{{name2|{{{name}}}}}}|name3 = {{{name3|{{{name}}}}}} | |name = {{{name}}}|name1 = {{{name1|{{{name}}}}}}|name2 = {{{name2|{{{name}}}}}}|name3 = {{{name3|{{{name}}}}}} | ||
}}</span>}}{{{addtext| | }}</span>}}{{{addtext|}}} }})</span> | ||
}}</onlyinclude> | }}</onlyinclude> | ||
</includeonly> | </includeonly> |
Latest revision as of 03:58, 23 April 2025
New params
{{{name}}} to {{{name3}}}
- If {{{name}}} is set, then every icon will use that name; if the {{{name1}}} is used, the second icon will use that name, and so on.
{{{ico}}} to {{{ico3}}}
- "ico1" to "ico3" are optional, if "ico1" is File:hl2ep1 icon.png, then you can set the size to 32px, if you didn't set it, then it uses {{{ico size}}}.
{{{ico size}}} to {{{ico3 size}}}
- Specify icon size, the File:hl2ep1 icon.png needs 32px, if its on "ico1" then "ico1 size" will be 32px, and so on.
{{{extlink}}}
- External link, e.g https://www.youtube.com/
Code
{{Software | {{{1}}} | ico = | ico1 = | ico2 = | ico3 = | ico size = | ico1 size = | ico2 size = | ico3 size = | (ext)link = | name = | name0 = | name1 = | name2 = | name3 = | name---- = | namemoddir = | col = #23B1E5 | addtext = {{{addtext|}}} | nt = {{{nt|}}} }}
Links
External link:
Wiki link: