Template:Acceptance/doc

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

This template can be used to generate tooltips or icons for acceptance statuses.

Parameters

Parameter Description Required Default
1 acceptance status 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
noicon Disables the icon for the 'class' use optional none
tier Set to tier to use graphic icon instead of number icon for individual statuses number

Usage

List of valid strings Produces
受接纳, accepted, citizen Accepted.png 受接纳Full Acceptance 完全接纳和 Second-class Citizen 二等公民
受歧视, discriminated, non-citizen Discriminated 受歧视Open Prejudice 公开歧视、Cultural Erasure 文化抹除及 Violent Hostility 暴力对抗
Any single acceptance status
  • full acceptance, fully accepted
  • second-class citizen, second-class
  • open prejudice, openly prejudiced
  • cultural erasure, culturally erased
  • violent hostility
These use number icons by default
  • 完全接纳 full acceptance
  • 二等公民 second-class citizen
  • 公开歧视 open prejudice
  • 文化抹除 cultural erasure
  • 暴力对抗 violent hostility

Any capitalization can be input and is output directly for the page text: {{acceptance|SeConD-cLaSs}} gives 二等公民 SeConD-cLaSs