Difference between revisions of "Template:Infobox website/doc"

From blackwiki
Jump to navigation Jump to search
imported>Tbhotch
m (Reverted edits by 2804:D55:5288:C200:AD84:7E05:ED66:E13F (talk) to last version by Goszei)
 
Line 1: Line 1:
documentation subpage
+
{{documentation subpage}}
lua module infobox moduleinfoboxImage module check for clobbered parameters modulecheck for unknown parametersusageparameter names example namelogologosizelogoaltlogocaptionscreenshotscreenshotsizescreenshotaltcollapsiblecollapsetextbackgroundcaptioncompanytypetypelanguagelanguagecountlanguagefootnotetradedasfoundeddissolvedpredecessosuccessorheadquarterslocationcitylocationcountrycountryoriginlocationsareaservedownerauthorfoundereditorchairmanchairpersonpresidentceomdgmindustryproductsservicesrevenueoperatingincomeinternationalnetincomeassetsequitemployeesparentdivisionsubsidiariesurlexamplecomipvadvertisingcommercialregistrationnumuserslaunchdatelongitemnowikistart date and agenowikinowikidfyesnonowikicurrentstatuclientcontentlicenseprogramminglanguageissneissnoclcfootnotes
+
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for clobbered parameters|Module:Check for unknown parameters}}
full versionplease any unused parameters when copying to an articlepagesyntaxhighlightlanghtmlstyleoverflow hiddenbackgroundunset
+
 
