模板:Infobox OS
| 開發者 | {{#property:p178}} |
|---|---|
| 編程語言 | {{#property:p277}} |
| 當前版本 | |
| 許可證 | |
| 官方網站 | {{URL|example.com|可选的显示文本}}Module:EditAtWikidata第29行Lua錯誤:attempt to index field 'wikibase' (a nil value) |
| 倉庫 |
|
| File:Lua-Logo.svg | 此模板使用Lua語言: |
| Comment | 這個模板使用了維基數據的信息。 參見Wikipedia:維基數據。裏面用戶沒有給出數值的參數將被維基數據的參數代替。編輯相關參數請前往d:。 |
地區詞問題,於條目中用noteTA,而不是修改模板!
本模板是使用於作業系統(OS)條目中的資訊框(信息框)。
使用方式[編輯]
複製以下代碼,貼在條目頁面頂端,並填入其中內容(填入欄位說明如下)
| {{{version_of}}}作業系統的一個版本 | |
| [[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|{{{logo_alt}}}]] {{{logo caption}}} | |
螢幕截圖 [[File:{{{screenshot}}}|{{{screenshot_size}}}|alt={{{screenshot_alt}}}|{{{screenshot_alt}}}]] {{{caption}}} | |
| 開發者 | {{{developer}}} |
|---|---|
| 編程語言 | {{{programmed_in}}} |
| 作業系統家族 | {{{family}}} |
| 運作狀態 | {{{working_state}}} |
| 源碼模式 | {{{source_model}}} |
| 發放給生產商 | {{{RTM_date}}}[1] |
| 正式發售日期 | {{{GA_date}}}[2] |
| 最終版本 | {{{latest release version}}} ({{{latest release date}}}) |
| 最終預覽 | {{{latest preview version}}} ({{{latest preview date}}})[3] |
| 市場取向 | {{{marketing_target}}} |
| 支持的語言 | {{{language}}} |
| 更新方式 | {{{updatemodel}}} |
| 軟件包管理系統 | {{{package_manager}}} |
| 支援平台 | {{{supported_platforms}}} |
| 內核類別 | {{{kernel_type}}} |
| 使用者空間 | {{{userland}}} |
| 施影響於 | {{{influenced}}} |
| 受影響於 | {{{influenced_by}}} |
| 默認用戶界面 | {{{ui}}} |
| 許可證 | {{{license}}} |
| 前一代 | {{{preceded_by}}} |
| 後一代 | {{{succeeded_by}}} |
| 官方網站 | {{{website}}} |
| 倉庫 | {{{repo}}} |
| 支援狀態 | |
| {{{support_status}}} | |
| 有關這系列的條目 | |
| {{{other_articles}}} | |
| bodystyle =
| title =
| name =
| version_of =
| version of =
| logo =
| logo_size =
| logo size =
| logo_alt =
| logo alt =
| logo_caption =
| logo caption =
| collapsible =
| screenshot =
| screenshot_size =
| screenshot_alt =
| caption =
| developer =
| programmed_in =
| programmed in =
| prog_language =
| prog language =
| family =
| working_state =
| working state =
| source_model =
| source model =
| RTM_date =
| RTM date =
| first_release_date =
| first release date =
| GA_date =
| GA date =
| released =
| RTM_url =
| RTM url =
| GA_url =
| GA url =
| latest release =
| repo =
| marketing_target =
| marketing target =
| language =
| human_language =
| human language =
| updatemodel =
| update_model =
| update model =
| package_manager =
| package manager =
| supported_platforms =
| supported platforms =
| kernel_type =
| kernel type =
| userland =
| influenced =
| influenced_by =
| influenced by =
| ui =
| license =
| preceded_by =
| preceded by =
| succeeded_by =
| succeeded by =
| website =
| repo =
| support_status =
| support status =
| other_articles =
| other articles =
| latest release qid =
| hide latest release =
}}
詳細用法[編輯]
<templatedata>
{
"description": "本模板用於作業系統條目。",
"params": {
"title": {
"label": "標題",
"type": "string",
"required": false,
"description": "作業系統名稱,在信息框頂部顯示。如不填寫,則顯示「名稱」參數中的內容或頁面標題。請填寫純文本,不要加入維基連結、超連結或圖像。"
},
"name": {
"label": "名稱",
"type": "string",
"required": true,
"description": "信息框所用名稱。當「標題」參數未指定時亦會顯示在頁面頂部。請填寫純文本,不要加入任何維基語法。",
"default": "PAGENAME"
},
"logo": {
"label": "標誌",
"description": "作業系統標誌。填寫例:File:Microsoft Windows XP Logo.svg",
"type": "wiki-file-name",
"required": false
},
"logo size": {
"label": "標誌大小",
"description": "標誌寬度,以「px」(像素)結尾,默認為250px。填寫例:106px",
"type": "string",
"required": false,
"aliases": [
"logo_size"
]
},
"logo caption": {
"label": "標誌說明",
"description": "標誌說明",
"type": "content",
"required": false,
"aliases": [
"logo_caption"
]
},
"screenshot": {
"label": "截圖",
"description": "作業系統默認配置下的截圖,不應包含任何非標準主題、第三方程序或可用於識別個人身份的信息。填寫例:File:Windows 8 screenshot.png",
"type": "wiki-file-name",
"required": false
},
"screenshot_size": {
"label": "截圖大小",
"description": "截圖寬度,以「px」(像素)結尾,默認為290px。填寫例:200px",
"type": "string",
"required": false
},
"screenshot_alt": {
"label": "截圖替代文本",
"description": "截圖的替代文本,視障人士使用的屏幕閱讀器會讀出這些文本,應寫出截圖在文中的作用。",
"type": "string",
"required": false
},
"caption": {
"label": "說明",
"description": "截圖說明。僅填寫「截圖」等字樣會顯得多餘,因為截圖可能會在模板中「截圖」一欄下顯示。填寫例:Windows 8桌面截圖",
"type": "content",
"required": false
},
"collapsible": {
"label": "可摺疊",
"description": "如果截圖過大,請設置為「yes」以摺疊截圖",
"default": "no",
"type": "line",
"required": false
},
"version of": {
"label": "所屬作業系統",
"description": "所屬作業系統名稱,信息框位於介紹作業系統某一特定版本的條目時填寫。",
"type": "content",
"required": false,
"aliases": [
"version_of"
]
},
"developer": {
"label": "開發者",
"description": "軟件的目前開發者,可以是個人或組織。填寫例:微軟",
"type": "content",
"required": false
},
"family": {
"label": "作業系統家族",
"description": "版本所處的作業系統家族,例如「Microsoft Windows」「類Unix」或「Mac OS」。「Linux」和「Mac OS X」不是作業系統家族",
"type": "string",
"required": false
},
"working state": {
"label": "運作狀態",
"description": "作業系統當前狀態,可填寫「運作中」「停止開發」或「停止支持」",
"type": "line",
"required": false,
"aliases": [
"working_state"
]
},
"source model": {
"label": "源碼模式",
"description": "作業系統的源碼模式,可填寫「開放原始碼」「封閉原始碼」「共享原始碼」或「原始碼可用」。不要使用「自由軟件」「自由開源軟件」或「FOSS」,這些描述更偏向於許可模式,並不一定指用「開放原始碼」模式開發",
"type": "line",
"required": false,
"aliases": [
"source_model"
]
},
"released": {
"label": "首次發佈",
"description": "作業系統首個公開發行版的發行日期,應使用年年表達式錯誤:無法識別標點符號「日」。日。如果填寫了「RTM date」或「GA date」,則本參數的值不會顯示",
"type": "content",
"required": false
},
"RTM date": {
"label": "發放給生產商",
"description": "作業系統發放給生產商(RTM)的日期,應使用年年表達式錯誤:無法識別標點符號「日」。日。填寫後,「初始版本」參數的值將被忽略。注意:本參數僅適用於介紹作業系統某一特定版本的條目",
"type": "content",
"aliases": [
"RTM_date",
"first release date",
"first_release_date"
],
"required": false
},
"GA date": {
"label": "正式發售日期",
"description": "作業系統正式發售的日期,應使用年年表達式錯誤:無法識別標點符號「日」。日。填寫後,「初始版本」參數的值將被忽略。注意:本參數僅適用於介紹作業系統某一特定版本的條目",
"type": "content",
"required": false,
"aliases": [
"GA_date"
]
},
"marketing target": {
"label": "市場取向",
"description": "作業系統的目標受眾市場",
"type": "string",
"required": false,
"aliases": [
"marketing_target"
]
},
"programmed in": {
"label": "編程語言",
"description": "作業系統使用的編程語言。填寫例:C語言",
"type": "content",
"aliases": [
"prog language",
"prog_language",
"programmed_in"
],
"required": false
},
"language": {
"label": "語言",
"description": "作業系統支持的自然語言。避免只填寫語言數量,或是加入語言內鏈",
"type": "string",
"required": false,
"aliases": [
"human language",
"human_language"
]
},
"update model": {
"label": "更新方式",
"description": "用於更新作業系統的工具或方式",
"type": "string",
"required": false,
"aliases": [
"updatemodel",
"update_model"
]
},
"package manager": {
"label": "軟件包管理系統",
"description": "作業系統提供的軟件包管理系統,請加入內鏈",
"type": "content",
"required": false,
"aliases": [
"package_manager"
]
},
"supported platforms": {
"label": "支援平台",
"description": "作業系統支持的硬件平台",
"type": "string",
"required": false,
"aliases": [
"supported_platforms"
]
},
"kernel type": {
"label": "內核類別",
"description": "作業系統內核的類別,包括「宏內核」和「微內核」。注意:Linux發行版應為「宏內核(Linux)」",
"type": "content",
"required": false,
"aliases": [
"kernel_type"
]
},
"userland": {
"label": "使用者空間",
"description": "作業系統的用戶空間類型,可填寫「BSD」「GNU」等",
"type": "content",
"required": false
},
"ui": {
"label": "默認用戶界面",
"description": "作業系統默認情況下進入的用戶界面",
"type": "content",
"required": false
},
"license": {
"label": "許可證",
"description": "作業系統使用的許可證(可加內鏈,如GPLv2)或許可模式(「專有軟件」或「免費軟件」)",
"type": "content",
"required": false
},
"preceded by": {
"label": "前一代",
"description": "對於作業系統條目,應填寫該系統正式取代的作業系統(或作業系統列表);對於特定版本條目,應填寫該作業系統中上一個面向相同受眾的版本",
"type": "content",
"required": false,
"aliases": [
"preceded_by"
]
},
"succeeded by": {
"label": "後一代",
"description": "對於作業系統條目,應填寫正式取代該系統的作業系統(或作業系統列表);對於特定版本條目,應填寫該作業系統中下一個面向相同受眾的版本",
"type": "string",
"required": false,
"aliases": [
"succeeded_by"
]
},
"website": {
"label": "官方網站",
"description": "軟件包的網址。為在打印時擁有更佳效果,可使用{{URL}}模板,如「www{{URL|example.com|可选的显示文本}}模板。如果沒有此參數,infobox將嘗試從Wikidata獲取存儲庫連結。此參數覆蓋Wikidata連結。",
"type": "string",
"required": false
},
"support status": {
"label": "支援狀態",
"description": "作業系統特定版本的支持狀態,僅適用於介紹作業系統某一特定版本的條目",
"type": "string",
"required": false,
"aliases": [
"support_status"
]
},
"other articles": {
"label": "有關這系列的條目",
"description": "與該條目有緊密聯繫條目的列表。對於聯繫不緊密的相關條目,可考慮在文中使用「參見」章節。",
"type": "content",
"required": false,
"aliases": [
"other_articles"
]
},
"language count": {
"label": "語言總數",
"description": "支持的自然語言數量。填寫後,語言列表會被摺疊。",
"type": "number"
},
"language footnote": {
"label": "語言腳註",
"description": "支持語言數量的來源(語言列表可使用不同的來源)。條目有腳註系統時,可使用引用錯誤:缺少 <ref> 標籤的結束標籤 </ref>
| supported platforms = i386(x86), amd64(x86-64), PowerPC, SPARC, DEC Alpha, ARM, MIPS, HPPA, S390, IA-64
| updatemodel = APT (several front-ends available)
| package manager = dpkg
| working state = Current
}}
{{Infobox OS
| name = Debian GNU/Linux
| logo = [[File:Debian-OpenLogo.svg|Debian logo|50px]]
| screenshot = [[File:DebianLenny.png|300px|Screenshot of Debian 5.0 (“Lenny”)]]
| caption = Debian GNU/Linux 5.0 (“Lenny”)
| website = [http://www.debian.org/ www.debian.org]
| developer = Debian Project
| family = [[Unix-like]]
| source model = [[Free and open source software]]
| released = {{Start date|df=yes|1993|08|16}}
| language = 63 languages<ref name="lenny released">{{cite web|url=http://www.debian.org/News/2009/20090214.en.html|title=Debian GNU/Linux 5.0 released|accessdate=2009-02-15|publisher=Debian|date= 2009-02-14}}</ref>
| latest release = 4.0r2 Etch ({{release date|2007|12|27}})
| kernel type = [[Monolithic kernel|Monolithic]] ([[Linux kernel|Linux]], [[FreeBSD]]), [[Microkernel|Micro]] ([[GNU Hurd|Hurd]])
| userland = [[GNU Core Utilities|GNU]]
| ui = [[GNOME]], [[KDE]], [[Xfce]], and [[LXDE]]
| license = [[Free software]], mainly the [[GNU GPL]], and other licenses<ref>{{cite web|url=http://www.debian.org/legal/licenses/|title=License information|publisher=Debian|accessdate=2009-02-28}}</ref>
| supported platforms = [[IA-32|i386(x86)]], [[X86-64|amd64(x86-64)]], [[PowerPC]], [[SPARC]], [[DEC Alpha]], [[ARM architecture|ARM]], [[MIPS architecture|MIPS]], [[PA-RISC family|HPPA]], [[IBM eServer zSeries|S390]], [[IA-64]]
| updatemodel = [[Advanced Packaging Tool|APT]] (several front-ends available)
| package manager = [[dpkg]]
| working state = Current
}}
追蹤模板[編輯]
參見[編輯]
- {{Infobox software}}
- {{Infobox website}}