模板:Infobox website/doc

维基教科书,自由的教学读本

使用[编辑]

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]]
}}

跟踪模板[编辑]

无效,需要更正

技术上有效,但需要验证