infoboxwebsitenamelogologosizelogoaltlogocaptionscreenshotscreenshotsizescreenshotalt  collapsibleset ason yetcotherwise omitleave blank does nothing for mobile userscollapsetext  collapsible areas headingdefault screenshotomitleave blankcollapsible not setbackgroundfor collapsetext heading default greygainsborocaptioncompanytype
+
== Usage ==
type><orwebsitetypelanguage
+
{{Parameter names example
languagecountlanguagefootnotetradedasfounded><orfoundationdissolved predecessorsuccessor headquarters 
+
| name
orlocation locationcity 
+
| logo
locationcountryor
+
| logo_size
country country
+
| logo_alt
originlocations areaserved owner or ownersauthor<or authors creator creatorsfoundereditoror editorschairman chairperson president ceo mdgmpeopleindustryproducts servicesrevenue orrev operatingincomeinternationalorintlnetincomeassetsequityemployeesornumemployeesparentdivisionsubsidiariesorsubsidurlexampleipvadvertisingcommercial or leave blankregistration or regnumusers oruserlaunchdatestart date and agedfcurrentstatusclients  contentlicenseorcontentlicence programminglanguageissnissn e.gautomaticallylinked to http:www.worldcatorgeissneisaneg automatically linked to http:www world catorgoclcoclc numberuseful where an issn has not been allocatedautomaticallylinked to http:www world cat orgfootnotes  syntaxhighlightclear
+
| logo_caption
parameters
+
| screenshot
all parameters are optionalavoid linking to an article more than once within the infobox template data headertemplatedatadescription an infobox for articlescompany paramslogodescriptionthe web site logolabellogoaliaseswebsitelogotypewikifilenamelogocaptiondescription caption for the logo most logos need none but this field can be used to insert mandatory deletion noticeslabellogo's captionaliases logocaptionscreenshotdescription a screen photo the homepage see file english wikipediamainpagerdaugust2007png examplelabelscreenshotexampleenglishWikipediamainpagerdAugust2007pngtypewikifile
+
| screenshot_size
namecollapsibledescriptionwhether the screenshot should be collapsed or visible at page load does nothing for mobile users see phab labelIs screenshot collapsibleexamplestypebooleandefaulcollapsetextdescriptionText for the header the collapsed section defaults to screenshotlabel collapsed screenshot headertypestringcaptiondescription caption for the screenshot should contain the date the screenshot was takenlabelscreenshots captionexamplescreenshotwikipedia on   2014typestringurldescription the canonicalthe website's home page meeting wpelofficial if the website is primarily accessed through its ip address the ip address may be listed insteadlabelwebsitetypestringaliasewebsithomepagecommercial
+
| screenshot_alt
description is the site commercially run ownelabelis commercialtypebooleantypedescriptionthe type websitelabeltypetypestringaliaseswebsitetypeexample digital advertising, mobile video advertisingregistrationdescription is there registration nome optional requiredlabelregistrationaliasesreg
+
| collapsible
typestringlanguagedescriptionthe languagesin which the web site is availableanguagetypenumbercontentlicensdescriptionthe licensethe content the site usecontent licence for British English spellinglabel content licenstypestringcontentlicencdescription the license the content the site usecontent licenseforanerican english spellinlabelcontent licencetypestringprogramminglanguagedescription the programming language by which the website is developedlabelprogramming languagetypestringownerdescription the current owner should be a company name persons name alias etc
+
| collapsetext
labelownersaliasesownerstypestringauthordescriptionthe person or entity that writes for the websitlabeauthoraliasescreatoauthorscreatorstypestringeditordescriptionthe person or entity that serves as the website's editorlabeleditoraliaseseditorstypestringlaunchdatedescriptionwhen the website was launchedcheck thewhois databaseif neededlabellaunch datealiasesdatelaunchtypedaterevenuedescription the approximate revenue the sitelabelrevenuealiaserevtypestringissndescription the websites issn egautomatically linked to httpworld catorglabelaliasetypestringeissndescription the websites eissn egautomatically linked to httpwww.world cat orglabelaliasestypestringoclcdescription the websites c numberlabeloclctypestringcurrent_statusdescriptiothe website's current status",
+
| background
 +
| caption
 +
| company_type
 +
| type
 +
| language
 +
| language_count
 +
| language_footnote
 +
| traded_as
 +
| founded
 +
| dissolved
 +
| predecessor
 +
| successor
 +
| headquarters
 +
| 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
 +
| international
 +
| net_income
 +
| assets
 +
| equity
 +
| employees
 +
| parent
 +
| divisions
 +
| subsidiaries
 +
| url = {{URL|example.com}}
 +
| ipv6
 +
| advertising
 +
| commercial
 +
| registration
 +
| num_users
 +
| launch_date = {{longitem|<nowiki>{{Start date and age</nowiki><br /><nowiki>|df=yes/no|YYYY|MM|DD}}</nowiki>}}
 +
| current_status
 +
| native_clients
 +
| content_license
 +
| programming_language
 +
| issn
 +
| eissn
 +
| oclc
 +
| footnotes
 +
}}
 +
 
 +
=== Full version ===
 +
Please remove any unused parameters when copying to an article page.
 +
 
 +
<syntaxhighlight lang="html" style="overflow: hidden; background: unset;">
 +
{{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 =
 +
}}
 +
</syntaxhighlight>
 +
{{Clear}}
 +
 
 +
==Parameters==
 +
All parameters are optional. Avoid linking to an article more than once within the infobox.
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"description": "An infobox for articles about company",
 +
