模板:Infobox website/sandbox
| File:Sandbox.svg | 这是Template:Infobox website(差异)的沙盒。 参见本模板的测试样例。 |
本模板已嵌入{{Infobox name module}},可直接在本模板源代码中使用该模板的所有参数,以便列举地区词。
使用[编辑]
| [[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|{{{logo_alt}}}]] {{{logo_caption}}} | |
| [[File:{{{screenshot}}}|{{{screenshot_size}}}|alt={{{screenshot_alt}}}|{{{screenshot_alt}}}]] {{{caption}}} | |
| 公司类型 | {{{company_type}}} |
|---|---|
网站类型 | {{{type}}} |
| 语言 | {{{language_count}}}个语言{{{language_footnote}}} |
语言列表 {{{language}}} | |
| 股票代号 | {{{traded_as}}} |
| 成立 | {{{founded}}} |
| 结束 | {{{dissolved}}} |
| 前身 | {{{predecessor}}} |
| 后继 | {{{successor}}} |
| 总部 | {{{headquarters}}}、 {{{location_city}}} 、{{{location_country}}} |
| 原产地 | {{{country_of_origin}}} |
| 营业据点数 | {{{locations}}} |
| 业务范围 | {{{area_served}}} |
| 持有者 | {{{owner}}} |
| 创始人 | {{{author}}} |
| 编辑 | {{{editor}}} |
| 首席 | {{{chairman}}} |
| 董事长 | {{{chairperson}}} |
| 总裁 | {{{president}}} |
| 首席执行官 | {{{CEO}}} |
| 常务董事 | {{{MD}}} |
| 总经理 | {{{GM}}} |
| 代表人物 | {{{key_people}}} |
| 产业 | {{{industry}}} |
| 产品 | {{{products}}} |
| 服务 | {{{services}}} |
| 营业额 | {{{revenue}}} |
| 息税前利润 | {{{operating_income}}} |
| 净利润 | {{{net_income}}} |
| 总资产 | {{{assets}}} |
| 总股本 | {{{equity}}} |
| 员工 | {{{employees}}} |
| 母公司 | {{{parent}}} |
| 部门 | {{{divisions}}} |
| 子公司 | {{{subsidiaries}}} |
| 网址 | example |
| IPv6支持 | {{{ipv6}}} |
| 广告 | {{{advertising}}} |
| 商业性质 | {{{commercial}}} |
| 注册 | {{{registration}}} |
| 用户 | {{{num_users}}} |
| 推出时间 | {{Start date and age |YYYY|MM|DD}} |
| 现状 | {{{current_status}}} |
| 系统平台 | {{{native_clients}}} |
内容许可 | {{{content_license}}} |
| 编程语言 | {{{programming_language}}} |
| ISSN | {{{issn}}}(印刷) {{{eissn}}}(网页) |
| OCLC号 | {{{oclc}}} |
| {{{footnotes}}} | |
{{Infobox website
| name =
| logo =
| logo_size =
| logo_alt =
| logo_caption =
| screenshot =
| screenshot_size =
| screenshot_alt =
| collapsetext =
| background =
| caption =
| company_type =
| type = <!-- or: | website_type = -->
| language =
| language_count =
| language_footnote =
| traded_as =
| founded = <!-- or: | foundation = -->
| dissolved =
| predecessor =
| successor =
| headquarters = <!-- or: | location = -->
| location_city =
| location_country = <!-- or: | country = -->
| country_of_origin =
| locations =
| area_served =
| owner = <!-- or: | owners = -->
| author = <!-- or: | authors / creator / creators -->
| founder =
| editor = <!-- or: | editors = -->
| chairman =
| chairperson =
| president =
| CEO =
| MD =
| GM =
| key_people =
| industry =
| products =
| services =
| revenue = <!-- or: | rev = -->
| operating_income =
| international = <!-- or: | intl = -->
| net_income =
| assets =
| equity =
| employees = <!-- or: | num_employees = -->
| parent =
| divisions =
| subsidiaries = <!-- or: | subsid = -->
| url = <!-- {{URL|example.com}} -->
| ipv6 =
| advertising =
| commercial = <!-- "Yes", "No" or leave blank -->
| registration = <!-- or: | reg = -->
| num_users = <!-- or: | users = -->
| launch_date = <!-- {{Start date and age|YYYY|MM|DD}} -->
| current_status =
| native_clients =
| content_license = <!-- or: | content_licence = -->
| programming_language =
| issn = <!-- ISSN, e.g. 1085-6706 -->
| eissn = <!-- eISSN, e.g. 1085-6706 -->
| oclc =
| footnotes =
}}
对Infobox name module的支持[编辑]
{{Infobox website
| putonghua = 大陆名称
| taiwan = 台湾名称
| hongkong = 香港名称
| macau = 澳门名称
| singapore = 新加坡名称
| malaysia = 马来西亚名称
}}
老旧参数[编辑]
弃用参数[编辑]
以下参数已被弃用,将会在未来不再支持:
collapsible– 指定截图是否折叠,遇到较长垂直截图的情况下,可以设定为“yes”,不建议在合理使用的网页截图上使用"collapsible"参数,详见Wikipedia:使用非自由内容#8
参数[编辑]
<templatedata> { "description": "网站介绍的资讯框", "format": "block", "params": { "name": { "label": "网站名称", "type": "string", "default": "Infobox website/sandbox", "description": "网站名称", "aliases": [ "websitename", "company_name" ] }, "native_name": { "label": "原语言名称", "type": "string", "description": "原语言名称" }, "native_name_lang": { "label": "原语言名称语言", "description": "原语言名称语言。若有填写native_name,该参数必填。", "example": "en, ja", "type": "string" }, "logo": { "label": "网站标志", "type": "string", "description": "网站标志", "aliases": [ "websitelogo", "company_logo" ] }, "logo_size": { "label": "标志大小", "description": "标志大小", "example": "150px", "type": "string" }, "logo_alt": { "label": "标志替代文字", "description": "标志替代文字。当标志无法显示时,替代文字会显示。", "type": "string" }, "logo_caption": { "label": "标志说明", "description": "标志说明", "type": "string", "aliases": [ "logocaption" ] }, "screenshot": { "label": "网页截图", "type": "string", "description": "网页截图" }, "screenshot_size": { "label": "网页截图大小", "description": "网页截图大小", "example": "200px", "type": "string" }, "screenshot_alt": { "label": "截图替代文字", "description": "截图替代文字。当截图无法显示时,替代文字会显示。", "type": "string" }, "collapsetext": { "label": "标题文字", "type": "string", "default": "截图", "description": "折叠部分的标题文字" }, "background": { "label": "截图背景颜色", "description": "截图背景颜色" }, "caption": { "label": "截图说明", "type": "string", "description": "截图说明" }, "company_type": { "label": "公司类型", "description": "公司类型", "type": "string" }, "type": { "label": "网站类型", "type": "string", "description": "网站类型", "aliases": [ "website_type" ] }, "language": { "label": "语言", "type": "string", "description": "语言" }, "language_count": { "label": "语言数目", "description": "语言数目" }, "language_footnote": { "label": "语言脚注", "description": "语言脚注", "type": "string" }, "traded_as": { "label": "股票代号", "description": "股票代号" }, "founded": { "label": "成立", "description": "成立", "aliases": [ "foundation" ] }, "dissolved": { "label": "结束", "description": "结束", "type": "string" }, "predecessor": { "label": "前身", "description": "前身", "type": "string" }, "successor": { "label": "后继", "description": "后继", "type": "string" }, "location": { "label": "总部地点", "type": "string", "description": "总部地点", "aliases": [ "headquarters" ] }, "location_city": { "label": "总部城市", "description": "总部城市" }, "location_country": { "label": "总部国家", "description": "总部国家", "aliases": [ "country" ] }, "country_of_origin": { "label": "原产地", "description": "原产地", "type": "string" }, "locations": { "label": "营业据点数", "description": "营业据点数" }, "area_served": { "label": "业务范围", "description": "业务范围", "type": "string" }, "owner": { "label": "持有者", "type": "string", "description": "持有者", "aliases": [ "owners" ] }, "author": { "label": "创始人", "type": "string", "description": "网站的创始人,适用于个人所建立的网站", "aliases": [ "creator", "authors", "creators" ] }, "founder": { "label": "创立者", "type": "string", "description": "网站的创办机构或团体,适用于机构或团体所建立的网站" }, "editor": { "label": "编辑", "description": "编辑", "type": "string", "aliases": [ "editors" ] }, "chairman": { "label": "首席", "description": "首席", "type": "string" }, "chairperson": { "label": "董事长", "description": "董事长", "type": "string" }, "president": { "label": "总裁", "description": "总裁" }, "CEO": { "label": "首席执行官", "description": "首席执行官", "type": "string" }, "MD": { "label": "常务董事", "description": "常务董事", "type": "string" }, "GM": { "label": "总经理", "description": "总经理" }, "key_people": { "label": "代表人物", "description": "代表人物" }, "industry": { "label": "产业", "description": "产业" }, "products": { "label": "产品", "description": "产品" }, "services": { "label": "服务", "description": "服务", "type": "string" }, "revenue": { "label": "收入", "type": "string", "description": "收入", "aliases": [ "rev" ] }, "operating_income": { "label": "税前息前利润", "description": "税前息前利润", "type": "string" }, "net_income": { "label": "净利润", "description": "净利润" }, "assets": { "label": "总资产", "description": "总资产" }, "equity": { "label": "总股本", "description": "总股本" }, "employees": { "label": "员工", "description": "员工", "aliases": [ "num_employees" ] }, "parent": { "label": "母公司", "description": "母公司" }, "divisions": { "label": "部门", "description": "部门" }, "subsidiaries": { "label": "子公司", "description": "子公司", "aliases": [ "subsid" ] }, "url": { "label": "网址", "type": "string", "description": "网址,请输入完整语法。如果留空,会从Wikidata填充。", "aliases": [ "website", "homepage" ] }, "ipv6": { "label": "IPv6支持", "description": "是否支持IPv6", "example": "是" }, "advertising": { "label": "广告", "description": "广告" }, "commercial": { "label": "商业性质", "type": "string", "description": "是否为商业性质(请填“是”或“否”)" }, "registration": { "label": "需要注册会员", "type": "string", "description": "是否需要注册会员(请填“是”、“否”或“选择性”)", "aliases": [ "reg" ] }, "users": { "label": "用户", "description": "用户", "aliases": [ "num_users" ] }, "launch_date": { "aliases": [ "date_of_launch", "launched" ], "label": "推出时间", "description": "推出时间", "type": "string", "example": "2000年12月31日" }, "current_status": { "label": "现状", "type": "string", "description": "现状,线上、下线、被收购等" }, "native_clients": { "label": "系统平台", "description": "系统平台" }, "content_license": { "label": "内容许可", "type": "string", "description": "内容的版权资讯", "aliases": [ "content_licence", "licence", "license" ] }, "programming_language": { "label": "编程语言", "description": "编程语言" }, "issn": { "label": "国际标准连续出版物号", "description": "国际标准连续出版物号", "aliases": [ "ISSN" ] }, "eissn": { "label": "电子国际标准连续出版物号", "description": "电子国际标准连续出版物号", "aliases": [ "eISSN" ] }, "oclc": { "label": "OCLC号", "description": "OCLC号" }, "footnotes": { "label": "脚注", "description": "脚注", "type": "string" } }, "paramOrder": [ "name", "native_name", "native_name_lang", "logo", "logo_size", "logo_alt", "logo_caption", "screenshot", "screenshot_size", "screenshot_alt", "collapsetext", "background", "caption", "company_type", "type", "language", "language_count", "language_footnote", "traded_as", "founded", "dissolved", "predecessor", "successor", "location", "location_city", "location_country", "country_of_origin", "locations", "area_served", "owner", "author", "founder", "editor", "chairman", "chairperson", "president", "CEO", "MD", "GM", "key_people", "industry", "products", "services", "revenue", "operating_income", "net_income", "assets", "equity", "employees", "parent", "divisions", "subsidiaries", "url", "ipv6", "advertising", "commercial", "registration", "users", "launch_date", "current_status", "native_clients", "content_license", "programming_language", "issn", "eissn", "oclc", "footnotes" ] } </templatedata>
范例[编辑]
| File:Wikipedia-logo-v2.svg Wikipedia的文字标志 | |
| File:Www.wikipedia screenshot (2021).png 维基百科多语言门户网站的截图。 | |
网站类型 | 网络百科全书 |
|---|---|
| 语言 | 301种语言 |
| 持有者 | 维基媒体基金会 |
| 创始人 | 吉米·威尔士、拉里·桑格[1] |
| 网址 | www.wikipedia.org |
| 注册 | 可选(但在编辑受保护的页面或者上传图片等操作时需要登录账户) |
| 推出时间 | 2001年1月15日 |
| 现状 | 活跃 |
内容许可 |
|
{{Infobox website
| name = 維基百科
| native_name = Wikipedia
| native_name_lang = en
| logo = [[File:Wikipedia-logo-v2.svg|frameless|150px]]<br />[[File:Wikipedia wordmark.svg|200px|Wikipedia的文字標誌]]
| logo_caption = [[维基百科标志]],各种[[文字]]组成的球状符号,大多数为字母[[W]]或Wi的发音。
| screenshot = Www.wikipedia_screenshot_(2021).png
| screenshot_size = 250px
| collapsetext = 截圖
| caption = 維基百科多語言入口網站的截圖。
| url = [https://www.wikipedia.org/ www.wikipedia.org]
| type = [[网络百科全书|網路百科全書]]
| language = 301種語言
| registration = 可選(但在編輯受保護的頁面或者上傳圖片等操作时需要登录账户)
| owner = [[維基媒體基金會]]
| author = [[吉米·威爾斯]]、[[拉里·桑格]]<ref name="Jonathan Sidener">{{Cite web |title=Everyone's Encyclopedia |url=http://www.utsandiego.com/uniontrib/20041206/news_mz1b6encyclo.html |accessdate=2012年8月3日 |author=Jonathan Sidener |date=2004年12月6日 |publisher=《[[聖地牙哥聯合論壇報]]》(U-T San Diego) |language=en |archiveurl=https://web.archive.org/web/20121004092019/http://www.utsandiego.com/uniontrib/20041206/news_mz1b6encyclo.html |archivedate=2012年10月4日 |deadurl=no}}</ref>
| launch_date = {{Start_date_and_age|2001|1|15}}
| current_status = 活跃
| content_license = {{clear}}
* 條目採用[[创作共用|知识共享 署名-相同方式共享 3.0协议]]
** 大多數內容也同時雙向對應[[GNU自由文档许可证|GNU自由文件授權條款]]的內容
* 多媒體部分則依照不同性質而採用各種授權協議
}}
参考文献[编辑]
- ^ Jonathan Sidener. Everyone's Encyclopedia. 《圣地亚哥联合论坛报》(U-T San Diego). 2004年12月6日 [2012年8月3日]. (原始内容存档于2012年10月4日) (English).
跟踪模板[编辑]
- Category:使用未知Infobox website参数的页面(0)
- Category:使用冗余Infobox website参数的页面(0)——模板输出时只显示一个
- Category:在网站信息框没有并用native_name和native_name_lang的页面(0)——如果没有并用,native_name不会显示出来