模板:Infobox website/doc

来自决策链云智库
< 模板:Infobox website
Zeroclanzhang讨论 | 贡献2024年1月18日 (四) 01:13的版本 (创建页面,内容为“{{Documentation subpage}} {{High-use}} {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for clobbered parameters|Module:Check for unknown parameters}} == Usage == {{Parameter names example | name | logo | logo_size | logo_alt | logo_caption | screenshot | screenshot_size | screenshot_alt | collapsible | collapsetext | background | caption | company_type | type | language | language_count | language_footnote | traded_as | founded | dissolved | predecessor…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Usage

{{{name}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|upright=1]]
{{{logo_caption}}}
{{{collapsetext}}}
[[File:{{{screenshot}}}|{{{screenshot_size}}}|alt={{{screenshot_alt}}}]]
{{{caption}}}
Type of business{{{company_type}}}
Type of site
{{{type}}}
Available in{{{language_count}}} languages{{{language_footnote}}}
模板:Begin hidden{{{language}}}模板:End hidden
Traded as{{{traded_as}}}
Founded{{{founded}}}
Dissolved{{{dissolved}}}
Predecessor(s){{{predecessor}}}
Successor(s){{{successor}}}
Headquarters模板:Comma separated entries
Country of origin{{{country_of_origin}}}
No. of locations{{{locations}}}
Area served{{{area_served}}}
Owner{{{owner}}}
Created by{{{author}}}
Founder(s){{{founder}}}
Editor{{{editor}}}
Chairman{{{chairman}}}
Chairperson{{{chairperson}}}
President{{{president}}}
CEO{{{CEO}}}
Managing director{{{MD}}}
General manager{{{GM}}}
Key people{{{key_people}}}
Industry{{{industry}}}
Products{{{products}}}
Services{{{services}}}
Revenue{{{revenue}}}
Operating income{{{operating_income}}}
Net income{{{net_income}}}
Total assets{{{assets}}}
Total equity{{{equity}}}
Employees{{{employees}}}
Parent{{{parent}}}
Divisions{{{divisions}}}
Subsidiaries{{{subsidiaries}}}
URLexample.com
IPv6 support{{{ipv6}}}
Advertising{{{advertising}}}
Commercial{{{commercial}}}
Registration{{{registration}}}
Users{{{num_users}}}
Launched
{{Start date and age
|df=yes/no|YYYY|MM|DD}}
Current status{{{current_status}}}
Native client(s) on{{{native_clients}}}
Content license
{{{content_license}}}
Written in{{{programming_language}}}
ISSN模板:ISSN link
OCLC number模板:OCLC search link
{{{footnotes}}}

Full version

Please remove any unused parameters when copying to an article page.

{{Infobox website
| name = 
| logo = 
| logo_size = 
| logo_alt = 
| logo_caption = 
| screenshot = 
| screenshot_size = 
| screenshot_alt = 
| collapsible = <!-- set as "on", "y", etc, otherwise omit/leave blank. Does nothing for mobile users. -->
| collapsetext = <!-- collapsible area's heading (default "Screenshot"); omit/leave blank if collapsible not set -->
| background = <!-- for collapsetext heading; default grey (gainsboro) -->
| 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|df=yes/no|YYYY|MM|DD}} -->
| current_status = 
| native_clients = 
| content_license = <!-- or: | content_licence = -->
| programming_language = 
| issn = <!-- ISSN, e.g. 1085-6706 (automatically linked to https://www.WorldCat.org) -->
| eissn = <!-- eISSN, e.g. 1085-6706 (automatically linked to https://www.WorldCat.org) -->
| oclc = <!-- OCLC number, useful where an ISSN has not been allocated (automatically linked to https://www.WorldCat.org) -->
| footnotes = 
}}

Parameters

All parameters are optional. Avoid linking to an article more than once within the infobox.

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox website in articles based on its TemplateData.

TemplateData for Infobox website

An infobox for articles about company

模板参数

此模板首选参数换行的代码块格式。

参数描述类型状态
Namenamewebsitename

Title of the website. Sometimes, it is the same as the domain name.

默认值
{{PAGENAMEBASE}}
示例值
Ars Technica
字符串必需
Logologowebsitelogo

The website logo

文件可选
Logo sizelogo_size

Size of the logo. See Wikipedia image tutorial to find out about valid size values. The default is 250px.

默认值
250px
字符串可选
Logo's captionlogo_captionlogocaption

Caption for the logo. Most logos need none. But this field can be used to insert mandatory deletion notices.

未知可选
Logo's alternative textlogo_alt

Alternative text for the logo. Alternative text is displayed when the logo itself cannot be displayed or when a screen reader reads the article for the blind people.

字符串可选
Screenshotscreenshot

A screenshot of the homepage

文件可选
Screenshot's sizescreenshot_size

Screenshot size. The default is 300px. Usually, changing the default is unnecessary.

示例值
300px
字符串可选
Screenshot's captioncaption

A caption for the screenshot. Should contain the date the screenshot was taken.

示例值
Screenshot of Wikipedia on 11 September 2014.
字符串可选
Screenshot's alternative textscreenshot_alt

Alternative text for the screenshot. Alternative text is displayed when the screenshot itself cannot be displayed or when a screen reader reads the article for the blind people.

字符串可选
Is screenshot collapsible?collapsible

Whether the screenshot should be collapsed or visible at page load. (Yes / No). Does nothing for mobile users (see [[phab:T111565]]).

默认值
No
示例值
yes
布尔可选
Collapsed screenshot headercollapsetext

Text for the header of the collapsed section, defaults to ''Screenshot''.

字符串可选
Typetypewebsite_type

The type of website

示例值
Digital advertising, mobile video advertising
字符串可选
Types of business entitycompany_type

无描述

单行文本可选
Languagelanguage

The language(s) in which the website is available

字符串可选
Language countlanguage_count

The number of languages in which the website is available

数字可选
Language footnotelanguage_footnote

The footnote text containing citation for the source that says what languages are available

wikitext片段可选
Traded astraded_as

无描述

单行文本可选
Foundedfoundedfoundation

无描述

日期可选
Dissolveddissolved

无描述

日期可选
Predecessorpredecessor

无描述

字符串可选
Successorsuccessor

无描述

字符串可选
Country of origincountry_of_origin

无描述

字符串可选
No. of locationslocations

无描述

数字可选
Area servedarea_served

无描述

字符串可选
Owner(s)ownerowners

The current owner(s); should be a company name, persons name, alias, etc.

字符串可选
Author(s)authorcreatorauthorscreators

The person or entity that writes for the website.

字符串可选
Founder(s)founder

无描述

字符串可选
Editor(s)editoreditors

The person or entity that serves as the website's editor

字符串可选
Chairmanchairman

无描述

字符串可选
Chairperson chairperson

无描述

字符串可选
Presidentpresident

无描述

字符串可选
CEOCEO

无描述

字符串可选
Managing directorMD

无描述

字符串可选
General managerGM

无描述

字符串可选
Key peoplekey_people

无描述

字符串可选
Industryindustry

无描述

字符串可选
Productsproducts

无描述

字符串可选
Servicesservices

无描述

字符串可选
Revenuerevenuerev

The approximate revenue of the site

字符串可选
Operating incomeoperating_income

无描述

字符串可选
Net incomenet_income

无描述

字符串可选
Total assetsassets

无描述

字符串可选
Total equityequity

无描述

字符串可选
Total employeesemployeesnum_employees

无描述

字符串可选
Holding companyparent

无描述

字符串可选
Divisionsdivisions

无描述

字符串可选
Subsidiariessubsidiariessubsid

无描述

字符串可选
Websiteurlwebsitehomepage

The canonical URL of the website's home page meeting [[WP:ELOFFICIAL]]. If the website is primarily accessed through its IP address, the IP address may be listed instead.

字符串可选
IPv6 supportipv6

无描述

字符串可选
Advertisingadvertising

无描述

字符串可选
Is commercial?commercial

Is the site commercially run / owned? (Yes / No)

布尔可选
Registrationregistrationreg

Is there registration? (None / Optional / Required)

字符串可选
Usersusersnum_users

The number of registered users the website has

数字可选
Launch datelaunch_datedate_of_launch

When the website was launched; check the Whois database, if needed

日期可选
Current statuscurrent_status

The website's current status

字符串可选
Native clientsnative_clients

无描述

字符串可选
Content licensecontent_license

The license of the content of the site. Use "Content licence" for British English spelling.

字符串可选
Content licencecontent_licence

The license of the content of the site. Use "Content license" for American English spelling.

字符串可选
Programming languageprogramming_language

The programming language(s) by which the website is developed

字符串可选
ISSNissnISSN

The website's ISSN, e.g. 1085-6706 (automatically linked to https://www.WorldCat.org)

字符串可选
eISSNeissneISSN

The website's eISSN, e.g. 1085-6706 (automatically linked to https://www.WorldCat.org)

字符串可选
OCLCoclc

The website's OCLC number

字符串可选
Footnotesfootnotes

Footnotes displayed at the bottom of infobox

wikitext片段可选
embedembed

无描述

未知可选
Company namecompany_name

无描述

未知可选
Company logocompany_logo

无描述

未知可选
Uprightimage_upright

无描述

数字可选
backgroundbackground

无描述

未知可选
headquartersheadquarters

无描述

未知可选
locationlocation

无描述

未知可选
location_citylocation_city

无描述

未知可选
countrycountrylocation_country

无描述

未知可选
internationalinternationalintl

无描述

未知可选
launchedlaunched

无描述

未知可选
licenselicenselicence

无描述

未知可选

Example

Wikipedia
An incomplete sphere made of large, white, jigsaw puzzle pieces. Each puzzle piece contains one glyph from a different writing system, with each glyph written in black.
The Wikipedia wordmark which displays the name Wikipedia, written in all caps. The W and the A are the same height and both are taller than the other letters which are also all the same height.
The logo of Wikipedia, a globe featuring glyphs from various writing systems
Screenshot
文件:Wikipedia Main Page.png
Main Page of the English Wikipedia on July 19, 2020
Type of site
Online encyclopedia
Available in285 languages
模板:Begin hidden285 languages模板:End hidden
Headquarters模板:Comma separated entries
Country of originUnited States
OwnerWikimedia Foundation
Created by
URLwikipedia.org
CommercialNo
RegistrationOptional but required for certain tasks, such as editing protected pages, creating pages on the English Wikipedia, and uploading files
Users90.6 million模板:Padlsup
Launched 15, 2001; 23年前 (2001-01-15)
Current statusActive
Content license
CC Attribution / Share-Alike 3.0
Most text is also dual-licensed under GFDL; media licensing varies
Written inLAMP platform
ISSN模板:ISSN link
OCLC number模板:OCLC search link
  • a Total registration across all editions (July 2020).[2]
{{Infobox website
| name = Wikipedia
| logo = [[File:Wikipedia-v2-logo.svg|150px|frameless|An incomplete sphere made of large, white, jigsaw puzzle pieces. Each puzzle piece contains one glyph from a different writing system, with each glyph written in black.]]<br />[[File:Wikipedia wordmark.svg|200px|The Wikipedia wordmark which displays the name Wikipedia, written in all caps. The{{nbsp}}''W'' and the{{nbsp}}''A'' are the same height and both are taller than the other letters which are also all the same height.]]
| logo_caption = The [[Wikipedia logo|logo of Wikipedia]], a globe featuring [[glyph]]s from various [[writing system]]s
| screenshot = Wikipedia Main Page.png{{!}}border
| screenshot_alt = Main page of the English Wikipedia
| caption = [[Main Page]] of the English Wikipedia on July 19, 2020
| collapsible = yes
| url = {{URL|https://www.wikipedia.org/|wikipedia.org}}
| commercial = No
| type = [[Online encyclopedia]]
| registration = {{nowrap|Optional but required for certain}} tasks, such as editing protected pages, creating pages on the English Wikipedia, and uploading files
| language = 285 languages
| num_users = 90.6&nbsp;million{{padlsup|a}}
| country_of_origin = United States
| owner = [[Wikimedia Foundation]]
| author = {{Unbulleted list|[[Jimmy Wales]]|[[Larry Sanger]]<ref name="Sidener">{{Cite news |url=http://www.signonsandiego.com/uniontrib/20041206/news_mz1b6encyclo.html |title=Everyone's Encyclopedia |last=Sidener |first=Jonathan |work=[[The San Diego Union-Tribune]] |date=6 December 2004 |archive-url=https://web.archive.org/web/20160114101809/http://www.sandiegouniontribune.com/uniontrib/20041206/news_mz1b6encyclo.html |archive-date=14 January 2016 |access-date=22 July 2020}}</ref>}}
| launch_date = {{Start date and age|mf=yes|2001|1|15}}
| oclc = 52075003
| current_status = Active
| programming_language = [[LAMP (software bundle)|LAMP]] platform
| content_license = {{Nowrap|[[Creative Commons licenses|CC Attribution / Share-Alike]] 3.0}}<br />Most text is also dual-licensed under [[GFDL]]; media licensing varies
| footnotes = <div class="plainlist" style="border-top:1px solid #aaa;padding-top:0.3em;text-align:left;">
* {{nowrap |{{sup|a}} Total registration across all editions (July 2020).<ref>[[meta:List of Wikipedias#Grand Total|Grand Total]]. Wikimedia. 22 July 2020. Retrieved 22 July 2020.</ref>}}
</div>
}}

References

  1. Sidener, Jonathan (6 December 2004). "Everyone's Encyclopedia". The San Diego Union-Tribune. Archived from the original on 14 January 2016. Retrieved 22 July 2020.
  2. Grand Total. Wikimedia. 22 July 2020. Retrieved 22 July 2020.

Tracking categories

Invalid, and requires correction

See also

模板:Organization infoboxes