"params": {
 +
"logo": {
 +
"description": "The website logo",
 +
"label": "Logo",
 +
"aliases": [
 +
"websitelogo"
 +
],
 +
"type": "wiki-file-name"
 +
},
 +
"logo_caption": {
 +
"description": "Caption for the logo. Most logos need none. But this field can be used to insert mandatory deletion notices.",
 +
"label": "Logo's caption",
 +
"aliases": [
 +
"logocaption"
 +
]
 +
},
 +
"screenshot": {
 +
"description": "A screen photo of the homepage; see: [[:File:EnglishWikipediaMainPage3rdAugust2007.PNG|Example 1]].",
 +
"label": "Screenshot",
 +
"example": "EnglishWikipediaMainPage3rdAugust2007.PNG",
 +
"type": "wiki-file-name"
 +
},
 +
"collapsible": {
 +
"description": "Whether the screenshot should be collapsed or visible at page load. (Yes / No). Does nothing for mobile users (see [[phab:T111565]]).",
 +
"label": "Is screenshot collapsible?",
 +
"example": "yes",
 +
"type": "boolean",
 +
"default": "No"
 +
},
 +
"collapsetext": {
 +
"description": "Text for the header of the collapsed section, defaults to ''Screenshot''.",
 +
"label": "Collapsed screenshot header",
 +
"type": "string"
 +
},
 +
"caption": {
 +
"description": "A caption for the screenshot. Should contain the date the screenshot was taken.",
 +
"label": "Screenshot's caption",
 +
"example": "Screenshot of Wikipedia on 11 September 2014.",
 +
"type": "string"
 +
},
 +
"url": {
 +
"description": "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.",
 +
"label": "Website",
 +
"type": "string",
 +
"aliases": [
 +
"website",
 +
"homepage"
 +
]
 +
},
 +
"commercial": {
 +
"description": "Is the site commercially run / owned? (Yes / No)",
 +
"label": "Is commercial?",
 +
"type": "boolean"
 +
},
 +
"type": {
 +
"description": "The type of website",
 +
"label": "Type",
 +
"type": "string",
 +
"aliases": [
 +
"website_type"
 +
],
 +
"example": "Digital advertising, mobile video advertising"
 +
},
 +
"registration": {
 +
"description": "Is there registration? (None / Optional / Required)",
 +
"label": "Registration",
 +
"aliases": [
 +
"reg"
 +
],
 +
"type": "string"
 +
},
 +
"language": {
 +
"description": "The language(s) in which the website is available",
 +
"label": "Language",
 +
"type": "number"
 +
},
 +
"content_license": {
 +
"description": "The license of the content of the site. Use \"Content licence\" for British English spelling.",
 +
"label": "Content license",
 +
"type": "string"
 +
},
 +
"content_licence": {
 +
"description": "The license of the content of the site. Use \"Content license\" for American English spelling.",
 +
"label": "Content licence",
 +
"type": "string"
 +
},
 +
"programming_language": {
 +
"description": "The programming language(s) by which the website is developed",
 +
"label": "Programming language",
 +
"type": "string"
 +
},
 +
"owner": {
 +
"description": "The current owner(s); should be a company name, persons name, alias, etc.",
 +
"label": "Owner(s)",
 +
"aliases": [
 +
"owners"
 +
],
 +
"type": "string"
 +
},
 +
"author": {
 +
"description": "The person or entity that writes for the website.",
 +
"label": "Author(s)",
 +
"aliases": [
 +
"creator",
 +
"authors",
 +
"creators"
 +
],
 +
"type": "string"
 +
},
 +
"editor": {
 +
"description": "The person or entity that serves as the website's editor",
 +
"label": "Editor(s)",
 +
"aliases": [
 +
"editors"
 +
],
 +
"type": "string"
 +
},
 +
"launch_date": {
 +
"description": "When the website was launched; check the Whois database, if needed",
 +
"label": "Launch date",
 +
"aliases": [
 +
"date_of_launch"
 +
],
 +
"type": "date"
 +
},
 +
"revenue": {
 +
"description": "The approximate revenue of the site",
 +
"label": "Revenue",
 +
"aliases": [
 +
"rev"
 +
],
 +
"type": "string"
 +
},
 +
"issn": {
 +
"description": "The website's ISSN, e.g. 1085-6706 (automatically linked to https://www.WorldCat.org)",
 +
"label": "ISSN",
 +
"aliases": [
 +
"ISSN"
 +
],
 +
"type": "string"
 +
},
 +
"eissn": {
 +
"description": "The website's eISSN, e.g. 1085-6706 (automatically linked to https://www.WorldCat.org)",
 +
"label": "eISSN",
 +
"aliases": [
 +
"eISSN"
 +
],
 +
"type": "string"
 +
},
 +
"oclc": {
 +
"description": "The website's OCLC number",
 +
"label": "OCLC",
 +
"type": "string"
 +
},
 +
"current_status": {
 +
"description": "The website's current status",
 
"label": "Current status",
 
"label": "Current status",
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"footnotes": {
 
"footnotes": {
"description": "Footnotes displayed at the bottominfobox",
+
"description": "Footnotes displayed at the bottom of infobox",
 
"label": "Footnotes",
 
"label": "Footnotes",
"type": "unbalanced-wikitex,
+
"type": "unbalanced-wikitext"
"namelabel": "Namedescription ritle the website sometimes, it is the same as the domain name.",
+
},
 +
"name": {
 +
"label": "Name",
 +
"description": "Title of the website. Sometimes, it is the same as the domain name.",
 
"example": "Ars Technica",
 
"example": "Ars Technica",
"type": "stringdefaultpagenamebase}}",
+
"type": "string",
 +
"default": "{{PAGENAMEBASE}}",
 
"required": true,
 
"required": true,
 
"aliases": [
 
"aliases": [
Line 30: Line 330:
 
]
 
]
 
},
 
},
"logosilabel": "Logo size",
+
"logo_size": {
"descriptionSize the logo. See Wikipedia image tutorial to find out about valid size values. The default is 250pxstringdefault250pxlogoaltlabellogo's alternative textdescription 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 peopletype "stringscreenshotsizelabel screenshot's sizedescription screenshot size the default is 300px usually changing the default is unnecessaryexample300pxtypestringscreenshotaltlabelscreenshots alternative textdescription 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 peopltypestrinlanguagecountlabel language countdescription the number languages in which the website is availabltypenumberlanguagefootnotelabellanguage footnotedescription the footnote text containing citation for the source that says what languages are availabletypeunbalancedwikitext
+
"label": "Logo size",
companytypelabelypesbusiness entitytypelinetradedaslabeltraded astypelinefoundedaliasesfoundationlabelfoundedtype
+
"description": "Size of the logo. See Wikipedia image tutorial to find out about valid size values. The default is 250px.",
datdissolvedlabeldissolvedtypedatepredecessorlabelpredecessortypestringsuccessorlabelsuccessortypestringcountryoriginlabelcountryorigintypestringlocationslabelnolocationstypenumberareaservedlabelarea servedtypestringfounderlabelfounderstypestringchairmanlabelchairmantypestringchairpersonlabelchairpersontypestringpresidentlabelpresidenttypestringceolabelceotypestringmdlabelmanaging directortypestringgmlabelgenera managertype stringpeopllabeltypestringindustrylabelindustrytypestringproductslabelproductstype
+
"type": "string",
stringserviceslabe
+
"default": "250px"
servicestypestringoperatingincomelabeloperating incometypestringnetincomelabelnet incometypestrinassetslabeltotal assetstypestringequitylabeltotal equitytypestringemployeesaliasenumemployeeslabeltotal employeestypstringparent
+
},
labelholding companytypestringdivisionlabeldivisionstypestringsubsidiariesaliasessubsidlabelsubsidiariestypestringipvlabelipvsupportypestringadvertisinglabeladvertisingtypestringusersaliases numusersabelusersdescriptionthe numberregistered users the website hastypenumberclientlabelclients
+
"logo_alt": {
typstringblockparamnamelogologosizelogocaptionlogoaltscreenshotscreenshotsizecaptionscreenshotaltcollapsiblecollapsetexttypecompanytype
+
"label": "Logo's alternative text",
language
+
"description": "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.",
languagecount
+
"type": "string"
languagefootnote
+
},
tradedasfoundeddissolpredecessor
+
"screenshot_size": {
successo
+
"label": "Screenshot's size",
countryorigin
+
"description": "Screenshot size. The default is 300px. Usually, changing the default is unnecessary.",
locations
+
"example": "300px",
areaserved
+
"type": "string"
owner
+
},
author
+
"screenshot_alt": {
founde
+
"label": "Screenshot's alternative text",
editorchairman
+
"description": "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.",
chairperso
+
"type": "string"
president
+
},
ceo
+
"language_count": {
md
+
"label": "Language count",
industry
+
"description": "The number of languages in which the website is available",
products
+
"type": "number"
services
+
},
revenue
+
"language_footnote": {
operatingincome
+
"label": "Language footnote",
netincome
+
"description": "The footnote text containing citation for the source that says what languages are available",
assets
+
"type": "unbalanced-wikitext"
equity
+
},
employees
+
"company_type": {
parentdivision
+
"label": "Types of business entity",
subsidiaries
+
"type": "line"
urlipvadvertising
+
},
commercialregistrationserlaunchdate
+
"traded_as": {
currentstatusclientscontentlicense
+
"label": "Traded as",
contentlicence
+
"type": "line"
programminglanguageissneissnoclc
+
},
footnotestemplatedata
+
"founded": {
exampleinfobox websitename  Wikipedialogo filewikipedialogosvgframeless an incomplete sphere made largewhitejigsaw puzzle pieces each puzzle piece contains one glyph from a different writing system with each glyph written in black file:wikipedia wordmarksvg200px the Wikipedia wordmark which displays the name wikipediawritten in all capsrhe bsp wand thenbspaare the same height and both are taller than the other letters which are also all the same heightlogocaption the wikipedia logologowikipediaa globe featuringglyphs from variouswriting systemsscreenshotwikipedia.ain pagepngborderscreenshotaltmain page the english Wikipediacaptionmainpagetheenglish Wikipedia onjulycollapsibleyesurl http:wwwwikipediaorgwikipediaorgcommercial
+
"aliases": [
type online encyclopedia
+
"foundation"
registrationnowrapoptional but required for certain tasks such as editing protected pages creating pages on the englishwikipediaand uploading fileslanguagelanguages numusersnbsp;millionpadlsupacountryorigin united Statesownerwikimedia foundation
+
],
authorUnbulletedlistjimmy WalesLarrysanger
+
"label": "Founded",
ref namesidenercite newsurlhttp:www.signonsandiego.comuniontrib 0041206newsmzbencyclohtmltitle everyonesencycropedialastsidenerfirstjonathanwothesandiego uniontribunedatedecember 2004archiveurlhttpweb.archive.orgwehttp:www.sandiegouniontribune.
+
"type": "date"
comuniontribnewsmzbencycrohtmlarchivedate14 January 2016accessdate=22 July 2020
+
},
launchdatestart date and agemfyes2001115 oclccurrentstatusactive programminglanguagelampsoftware bundlelamoplatform contentlicensenowrap
+
"dissolved": {
creative commons licenses cc attributionsharealikemost text is also doallicensed undergfdlmedia licensing varies
+
"label": "Dissolved",
footnotesdiv classplainliststylebordertoppxsolidaaa;paddingtoemtextalignlef
+
"type": "date"
nowrapsupa
+
},
total registration across all editionsJuly 2020refmeta list  Wikipediasgrand TotalGrand Total Wikimedia 22 July 2020 Retrieved 22 July 2020
+
"predecessor": {
syntaxhighlight lang htmlstyleoverflow hidden backgroundunsetinfobox websitename Wikipedialogo file:Wikipedialogosvgframelessan incomplete sphere madelarge whitejigsaw puzzle pieces each puzzle piece contains one glyph from a different writing system with each glyph written in black brfile wikipedia wordmarksvg200px the Wikipedia wordmark which displays the name Wikipedia written in all capsthenbspwand thenbsp Aare the same height and both are taller than the other letters which are also all the same heightlogocaption the wikipedia logo logo wikipedia a globe featuring glyphs from various writing systems
+
"label": "Predecessor",
screenshotWikipediaain pagepngborderscreenshotalt main pagethe englishwikipedia
+
"type": "string"
captionmain pagethe english Wikipedia on July 19 2020collapsible ye urlURLhttp:www.wikipedia.orgwikipediaorgcommercial notype online encyclopediaregistration owrapoptional but required for certain taskssuch as editing protected pagescreating pages on the english wikipedia and uploading fileslanguage  285 languagesnumusersnbspmillionpadlsupacountryorigin united sratesowner Wikimedia FoundationauthorUnbulleted lisJimmywalesLarry Sangerref name sidenecite newsurlhttp:www.signonsandiego.comuniontribnewsmzencyclohtml title everyones encyclopedia last sidenerfirstjonathanworkthe San Diego UniontribunedateDecember 2004archiveurlhttp:web.archive.org
+
},
webhttp:www.sandiegouniontribune.comuniontribnewsmzbencyclohtmlarchivedate14 January 2016 accessdateJuly 2020launchdate start date and agemfoclccurrentstatus active
+
"successor": {
programminglanguagelampsoftware bundlelamp platform
+
"label": "Successor",
contentlicenseNowra creative com mons licenses cc attribution  share alike 3.0 bmosost text is also duallicensed undergfdlmedia licensing variesfootnotesdiv classplainlist style bordertop px solidpaddingtopem;textalignleftnowrapsupa total registration across all editionsJuly 2020 meta list Wikipediasgrand Total grand total Wikimedia 22 July 2020 Retrieved 22 July 2020
+
"type": "string"
syntaxhighlightreferencereflist cleartracking categories
+
},
invalidand requires correction
+
"country_of_origin": {
clcpages using infobox website with unknown parametersclc pages using infobox website with redundant parameters nbsponly one is visible in the infobox output
+
"label": "Country of origin",
wikipedianotability web wikipedia wiki project Websites
+
"type": "string"
organization infoboxesincludeonlysandbox xategories below this line pleaseinterwikis at Wikidata categorywebsites templates category computing infobox templatesWebsite categoryembeddable templatesCategorytemplates that add a tracking categoryincludeonly
+
},
 +
"locations": {
 +
"label": "No. of locations",
 +
"type": "number"
 +
},
 +
"area_served": {
 +
"label": "Area served",
 +
"type": "string"
 +
},
 +
"founder": {
 +
"label": "Founder(s)",
 +
"type": "string"
 +
},
 +
"chairman": {
 +
"label": "Chairman",
 +
"type": "string"
 +
},
 +
"chairperson": {
 +
"label": "Chairperson ",
 +
"type": "string"
 +
},
 +
"president": {
 +
"label": "President",
 +
"type": "string"
 +
},
 +
"CEO": {
 +
"label": "CEO",
 +
"type": "string"
 +
},
 +
"MD": {
 +
"label": "Managing director",
 +
"type": "string"
 +
},
 +
"GM": {
 +
"label": "General manager",
 +
"type": "string"
 +
},
 +
"key_people": {
 +
"label": "Key people",
 +
"type": "string"
 +
},
 +
"industry": {
 +
"label": "Industry",
 +
"type": "string"
 +
},
 +
"products": {
 +
"label": "Products",
 +
"type": "string"
 +
},
 +
"services": {
 +
"label": "Services",
 +
"type": "string"
 +
},
 +
"operating_income": {
 +
"label": "Operating income",
 +
"type": "string"
 +
},
 +
"net_income": {
 +
"label": "Net income",
 +
"type": "string"
 +
},
 +
"assets": {
 +
"label": "Total assets",
 +
"type": "string"
 +
},
 +
"equity": {
 +
"label": "Total equity",
 +
"type": "string"
 +
},
 +
"employees": {
 +
"aliases": [
 +
"num_employees"
 +
],
 +
"label": "Total employees",
 +
"type": "string"
 +
},
 +
"parent": {
 +
"label": "Holding company",
 +
"type": "string"
 +
},
 +
"divisions": {
 +
"label": "Divisions",
 +
"type": "string"
 +
},
 +
"subsidiaries": {
 +
"aliases": [
 +
"subsid"
 +
],
 +
"label": "Subsidiaries",
 +
"type": "string"
 +
},
 +
"ipv6": {
 +
"label": "IPv6 support",
 +
"type": "string"
 +
},
 +
"advertising": {
 +
"label": "Advertising",
 +
"type": "string"
 +
},
 +
"users": {
 +
"aliases": [
 +
"num_users"
 +
],
 +
"label": "Users",
 +
"description": "The number of registered users the website has",
 +
"type": "number"
 +
},
 +
"native_clients": {
 +
"label": "Native clients",
 +
"type": "string"
 +
}
 +
},
 +
"format": "block",
 +
"paramOrder": [
 +
"name",
 +
"logo",
 +
"logo_size",
 +
"logo_caption",
 +
"logo_alt",
 +
"screenshot",
 +
"screenshot_size",
 +
"caption",
 +
"screenshot_alt",
 +
"collapsible",
 +
"collapsetext",
 +
"type",
 +
"company_type",
 +
"language",
 +
"language_count",
 +
"language_footnote",
 +
"traded_as",
 +
"founded",
 +
"dissolved",
 +
"predecessor",
 +
"successor",
 +
"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",
 +
"content_licence",
 +
"programming_language",
 +
"issn",
 +
"eissn",
 +
"oclc",
 +
"footnotes"
 +
]
 +
}
 +
