模板:Subject/doc

這是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 自治領