跳转到内容

Template:Preferences/doc

来自Elite Dangerous Wiki

__EXPECTED_UNCONNECTED_PAGE__

Usage

This template creates a link to Special:Preferences with an optional link to a particular tab, an optional setting name, and an optional value. There are also options to display an unchecked or checked box with user specified text. The output of this template is formatted to set it off from any other text in the sentence.

Examples

{{Preferences}}

参数设置

{{Preferences|Editing}}

参数设置 → 编辑

{{Preferences|Gadgets|Appearance|check={{int:gadget-edittop}}}}

参数设置 → 小工具 → ⧼gadget-section-appearance⧽ → Tick ⧼gadget-edittop⧽

{{Preferences|Appearance|Diffs|uncheck={{int:tog-diffonly}}}}

参数设置 → 外观 → 差异 → Empty 不在差异下面显示页面内容

{{Preferences|Appearance|Diffs|check=Omit diff after performing a rollback}}

参数设置 → 外观 → 差异 → Tick Omit diff after performing a rollback

Tab names and numbers

Tabs (in order displayed)
Input Output
User profile 参数设置 → 用户资料
Appearance 参数设置 → 外观
Editing 参数设置 → 编辑
Recent changes 参数设置 → 最近更改
Watchlist 参数设置 → 监视列表
Search 参数设置 → 搜索
Gadgets 参数设置 → 小工具
Banners 参数设置 → ⧼prefs-centralnotice-banners⧽
Beta features 参数设置 → 测试功能
Beta
Notifications 参数设置 → 通知

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Preferences in articles based on its TemplateData.

TemplateData for Preferences

无描述。

模板参数

参数描述类型状态
Tab name1

The tab name. The names are not case-sensitive.

推荐值
User profile Appearance Editing Recent changes Watchlist Gadgets Banners Search Beta features Beta Notifications
字符串推荐
Full name of the setting or a section of settings2

Adds an arrow followed by the value

示例值
Disable smaller font sizes of elements such as Infoboxes, Navboxes and References lists
字符串可选
Value of the setting3

Adds an equals sign followed by the parameter value

示例值
Use small icons and minimal text to show review status of pages.
字符串可选
Unchecked box textuncheck

Adds an arrow followed by an unchecked box and the parameter value. Conflicts with |3=

示例值
Do not show page content below diffs
字符串可选
Checked box valuecheck

Adds an arrow followed by a checked box and the parameter text. Conflicts with |3= and |uncheck=

示例值
Omit diff after performing a rollback
字符串可选

See also