</templatedata>
 +
 
 +
== Example ==
 +
{{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>
 +
}}
 +
 
 +
<syntaxhighlight lang="html" style="overflow: hidden; background: unset;">
 +
{{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>
 +
}}
 +
</syntaxhighlight>
 +
 
 +
=== References ===
 +
{{Reflist}}
 +
{{Clear}}
 +
 
 +
== Tracking categories ==
 +
Invalid, and requires correction
 +
* {{clc|Pages using infobox website with unknown parameters}}
 +
* {{clc|Pages using infobox website with redundant parameters}}&nbsp;– only one is visible in the infobox output
 +
 
 +
== See also ==
 +
* [[Wikipedia:Notability (web)]]
 +
* [[Wikipedia:WikiProject Websites]]
 +
 
 +
{{Organization infoboxes}}
 +
 
 +
<includeonly>{{Sandbox other|
 +
| <!--Categories below this line, please; interwikis at Wikidata-->
 +
[[Category:Websites templates| ]]
 +
[[Category:Computing infobox templates|Website]]
 +
[[Category:Embeddable templates]]
 +
[[Category:Templates that add a tracking category]]
 +
}}</includeonly>

Latest revision as of 02:36, 11 January 2021

Usage

Template:Parameter names example

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 documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox website

An infobox for articles about company

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename websitename

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

