全站通知:

模板:Icon

来自监狱建筑师WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索

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