Template:Icon

From Prison Architect Wiki
Jump to navigation Jump to search

About

Icon template is a template that allows you to add emoji-like icons that can be used in the middle of text, Icon prisoner.png just like that Icon guard.png.

Usage

Template supports 2 values, icon file name and icon size (which is not required):
• Icon image - required, name of the file without its extension. Example: Icon_guard.

Even though all images are supported and can be used as icons, the best are those properly cropped.
Icon error.png PLEASE DON'T USE IMAGES THAT SIMPLY DON'T FIT TO BE AN ICON (screenshots etc.)

• Icon size - not required, in pixels (default is 16px). This can be used for specific icons. Don't use it if you don't have to. Example: 24px.
The values are supposed to be placed in the format presented below:

{{icon|icon_NAME}}
or
{{icon|icon_NAME|icon_size}}

Examples:

Full list of officially supported icons by this template can be seen below. You can copy their code and paste wherever you need.

Icon error.png Please keep in mind that using too many the same icons in one article is not recommended and should not be done as it may make the article hard to read and destroy its look.

ICON CODE
STAFF ICONS
Icon prisoner.png {{icon|Icon_prisoner}}
Icon guard.png {{icon|Icon_guard}}
Icon workman.png {{icon|Workman}}
Icon doctor.png {{icon|Icon_doctor}}
Icon dog.png {{icon|Icon_dog}}
Icon fireman.png {{icon|Icon_fireman}}
Icon gardener.png {{icon|Icon_gardener}}
Icon janitor.png {{icon|Icon_janitor}}
Icon paramedic.png {{icon|Icon_paramedic}}
Icon riot.png {{icon|Icon_riot}}
Icon sniper.png {{icon|Icon_sniper}}
Icon soldier.png {{icon|Icon_soldier}}
Icon cook.png {{icon|Icon_cook}}
Icon armed guard.png {{icon|Icon_armed_guard}}
ICON CODE
MISC ICONS
Icon tunnel.png {{icon|Icon_tunnel}}
Icon ingredients1.png {{icon|Icon_ingredients1}}
Icon error.png {{icon|Icon_error}}
Icon electricity.png {{icon|Icon_electricity}}
Icon water.png {{icon|Icon_water}}
Icon materials.png {{icon|Icon_materials}}
Icon money.png {{icon|Icon_money}}
ICON CODE
SYMBOL ICONS
CheckYes.png {{icon|CheckYes}}
CheckNo.png {{icon|CheckNo}}
GreaterThan.png {{icon|GreaterThan}}
LessThan.png {{icon|LessThan}}
Up.png {{icon|Up}}
Down.png {{icon|Down}}
DLC ICONS
PW DLC.png {{icon|PW DLC||Psych Ward: Warden's Edition}}
CFT DLC.png {{icon|CFT DLC||Cleared for Transfer}}
IB DLC.png {{icon|IB DLC.png||Island Bound}}
BIG DLC ICONS (for infoboxes)
PW DLC.png {{icon|PW DLC|48px|Psych Ward: Warden's Edition}}
CFT DLC.png {{icon|CFT DLC|48px|Cleared for Transfer}}
IB DLC.png {{icon|IB DLC|48px|Island Bound}}

Other

Feel free to add more icons. If you don't know how to do so, you can ask someone else to do it via template discussion page