Template:Infobox website/doc: Difference between revisions
m Reverted edit by 2404:3100:1454:B28B:3C80:65D:9120:CE34 (talk) to last version by JnpoJuwan |
(No difference)
|
Revision as of 21:03, 25 December 2024
| This template is used on approximately 7,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| Uses Lua: |
Usage
| [[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|upright=1]] {{{logo_caption}}} | |
{{{collapsetext}}}
[[File:{{{screenshot}}}|{{{screenshot_size}}}|alt={{{screenshot_alt}}}]] {{{caption}}} | |
Native name | {{{native_name}}} |
|---|---|
Romanized name | {{{romanized_name}}} |
| Formerly | {{{former_name}}} |
| Type of business | {{{company_type}}} |
Type of site | {{{type}}} |
| Available in | {{{language_count}}} languages{{{language_footnote}}} |
List of languages {{{language}}} | |
| Traded as | {{{traded_as}}} |
| Founded | {{{founded}}} |
| Dissolved | {{{dissolved}}} |
| Predecessor(s) | {{{predecessor}}} |
| Successor(s) | {{{successor}}} |
| Headquarters | {{{headquarters}}}, {{{location_city}}} , {{{location_country}}} |
| 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}}} |
| URL | example |
| 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}}} (print) {{{eissn}}} (web) |
| OCLC number | {{{oclc}}} |
| {{{footnotes}}} | |
Full version
Please remove any unused parameters when copying to an article page.
<syntaxhighlight lang="wikitext" style="overflow: hidden; background: unset;">
</syntaxhighlight>
Parameters
All parameters are optional. Avoid linking to an article more than once within the infobox.
TemplateData for Infobox website
An infobox for articles about company
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Embed | embed | no description | Boolean | optional |
| Name | name websitename company_name | Title of the website. Sometimes, it is the same as the domain name.
| String | required |
| Logo | logo websitelogo company_logo | The website logo | File | optional |
| Logo size | logo_size | Size of the logo. See Wikipedia image tutorial to find out about valid size values. The default is 250px.
| String | optional |
| Image upright (logo) | image_upright | no description | Number | optional |
| Logo's alternative text | logo_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. | String | optional |
| Logo's caption | logo_caption logocaption | Caption for the logo. Most logos need none. But this field can be used to insert mandatory deletion notices. | Unknown | optional |
| Screenshot | screenshot | A screenshot of the homepage | File | optional |
| Screenshot's size | screenshot_size | Screenshot size. The default is 300px. Usually, changing the default is unnecessary.
| String | optional |
| Screenshot's alternative text | screenshot_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. | String | optional |
| Screenshot's caption | caption | A caption for the screenshot. Should contain the date the screenshot was taken.
| String | optional |
| 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]]).
| Boolean | optional |
| Collapsed screenshot header | collapsetext | Text for the header of the collapsed section, defaults to ''Screenshot''. | String | optional |
| Screenshot's background color | background | no description | Unknown | optional |
| Native name | native_name | The full, legal non-English name of the company as it appears in the company's home country language, reproducing any punctuation or abbreviations. For Chinese and Korean names' syntax, see the "Embedding" section below. | String | optional |
| Language code of native name | native_name_lang | Sets the lang attribute for the native name, use two letter ISO 639‑1 codes like 'fr'. | String | optional |
| Romanized name | romanized_name | Native name in Latin script. Use only if the company is based in a non-English speaking country and it has no official rendering of native name in Latin script. If the official rendering of native name in Latin script exists, use the 'native_name' parameter instead and omit this non-Latin names entirely. | String | optional |
| Former name | former_name former_names | Former names, if a rebranding had occurred in the past. | Unknown | optional |
| Types of business entity | company_type | no description | Line | optional |
| Type of site | type website_type | The type of website
| String | optional |
| Language | language | The language(s) in which the website is available | String | optional |
| Language count | language_count | The number of languages in which the website is available | Number | optional |
| Language footnote | language_footnote | The footnote text containing citation for the source that says what languages are available | Unbalanced wikitext | optional |
| Traded as | traded_as | Ticker on stocks market | Line | optional |
| Founded | founded foundation | no description | Date | optional |
| Dissolved | dissolved | no description | Date | optional |
| Predecessor | predecessor | no description | String | optional |
| Successor | successor | no description | String | optional |
| Headquarters location | headquarters location | no description | Unknown | optional |
| Location city | location_city | no description | Unknown | optional |
| Location country | country location_country | no description | Unknown | optional |
| Country of origin | country_of_origin | no description | String | optional |
| No. of locations | locations | no description | Number | optional |
| Area served | area_served | no description | String | optional |
| Owner(s) | owner owners | The current owner(s); should be a company name, persons name, alias, etc. | String | optional |
| Created by | creator creators author authors | The person or entity that writes for the website. | String | optional |
| Founder(s) | founder | no description | String | optional |
| Editor(s) | editor editors | The person or entity that serves as the website's editor | String | optional |
| Chairman | chairman | no description | String | optional |
| Chairperson | chairperson | no description | String | optional |
| President | president | no description | String | optional |
| CEO | CEO | no description | String | optional |
| Managing director | MD | no description | String | optional |
| General manager | GM | no description | String | optional |
| Key people | key_people | no description | String | optional |
| Industry | industry | no description | String | optional |
| Products | products | no description | String | optional |
| Services | services | no description | String | optional |
| Revenue | revenue rev | The approximate revenue of the site | String | optional |
| Operating income | operating_income | no description | String | optional |
| Net income | net_income | no description | String | optional |
| Profit switcher | International intl | If not empty, then "Net income" label is replaced with "Profit" | Boolean | optional |
| Total assets | assets | no description | String | optional |
| Total equity | equity | no description | String | optional |
| Total employees | employees num_employees | no description | String | optional |
| Parent (Holding company) | parent | no description | String | optional |
| Divisions | divisions | no description | String | optional |
| Subsidiaries | subsidiaries subsid | no description | String | optional |
| Website | url 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. | String | optional |
| IPv6 support | ipv6 | no description | String | optional |
| Advertising | advertising | no description | String | optional |
| Is commercial? | commercial | Is the site commercially run / owned? (Yes / No) | Boolean | optional |
| Registration | registration reg | Is there registration? (None / Optional / Required) | String | optional |
| Users | users num_users | The number of registered users the website has | Number | optional |
| Launch date | launch_date launched date_of_launch | When the website was launched; check the Whois database, if needed | Date | optional |
| Current status | current_status | The website's current status | String | optional |
| Native client(s) on | native_clients | no description | String | optional |
| Content license (British English) | content_license license | The license of the content of the site. Use "Content licence" for British English spelling. | String | optional |
| Content licence (American English) | content_licence license | The license of the content of the site. Use "Content license" for American English spelling. | String | optional |
| Written in (Programming language) | programming_language | The programming language(s) by which the website is developed | String | optional |
| ISSN | issn ISSN | The website's ISSN, e.g. 1085-6706 (automatically linked to https://www.WorldCat.org) | String | optional |
| eISSN | eissn eISSN | The website's eISSN, e.g. 1085-6706 (automatically linked to https://www.WorldCat.org) | String | optional |
| OCLC | oclc | The website's OCLC number | String | optional |
| Module | module | no description | Unknown | optional |
| Footnotes | footnotes | Footnotes displayed at the bottom of infobox | Unbalanced wikitext | optional |
Example
Screenshot Main Page of the English Wikipedia on July 19, 2020 | |
| Formerly | Nupedia |
|---|---|
Type of site | Online encyclopedia |
| Available in | 285 languages |
| Country of origin | United States |
| Owner | Wikimedia Foundation |
| Created by | |
| URL | wikipedia.org |
| Commercial | No |
| Registration | Optional but required for certain tasks, such as editing protected pages, creating pages on the English Wikipedia, and uploading files |
| Users | 90.6 milliona |
| Launched | January 15, 2001 |
| Current status | Active |
Content license | CC Attribution / Share-Alike 3.0 Most text is also dual-licensed under GFDL; media licensing varies |
| Written in | LAMP platform |
| OCLC number | 52075003 |
| |
<syntaxhighlight lang="wikitext" style="overflow: hidden; background: unset;">
Screenshot Main Page of the English Wikipedia on July 19, 2020 | |
| Formerly | Nupedia |
|---|---|
Type of site | Online encyclopedia |
| Available in | 285 languages |
| Country of origin | United States |
| Owner | Wikimedia Foundation |
| Created by | |
| URL | wikipedia.org |
| Commercial | No |
| Registration | Optional but required for certain tasks, such as editing protected pages, creating pages on the English Wikipedia, and uploading files |
| Users | 90.6 milliona |
| Launched | January 15, 2001 |
| Current status | Active |
Content license | CC Attribution / Share-Alike 3.0 Most text is also dual-licensed under GFDL; media licensing varies |
| Written in | LAMP platform |
| OCLC number | 52075003 |
| |
</syntaxhighlight>
References
- ↑ 1.0 1.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.
- ↑ Grand Total. Wikimedia. 22 July 2020. Retrieved 22 July 2020.
- ↑ Grand Total. Wikimedia. 22 July 2020. Retrieved 22 July 2020.
Tracking categories
Invalid, and requires correction
- Category:Pages using infobox website with unknown parameters (0)
- Category:Pages using infobox website with redundant parameters (0) – only one is visible in the infobox output
See also