Default
{{PAGENAMEBASE}}
Example
Ars Technica
Stringrequired
Logologo websitelogo

The website logo

Fileoptional
Logo sizelogo_size

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

Default
250px
Stringoptional
Logo's captionlogo_caption logocaption

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

Unknownoptional
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.

Stringoptional
Screenshotscreenshot

A screen photo of the homepage; see: [[:File:EnglishWikipediaMainPage3rdAugust2007.PNG|Example 1]].

Example
EnglishWikipediaMainPage3rdAugust2007.PNG
Fileoptional
Screenshot's sizescreenshot_size

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

Example
300px
Stringoptional
Screenshot's captioncaption

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

Example
Screenshot of Wikipedia on 11 September 2014.
Stringoptional
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.

Stringoptional
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]]).

Default
No
Example
yes
Booleanoptional
Collapsed screenshot headercollapsetext

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

Stringoptional
Typetype website_type

The type of website

Example
Digital advertising, mobile video advertising
Stringoptional
Types of business entitycompany_type

no description

Lineoptional
Languagelanguage

The language(s) in which the website is available

Numberoptional
Language countlanguage_count

The number of languages in which the website is available

Numberoptional
Language footnotelanguage_footnote

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

Unbalanced wikitextoptional
Traded astraded_as

no description

