Template:图标/doc:修订间差异

(Katty von Keksburg移动页面Template:Icon/docTemplate:图标/doc
→‎用法
第19行: 第19行:


;Example:
;Example:
:<code><nowiki>{{icon|v3}}</nowiki></code> will generate {{icon|v3}}.
:<code><nowiki>{{icon|v3}}</nowiki></code> 生成 {{icon|v3}}.
:<code><nowiki>{{icon|v3|42px}}</nowiki></code> will generate {{icon|v3|42px}}.
:<code><nowiki>{{icon|v3|42px}}</nowiki></code> 生成 {{icon|v3|42px}}.


== 改善模版==
== 改善模版==

2022年12月12日 (一) 14:56的版本

这是Template:图标的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

该模版为维多利亚3百科提供各式各样的图标,使百科更具可读性。点击图标亦可进入对应页面。

一切图标版权归Paradox AB及其子公司所有,维多利亚3百科作为第三方非营利站点合理使用相关图标,未保留授权信息的转载可能被视为侵犯版权。

参数

1
第一个参数决定显示何种图标,此为必填参数。
2
第二参数决定图标尺寸,此为可选参数。默认值为28px、顾问图标为77px、观点与叛军图标为24px、建筑图标为48px。

用法

格式
{{icon|识别符}}{{icon|识别符|尺寸}}

输入识别符显示对应图标,一切可用识别符可在下表中查阅。

Example
{{icon|v3}} 生成 DLC Victoria 3.png.
{{icon|v3|42px}} 生成 DLC Victoria 3.png.

改善模版

该模版为高流量模版,且大幅影响百科显示效果,故已进行保护。若您对该模版有任何意见或建议请在讨论页面提出。

可用图标列表

Common

Expansions
v3, victoria 3, victoria iii DLC Victoria 3.png
v3b DLC Victoria 3b.png
Generic
pdx Paradox Interactive logo.png
time Time.png
yes Yes
no No
unknown Unknown
info Information
Base
authority Hud authority.png
bureaucracy Bureaucracy
influence Hud influence.png
legitimacy Legitimacy.png
literacy Literacy.png
money Hud money.png
Institution
colonial affairs Institution colonization.png
education Institution schools.png
health system Institution health service.png
home affairs Institution home affairs.png
law enforcement Institution police.png
social security Institution social security.png
workplace safety Institution workplace safety.png

Pops

Interest groups
armed forces IG armed forces.png
bourgeoisie IG petty bourgeoisie.png
devout IG devout.png
industrialists IG industrialists.png
intelligentsia IG intelligensia.png
landowners IG landowners.png
rural folk IG rural folk.png
trade unions IG trade unions.png
politically inactive IG politically inactive.png
Politics
endorse Endorse
oppose Oppose
undecided Undecided
loyalist Political loyalist.png
radical Political radical.png
popularity Political popularity.png
Professions
academics Pop academics.png
aristocrats Pop aristocrats.png
bureaucrats Pop bureaucrats.png
capitalists Pop capitalists.png
clergymen Pop clergymen.png
clerks Pop clerks.png
engineers Pop engineers.png
farmers Pop farmers.png
Professions
laborers Pop laborers.png
machinists Pop machinists.png
officers Pop officers.png
peasants Pop peasants.png
servicemen Pop soldiers.png
shopkeepers Pop shopkeepers.png
slaves Pop slaves.png
unemployed Pop unemployed.png
Standard of living
lower strata SOL strata poor.png
middle strata SOL strata middle.png
upper strata SOL strata upper.png

Economy

Good types
industrial goods Market industrial goods.png
luxury goods Market luxury goods.png
military goods Market military goods.png
staple goods Market staple goods.png
Trade goods
aeroplanes Goods aeroplanes.png
ammunition Goods ammunition.png
artillery Goods artillery.png
automobiles Goods automobiles.png
clippers Goods clippers.png
clothes Goods clothes.png
coal Goods coal.png
coffee Goods coffee.png
dye Goods dye.png
Trade goods
electricity Goods electricity.png
engines Goods locomotives.png
explosives Goods explosives.png
fabric Goods fabric.png
fertilizer Goods fertilizer.png
fine art Goods fine art.png
fish Goods fish.png
fruit Goods fruit.png
furniture Goods furniture.png
Trade goods
glass Goods glass.png
gold Goods gold.png
grain Goods grain.png
groceries Goods groceries.png
hardwood Goods hardwood.png
iron Goods iron.png
ironclads Goods ironclads.png
lead Goods lead.png
liquor Goods liquor.png
Trade goods
literature Goods literature.png
luxury clothes Goods luxury clothes.png
luxury furniture Goods luxury furniture.png
man-o-wars Goods man o wars.png
meat Goods meat.png
oil Goods oil.png
opium Goods opium.png
paper Goods paper.png
porcelain Goods porcelain.png
Trade goods
radios Goods radios.png
rubber Goods rubber.png
services Goods services.png
silk Goods silk.png
small arms Goods small arms.png
steamers Goods steamers.png
steel Goods steel.png
sugar Goods sugar.png
sulfur Goods sulfur.png
Trade goods
tanks Goods tanks.png
tea Goods tea.png
tobacco Goods tobacco.png
tools Goods tools.png
transportation Goods transportation.png
wine Goods wine.png
wood Goods wood.png
telephones Goods telephones.png