Difference between revisions of "Template:Icon/doc"
From Kerbal Space Program Wiki
(Add doc) |
m (→Features: typo) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
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. | 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. | ||
Line 42: | Line 41: | ||
|- | |- | ||
| mh || {{icon|mh}} | | mh || {{icon|mh}} | ||
+ | |- | ||
+ | | bg || {{icon|bg}} | ||
|} | |} | ||
</div> | </div> | ||
Line 49: | Line 50: | ||
<div style="width:250px; float:left; margin-right: 10px;"> | <div style="width:250px; float:left; margin-right: 10px;"> | ||
{|class="wikitable" width=250px | {|class="wikitable" width=250px | ||
− | !colspan=2| | + | !colspan=2| Features |
|- | |- | ||
| kerbal || width=30px | {{icon|kerbal}} | | kerbal || width=30px | {{icon|kerbal}} | ||
|- | |- | ||
− | | mission | + | | mission build, mission builder || {{icon|mission builder}} |
|- | |- | ||
| his pack, history pack || {{icon|history pack}} | | his pack, history pack || {{icon|history pack}} |
Latest revision as of 15:23, 7 March 2020
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.