模板:Infobox website

維基教科書,自由的教學讀本
網站 Template:Official url
文檔圖示 模板文檔[檢視] [編輯] [歷史] [清除快取]

使用[編輯]

Template:Generic template demo

{{Infobox website
| name                 = 
| native_name  = 
| native_name_lang = 
| logo                 = 
| logo_size            =
| logo_alt             = 
| logo_caption         = <!-- or: | logocaption =  -->
| screenshot           = 
| collapsible          = <!-- set as "on", "y", etc, otherwise omit/leave blank -->
| collapsetext         = <!-- collapsible area's heading (default "Screenshot"); omit/leave blank if collapsible not set -->
| background           = <!-- for collapsetext heading; default grey (gainsboro) -->
| screenshot_size      =
| screenshot_alt       = 
| caption              = 
| url                  = <!-- {{URL|www.example.com}} -->
| commercial           = <!-- "Yes", "No" or leave blank -->
| type                 = 
| registration         = 
| language             = 
| num_users            = 
| content_license      = <!-- or: | content_licence = -->
| programming_language = 
| owner                = <!-- or: | owners = -->
| author               = <!-- or: creator / authors / creators -->
| editor               = <!-- or: | editors = -->
| launch_date          = <!-- {{start date and age|YYYY|MM|DD|df=yes/no}} -->
| revenue              = 
| alexa                = <!-- {{increase}} {{steady}} {{decrease}} [http://www.alexa.com/siteinfo/example.com ##] (US/Global MM/YYYY) -->
| ip                   = 
| issn                 = <!-- ISSN, e.g. 1085-6706 (automatically linked to http://www.WorldCat.org) -->
| oclc                 = <!-- OCLC number, useful where an ISSN has not been allocated (automatically linked to http://www.WorldCat.org) -->
| current_status       = 
| footnotes            = 
}}

參數[編輯]

這是用於新版視覺化編輯器及其他工具的模板資料文件。

Infobox website模板資料

網站介紹的信息框

模板參數[編輯模板資料]

參數描述類型狀態
網站名稱name websitename

網站名稱

預設
{{PAGENAME}}
字串選填
網站標誌logo websitelogo

網站標誌

字串選填
標誌說明logocaption

標誌說明

字串選填
是否摺疊collapsible

指定截圖是否摺疊,遇到較長垂直截圖的情況下,可以設定為「yes」

字串選填
標題文字collapsetext

摺疊部分的標題文字

預設
截圖
字串選填
網頁截圖screenshot

網頁截圖

字串選填
截圖說明caption

截圖說明

字串選填
原語言名稱native_name native name

原語言名稱

字串選填
網址url

網址,請輸入完整語法

字串選填
商業性質commercial

是否為商業性質(請填「是」或「否」)

字串選填
網站類型type

網站類型

字串選填
需要註冊會員registration reg

是否需要註冊會員(請填「是」、「否」或「選擇性」)

字串選填
語言language

語言

字串選填
用戶數num_users num users

用戶數

字串選填
內容許可content_license content license

內容的版權資訊

字串選填
持有者owner

持有者

字串選填
創始者author

創始者

字串選填
推出時間date_of_launch date of launch launch_date launch date

推出時間

字串選填
Alexa排名alexa

Alexa排名

字串選填
收入revenue rev

收入

字串選填
現狀current_status current status

現狀,線上、下線、被收購等

字串選填
總部地點location

總部地點

字串選填

範例[編輯]

Template:Infobox Website

{{Infobox Website
| name            = 維基百科
| logo            = [[File:Wikipedia-logo.png|48px|Wikipedia logo.]]
| screenshot      = [[File:Www.wikipedia.org screenshot 2018.png|280px|Detail of Wikipedia's multilingual portal. Here, the project's largest language editions are shown.]]
| url             = {{URL|http://www.wikipedia.org/}}
| commercial      = 否
| type            = [[網路百科全書]]
| registration    = 選擇性
| owner           = [[維基媒體基金會]]
| author          = [[吉米·威爾士]]和[[拉里·桑格]]
| content license = [[GNU自由文件授權條款|GFDL]]
}}

跟蹤模板[編輯]

無效,需要更正

技術上有效,但需要驗證