Template:Subject/doc

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

This template can be used to generate tooltips or icons for subject types.

Parameters

Parameter Description Required Default
1 subject type or 'class' required none
w Width of the icon
  • If preceded by an 'x', sets height instead of width
optional 24px
class Tooltip class; set to 2 or 3 only, for tooltip-in-a-tooltip optional none

Usage

List of valid strings Produces
autonomous, autonomous subject(s) autonomousProtectorate 受保护国、Tributary 朝贡国、Chartered Company 特许公司或 Dominion 自治领
non-autonomous, non-autonoumous subject(s) non-autonomousPersonal Union 共主邦联、Crown Land 王冠领地、Puppet 傀儡国、Colony 殖民领或 Vassal 附庸
unifiable, unifiable subject(s) unifiablePersonal Union 共主邦联、Crown Land 王冠领地、Puppet 傀儡国或 Vassal 附庸
annexable, annexable subject(s) annexableCrown Land 王冠领地、Puppet 傀儡国、Colony 殖民领或 Vassal 附庸
Any single subject type
  • chartered company(-ies)
  • dominion(s)
  • colony(-ies)
  • protectorate(s)
  • personal union(s)
  • puppet(s)
  • tributary(-ies)
  • vassal(s)

Any capitalization can be input and is output directly for the page text: {{subject|AuToNoMoUs}} gives AuToNoMoUsProtectorate 受保护国、Tributary 朝贡国、Chartered Company 特许公司或 Dominion 自治领