Lineoptional
Foundedfounded foundation

no description

Dateoptional
Dissolveddissolved

no description

Dateoptional
Predecessorpredecessor

no description

Stringoptional
Successorsuccessor

no description

Stringoptional
Country of origincountry_of_origin

no description

Stringoptional
No. of locationslocations

no description

Numberoptional
Area servedarea_served

no description

Stringoptional
Owner(s)owner owners

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

Stringoptional
Author(s)author creator authors creators

The person or entity that writes for the website.

Stringoptional
Founder(s)founder

no description

Stringoptional
Editor(s)editor editors

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

Stringoptional
Chairmanchairman

no description

Stringoptional
Chairperson chairperson

no description

Stringoptional
Presidentpresident

no description

Stringoptional
CEOCEO

no description

Stringoptional
Managing directorMD

no description

Stringoptional
General managerGM

no description

Stringoptional
Key peoplekey_people

no description

Stringoptional
Industryindustry

no description

Stringoptional
Productsproducts

no description

Stringoptional
Servicesservices

no description

Stringoptional
Revenuerevenue rev

The approximate revenue of the site

Stringoptional
Operating incomeoperating_income

no description

Stringoptional
Net incomenet_income

no description

Stringoptional
Total assetsassets

no description

Stringoptional
Total equityequity

