Template:Loyalist/doc

< Template:Loyalist
天津风不是天津的风讨论 | 贡献2025年9月20日 (六) 14:38的版本 (merge from official wiki)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
这是Template:Loyalist的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。
See also: {{Radical}}

Generates a standardized text for effects that create Political loyalist.pngs in events or journal entries.

Usage

The first parameter sets the percentage of loyalists generated. This can be set directly as a number, e.g. 4%, or it can use one of small, medium, large, or very large which correspond to 2%, 5%, 10%, and 20%

Two modifier parameters can add pre and post text to describe which pops are made more radical. type is a "prefix" text, intended primarily for use as strata or profession.

For example, {{loyalist|medium|type={{icon|Aristocrats|3=1}}}} gives: 5%Pop aristocrats.png人群将变为 Political loyalist.png效忠派

where is a "postfix" text, intended primarily for use with interest groups, states or countries. It always adds "in" plus the input text.

For example, {{loyalist|large|where=the {{icon|Armed Forces|3=1}}}} gives: 10% 的 the IG armed forces.png人群将变为 Political loyalist.png效忠派

A final parameter color can be used to change the color of the percentage as with the template {{color}}. This is mainly intended for use with wiki tooltip templates using a brown background to match in-game text colors. Set to color=green for such use.

For example, {{loyalist|small|color=green}} gives: 2% 的 人群将变为 Political loyalist.png效忠派