Template:Infobox website: Difference between revisions
i'm reverting to the june/july edition; cfcf, please test your changes in the sandbox |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox |
{{Infobox |
||
| bodyclass = vcard |
|||
| titleclass = fn org |
|||
| title = {{{name|{{{company name|{{{company_name|<includeonly>{{PAGENAME}}</includeonly>}}}}}}}}} |
|||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{company logo|{{{company_logo|{{{logo|}}}}}}}}}|size={{{logo size|{{{logo_size|}}}}}}|sizedefault=frameless|alt={{{logo alt|{{{logo_alt|}}}}}}}} |
|||
| child = {{lc:{{{embed}}}}} |
|||
| image2 = {{#if:{{{collapsible|}}}|{{hidden begin|title={{{collapsetext|Screenshot}}}|titlestyle=text-align:center|contentstyle=text-align:center}}}} |
|||
| decat = yes |
|||
{{#invoke:InfoboxImage|InfoboxImage|image={{{screenshot|}}}|size={{{screenshot size|{{{screenshot_size|}}}}}}|sizedefault=frameless|alt={{{screenshot alt|{{{screenshot_alt|}}}}}}}} |
|||
| caption2 = {{{caption|}}}{{#if:{{{collapsible|}}}|{{hidden end}}}} |
|||
| title = {{#ifeq:{{lc:{{{embed}}}}}|yes|'''Website'''|{{{websitename|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}}} |
|||
| label1 = [[Types of business entity|Type of business]] |
|||
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{websitelogo|{{{logo|}}}}}} |size={{{logo_size|}}} |sizedefault=250px |alt={{{logo_alt|}}} }} |
|||
| class1 = category |
|||
| caption = {{{logocaption|{{{logo_caption|}}}}}} |
|||
| data1 = {{{company type|{{{company_type|}}}}}} |
|||
| label2 = Type of site |
|||
| image2 = {{#if:{{{collapsible|}}} |{{Hidden begin |titlestyle=background:{{{background|gainsboro}}};text-align:center; |title={{{collapsetext|Screenshot}}} |bodystyle=text-align:center;}} }} {{#invoke:InfoboxImage|InfoboxImage |image={{{screenshot|}}} |size={{{screenshot_size|}}} |sizedefault=300px |alt={{{screenshot_alt|}}} }} |
|||
| |
| data2 = {{{website type|{{{website_type|{{{type|{{{Type|}}}}}}}}}}}} |
||
| label3 = Available in |
|||
| labelstyle = padding-right:0.65em;<!--(to ensure some gap between (long/nonwrapped) label and subsequent data on same line)--> |
|||
| data3 = {{#if:{{{language count|}}} |{{{language count}}} languages |{{{language|}}}<!--end #if:-->}}{{{language footnote|}}} |
|||
| data4 = {{#if:{{{language count|}}} |{{#if:{{{language|}}} |{{Begin hidden|titlestyle=background:transparent;|title=List of languages}}{{{language|}}}{{End hidden}} }} }} |
|||
| |
| label5 = [[Ticker symbol|Traded as]] |
||
| |
| data5 = {{{traded as|{{{traded_as|}}}}}} |
||
| |
| label6 = Founded |
||
| data6 = {{{founded|{{{foundation|{{{Founded|{{{Foundation|}}}}}}}}}}}} |
|||
| data2 = {{{slogan|}}} |
|||
| label7 = [[Dissolution (law)|Dissolved]] |
|||
| label3 = Commercial |
|||
| |
| data7 = {{{dissolved|{{{Dissolved|}}}}}} |
||
| label8 = Predecessor(s) |
|||
| label4 = {{longitem|Type of site}} |
|||
| |
| data8 = {{{predecessor|}}} |
||
| |
| label9 = Successor(s) |
||
| |
| data9 = {{{successor|}}} |
||
| |
| label10 = Headquarters |
||
| class10 = adr |
|||
| data6 = {{#if:{{{language count|}}} |{{{language count}}} languages |{{{language|}}}<!--end #if:-->}}{{{language footnote|}}} |
|||
| data10 = {{comma separated entries |
|||
| data7 = {{#if:{{{language count|}}} |{{#if:{{{language|}}} |{{Begin hidden|titlestyle=background:transparent;|title=List of languages}}{{{language|}}}{{End hidden}} }} }} |
|||
| 1= {{#if:{{{location|}}}{{{location city|}}}{{{location_city|}}}|<span class="locality">{{ifempty|{{{location|}}}|{{{location city|}}}|{{{location_city}}}}}</span>}} |
|||
| 2= {{#if:{{{country|}}}{{{location country|}}}{{{location_country|}}}|<span class="country-name">{{ifempty|{{{country|}}}|{{{location country|}}}|{{{location_country}}}}}</span>}} |
|||
}} |
|||
| label11 = Coordinates |
|||
| label8 = [[Registered user|User]]s |
|||
| |
| data11 = {{{coordinates|}}} |
||
| label12 = Country of origin |
|||
| label9 = {{longitem|Content license}} |
|||
| |
| data12 = {{{country of origin|{{{country_of_origin|}}}}}} |
||
| label10 = {{longitem|Content licence}} |
|||
| data10 = {{{content_licence|{{{content licence|}}}}}} |
|||
| |
| label13 = No. of locations |
||
| data13 = {{{locations|}}} |
|||
| data11 = {{{programming language|{{{programming_language|}}}}}} |
|||
| label14 = Area served |
|||
| label12 = Owner{{#if:{{{owners|}}}|s}} |
|||
| |
| data14 = {{{area served|{{{area_served|}}}}}} |
||
| label15 = Owner{{#if:{{{owners|}}}|s}} |
|||
| label13 = Created by |
|||
| |
| data15 = {{{owner|{{{owners|}}}}}} |
||
<!-- Essentially the same, but up to the editor to choose --> |
|||
| label14 = Editor{{#if:{{{editors|}}}|s}} |
|||
| label16 = Created by |
|||
| data14 = {{{editor|{{{editors|}}}}}} |
|||
| data16 = {{{author|{{{creator|{{{authors|{{{creators|}}}}}}}}}}}} |
|||
| label17 = [[Entrepreneurship|Founder(s)]] |
|||
| label15 = Launched |
|||
| data17 = {{{founder|}}} |
|||
| data15 = {{{date_of_launch|{{{launch date|{{{launch_date|}}}}}}}}} |
|||
<!-- --> |
|||
| label18 = Editor{{#if:{{{editors|}}}|s}} |
|||
| label16 = [[Revenue]] |
|||
| |
| data18 = {{{editor|{{{editors|}}}}}} |
||
| label19 = Chairman |
|||
| label17 = {{longitem|[[Alexa Internet|Alexa]] rank}} |
|||
| |
| data19 = {{{chairman|}}} |
||
| label20 = Chairperson |
|||
| label18 = [[IP address|IP address]] |
|||
| |
| data20 = {{{chairperson|}}} |
||
| label21 = President |
|||
| label19 = [[International Standard Serial Number|ISSN]] |
|||
| data21 = {{{president|}}} |
|||
| data19 = {{#if:{{{issn|{{{ISSN|}}}}}}|{{ISSN search link|{{{issn|{{{ISSN}}}}}} }} }} |
|||
| label22 = CEO |
|||
| label20 = [[OCLC]] number |
|||
| data22 = {{{CEO|}}} |
|||
| data20 = {{#if:{{{oclc|}}}|{{OCLC search link|{{{oclc}}} }} }} |
|||
| label23 = [[Chief executive officer|Managing director]] |
|||
| label21 = Current status <!--nowrapped via nbsp as otherwise often the only wrapped label--> |
|||
| |
| data23 = {{{MD|}}} |
||
| label24 = General manager |
|||
| data24 = {{{GM|}}} |
|||
| label25 = Key people |
|||
| data25 = {{{key people|{{{key_people|}}}}}} |
|||
| label26 = Industry |
|||
| class26 = category |
|||
| data26 = {{{industry|}}} |
|||
| label27 = [[Product (business)|Products]] |
|||
| data27 = {{{products|}}} |
|||
| label28 = [[Service (economics)|Services]] |
|||
| data28 = {{{services|}}} |
|||
| label29 = [[Revenue]] |
|||
| data29 = {{{revenue|{{{rev|{{{Rev|{{{Revenue|}}}}}}}}}}}} |
|||
| label30 = [[Earnings before interest and taxes|Operating income]] |
|||
| data30 = {{{operating income|{{{operating_income|}}}}}} |
|||
| label31 = {{#ifeq:{{{international|{{{intl|}}}}}}|yes|[[Net income|Profit]]|[[Net income]]}} |
|||
| data31 = {{{net income|{{{net_income|}}}}}} |
|||
| label32 = [[Asset|Total assets]] |
|||
| data32 = {{{assets|}}} |
|||
| label33 = [[Equity (finance)|Total equity]] |
|||
| data33 = {{{equity|}}} |
|||
| label35 = Employees |
|||
| data35 = {{{employees|{{{num employees|{{{num_employees|}}}}}}}}} |
|||
| label36 = [[Holding company|Parent]] |
|||
| data36 = {{{parent|}}} |
|||
| label37 = [[Division (business)|Divisions]] |
|||
| data37 = {{{divisions|}}} |
|||
| label38 = Subsidiaries |
|||
| data38 = {{{subsidiaries|{{{subsid|}}}}}} |
|||
| label39 = [[Slogan|Slogan(s)]] |
|||
| data39 = {{{Slogan|{{{slogan|{{{company slogan|{{{company_slogan|}}}}}}}}}}}} |
|||
| label40 = Website |
|||
| class40 = url |
|||
| data40 = {{{url|{{{website|{{{homepage|}}}}}}}}} |
|||
| label42 = [[IPv6]] support |
|||
| data42 = {{{ipv6|}}} |
|||
| label43 = [[Alexa Internet|Alexa]] rank |
|||
| data43 = {{{alexa|}}} |
|||
| label45 = [[Online advertising|Advertising]] |
|||
| data45 = {{{advertising|}}} |
|||
| label46 = Registration |
|||
| data46 = {{{registration|}}} |
|||
| label47 = [[Registered user|Users]] |
|||
| data47 = {{{users|{{{num users|{{{num_users|}}}}}}}}} |
|||
| label49 = Launched |
|||
| data49 = {{{launched|{{{launch date|{{{launch_date|}}}}}}}}} |
|||
| label50 = Current status |
|||
| class50 = category |
|||
| data50 = {{{current status|{{{current_status|}}}}}} |
|||
| label51 = [[Computing platform|Native client(s) on]] |
|||
| data51 = {{{native clients|{{{native_clients|}}}}}} |
|||
<!-- Spelled differently; see [[MOS:ENGVAR]] --> |
|||
| label52 = {{longitem|Content license}} |
|||
| data52 = {{{content_license|{{{content license|{{{license|{{{License|}}}}}}}}}}}} |
|||
| label53 = {{longitem|Content licence}} |
|||
| data53 = {{{content_licence|{{{content licence|{{{licence|{{{Licence|}}}}}}}}}}}} |
|||
<!-- --> |
|||
| label54 = Written in |
|||
| data54 = {{{programming language|{{{programming_language|}}}}}} |
|||
| label56 = [[IP address|IP address]] |
|||
| data56 = {{{ip|}}} |
|||
| label58 = [[International Standard Serial Number|ISSN]] |
|||
| data58 = {{#if:{{{issn|{{{ISSN|}}}}}}|{{ISSN link|{{{issn|{{{ISSN}}}}}} }} }} |
|||
| label59 = [[OCLC]] number |
|||
| data59 = {{#if:{{{oclc|}}}|{{OCLC search link|{{{oclc}}} }} }} |
|||
| below = {{{footnotes|}}} |
| below = {{{footnotes|}}} |
||
}}<noinclude>{{ |
}}<noinclude> |
||
{{documentation}} |
|||
</noinclude> |
Revision as of 17:33, 18 September 2016
This template is used on approximately 7,800 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. |
This template uses Lua: |
Usage
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]] | |
{{{collapsetext}}}
[[File:{{{screenshot}}}|{{{screenshot_size}}}|alt={{{screenshot_alt}}}]] | |
Type of business | {{{company_type}}} |
---|---|
Type of site | {{{type}}} |
Available in | {{{language}}} |
Traded as | {{{traded_as}}} |
Founded | {{{founded}}} |
Dissolved | {{{dissolved}}} |
Predecessor(s) | {{{predecessor}}} |
Successor(s) | {{{successor}}} |
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}}} |
Website | example |
IPv6 support | {{{ipv6}}} |
Advertising | {{{advertising}}} |
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}}} |
OCLC number | {{{oclc}}} |
{{{footnotes}}} |
Full version
Please remove any unused parameters when copying to an article page.
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 | |
---|---|---|---|---|
Name | name websitename | Title of the website. Sometimes, it is the same as the domain name.
| String | required |
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 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 |
Formerly | former_name former_names | Former names, if a rebranding had occurred in the past. | Unknown | optional |
Logo | logo websitelogo | 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 |
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 |
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 |
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 caption | caption | A caption for the screenshot. Should contain the date the screenshot was taken.
| 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 |
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 |
Type | type website_type | The type of website
| String | optional |
Types of business entity | company_type | no description | Line | 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 | no description | 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 |
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 |
Author(s) | author creator authors creators | 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 |
Total assets | assets | no description | String | optional |
Total equity | equity | no description | String | optional |
Total employees | employees num_employees | no description | String | optional |
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 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 clients | native_clients | no description | String | optional |
Content license | content_license | The license of the content of the site. Use "Content licence" for British English spelling. | String | optional |
Content licence | content_licence | The license of the content of the site. Use "Content license" for American English spelling. | String | optional |
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 |
Footnotes | footnotes | Footnotes displayed at the bottom of infobox | Unbalanced wikitext | optional |
embed | embed | no description | Unknown | optional |
Company name | company_name | no description | Unknown | optional |
Company logo | company_logo | no description | Unknown | optional |
Upright | image_upright | no description | Number | optional |
background | background | no description | Unknown | optional |
headquarters | headquarters | no description | Unknown | optional |
location | location | no description | Unknown | optional |
location_city | location_city | no description | Unknown | optional |
country | country location_country | no description | Unknown | optional |
international | international intl | no description | Unknown | optional |
launched | launched | no description | Unknown | optional |
license | license licence | no description | Unknown | optional |
Example
Type of site | Online encyclopedia |
---|---|
Available in | 285 languages |
Country of origin | United States |
Owner | Wikimedia Foundation |
Created by | |
Website | wikipedia.org |
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 |
|
References
- ^ 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.
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