Difference between revisions of "Template:Icon"
From Kerbal Space Program Wiki
m (update) |
m (Add new expansion) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<!-- feature --> | <!-- feature --> | ||
− | | kerbal = [[File: | + | | kerbal = [[File:Announ.png|link=Kerbal|{{{2|28px}}}]] |
| mission build | | mission build | ||
| mission builder = [[File:MissionBuilder.png|link=Mission Builder|{{{2|28px}}}]] | | mission builder = [[File:MissionBuilder.png|link=Mission Builder|{{{2|28px}}}]] | ||
Line 10: | Line 10: | ||
<!-- expansions --> | <!-- expansions --> | ||
| mh = [[File:Expansion-MakingHistory.png|link=Making History|{{{2|28px}}}]] | | mh = [[File:Expansion-MakingHistory.png|link=Making History|{{{2|28px}}}]] | ||
+ | | bg = [[File:Expansion-BreakingGround.png|link=Breaking Ground|{{{2|28px}}}]] | ||
<!-- other --> | <!-- other --> | ||
| yes = [[File:Yes.png|alt=Yes|Yes|{{{2|28px}}}]] | | yes = [[File:Yes.png|alt=Yes|Yes|{{{2|28px}}}]] | ||
| no = [[File:No.png|alt=No|No|{{{2|28px}}}]] | | no = [[File:No.png|alt=No|No|{{{2|28px}}}]] | ||
− | | unknown = [[File:Unknown.png| | + | | unknown = [[File:Unknown.png|Unknown|{{{2|24px}}}]] |
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{1}}}" for [[Template:Icon]])</span>[[Category:Pages with unrecognized icon strings]] | | #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{1}}}" for [[Template:Icon]])</span>[[Category:Pages with unrecognized icon strings]] | ||
}}</includeonly><noinclude>{{template doc}}[[Category:Templates]]</noinclude> | }}</includeonly><noinclude>{{template doc}}[[Category:Templates]]</noinclude> |
Latest revision as of 20:15, 6 May 2019
This template can be used for embedding icons in the KSP wiki, thus making them more colorful, easy to read and standardized. The available icons link to the concept they represent.
Parameters
- 1
- The first parameter is the identifier for the icon. It has no default value and is always required.
- 2
- The second parameter is the width of the icon. It is optional. The default value is normally 28px.
Usage
- Syntax
{{icon|identifier}}}
or{{icon|identifier|width}}
Insert the relevant identifier in the above syntax. The available identifier can be found in the table below.
Improve this template
You shouldn't have to.
List of available icons
Miscellaneous
Expansions
Features
The above documentation is transcluded from Template:Icon/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |