模板:Infobox OS/doc

維基百科,自由的百科全書
跳至導覽 跳至搜尋


地區詞問題,於條目中用noteTA,而不是修改模板

本模板是使用於作業系統(OS)條目中的資訊框(信息框)。

使用方式[編輯]

複製以下代碼,貼在條目頁面頂端,並填入其中內容(填入欄位說明如下)

{{{title}}}
{{{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}}}


{{Infobox OS
| 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 =
}}

詳細用法[編輯]

以下是該模板的模板資料,適用於視覺化編輯器等工具。

Infobox OS模板資料

<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": "作業系統首個公開發行版的發行日期,應使用年年表達式錯誤:無法辨識標點符號「日」。,​錯誤:第一個參數不能被解析為日期或時間。​(年-0月-0日。如果填寫了「RTM date」或「GA date」,則本參數的值不會顯示", "type": "content", "required": false }, "RTM date": { "label": "發放給生產商", "description": "作業系統發放給生產商(RTM)的日期,應使用年年表達式錯誤:無法辨識標點符號「日」。,​錯誤:第一個參數不能被解析為日期或時間。​(年-0月-0日。填寫後,「初始版本」參數的值將被忽略。注意:本參數僅適用於介紹作業系統某一特定版本的條目", "type": "content", "aliases": [ "RTM_date", "first release date", "first_release_date" ], "required": false }, "GA date": { "label": "正式發售日期", "description": "作業系統正式發售的日期,應使用年年表達式錯誤:無法辨識標點符號「日」。,​錯誤:第一個參數不能被解析為日期或時間。​(年-0月-0日。填寫後,「初始版本」參數的值將被忽略。注意:本參數僅適用於介紹作業系統某一特定版本的條目", "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.example.com」;應避免使用對列印不友好的格式,如「Example website」。如不填寫,資訊框會嘗試從Wikidata取得網址;如填寫,Wikidata上的連結將被忽略(可在條目中有多個資訊框,而部分資訊框不同於條目主題時使用)。若要強制隱藏本欄位,請填寫特殊值「hide」,Wikidata上的連結將被忽略(可在需隱藏條目中部分資訊框中網址欄位,以避免重複時使用)。", "type": "content", "required": false }, "repo": { "label": "倉庫", "description": "線上原始碼倉庫(如果有的話)。例如,sourceforge或github計畫頁面。和website參數一樣,它應該使用{{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
}}

參考資料

  1. ^ {{{RTM_url}}}
  2. ^ {{{GA_url}}}
  3. ^ {{{preview_url}}}

追蹤模板[編輯]

參見[編輯]