no description

Stringoptional
Total employeesemployees num_employees

no description

Stringoptional
Holding companyparent

no description

Stringoptional
Divisionsdivisions

no description

Stringoptional
Subsidiariessubsidiaries subsid

no description

Stringoptional
Websiteurl website homepage

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.

Stringoptional
IPv6 supportipv6

no description

Stringoptional
Advertisingadvertising

no description

Stringoptional
Is commercial?commercial

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

Booleanoptional
Registrationregistration reg

Is there registration? (None / Optional / Required)

Stringoptional
Usersusers num_users

The number of registered users the website has

Numberoptional
Launch datelaunch_date date_of_launch

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

Dateoptional
Current statuscurrent_status

The website's current status

Stringoptional
Native clientsnative_clients

no description

Stringoptional
Content licensecontent_license

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

Stringoptional
Content licencecontent_licence

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

Stringoptional
Programming languageprogramming_language

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

Stringoptional
ISSNissn ISSN

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

Stringoptional
eISSNeissn eISSN

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

Stringoptional
OCLCoclc

The website's OCLC number

Stringoptional
Footnotesfootnotes

Footnotes displayed at the bottom of infobox

Unbalanced wikitextoptional

Example

Script error: No such module "If empty".
Script error: No such module "If empty".
Script error: No such module "If empty".
Screenshot
Main page of the English Wikipedia
Main Page of the English Wikipedia on July 19, 2020
Type of site
Script error: No such module "If empty".
Available in285 languages
FoundedScript error: No such module "If empty".
HeadquartersScript error: No such module "If empty".
Country of originUnited States
OwnerScript error: No such module "If empty".
Created byScript error: No such module "If empty".
EditorScript error: No such module "If empty".
RevenueScript error: No such module "If empty".
EmployeesScript error: No such module "If empty".
SubsidiariesScript error: No such module "If empty".
URLScript error: No such module "If empty".
CommercialNo
RegistrationScript error: No such module "If empty".
UsersScript error: No such module "If empty".
LaunchedScript error: No such module "If empty".
Current statusActive
Content license
Script error: No such module "If empty".
Written inLAMP platform
ISSNScript error: No such module "If empty". Script error: No such module "If empty". (print)Template:Please check ISSN
Script error: No such module "If empty". Script error: No such module "If empty". (web)Template:Please check ISSN
OCLC numberTemplate:OCLC search link
  • a Total registration across all editions (July 2020).[1]
{{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. Grand Total. Wikimedia. 22 July 2020. Retrieved 22 July 2020.
  2. 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.

Tracking categories

Invalid, and requires correction

See also

Template:Organization infoboxes