Difference between revisions of "Template:Icon"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (update)
m
Line 2: Line 2:
  
 
<!-- feature -->
 
<!-- feature -->
| kerbal = [[File:Kerbal.png|link=Kerbal|{{{2|28px}}}]]
+
| 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}}}]]

Revision as of 01:54, 14 March 2018

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Icon

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.

Example
{{icon|mh}}} will generate Expansion-MakingHistory.png.

Improve this template

You shouldn't have to.

List of available icons

Miscellaneous

Miscellaneous
yes Yes
no No
unknown Unknown

Expansions

Expansions
mh Expansion-MakingHistory.png
bg Expansion-BreakingGround.png

Features

Features
kerbal Announ.png
mission build, mission builder MissionBuilder.png
his pack, history pack HistoryPack.png