Template:Infobox website: Difference between revisions
Chalochatu (talk | contribs) Created page with "{{Infobox | child = {{lc:{{{embed}}}}} | decat = yes | title = {{#ifeq:{{lc:{{{embed}}}}}|yes|'''Website'''|{{{websitename|{{{name|<includeonly>{{PAGENAMEBASE}}</includeon..." |
No edit summary |
||
| Line 14: | Line 14: | ||
| labelstyle = padding-right:0.65em;<!--(to ensure some gap between (long/nonwrapped) label and subsequent data on same line)--> | | labelstyle = padding-right:0.65em;<!--(to ensure some gap between (long/nonwrapped) label and subsequent data on same line)--> | ||
| label1 = | | label1 = Web address | ||
| data1 = {{{url|}}} | | data1 = {{{url|}}} | ||
| label2 = | | label2 = Slogan | ||
| data2 = {{{slogan|}}} | | data2 = {{{slogan|}}} | ||
| Line 33: | Line 33: | ||
| data7 = {{#if:{{{language count|}}} |{{#if:{{{language|}}} |{{Begin hidden|titlestyle=background:transparent;|title=List of languages}}{{{language|}}}{{End hidden}} }} }} | | data7 = {{#if:{{{language count|}}} |{{#if:{{{language|}}} |{{Begin hidden|titlestyle=background:transparent;|title=List of languages}}{{{language|}}}{{End hidden}} }} }} | ||
| label8 = | | label8 = Users | ||
| data8 = {{{num_users|}}} | | data8 = {{{num_users|}}} | ||
| Line 56: | Line 56: | ||
| data15 = {{{date_of_launch|{{{launch date|{{{launch_date|}}}}}}}}} | | data15 = {{{date_of_launch|{{{launch date|{{{launch_date|}}}}}}}}} | ||
| label16 = | | label16 = Revenue | ||
| data16 = {{{rev|{{{revenue|}}}}}} | | data16 = {{{rev|{{{revenue|}}}}}} | ||
| label17 = {{longitem| | | label17 = {{longitem|Alexa rank}} | ||
| data17 = {{{alexa|}}} | | data17 = {{{alexa|}}} | ||
| label18 = | | label18 = IP address | ||
| data18 = {{{ip|}}} | | data18 = {{{ip|}}} | ||
| label19 = | | label19 = ISSN | ||
| data19 = {{#if:{{{issn|{{{ISSN|}}}}}}|{{ISSN search link|{{{issn|{{{ISSN}}}}}} }} }} | | data19 = {{#if:{{{issn|{{{ISSN|}}}}}}|{{ISSN search link|{{{issn|{{{ISSN}}}}}} }} }} | ||
| label20 = | | label20 = OCLC number | ||
| data20 = {{#if:{{{oclc|}}}|{{OCLC search link|{{{oclc}}} }} }} | | data20 = {{#if:{{{oclc|}}}|{{OCLC search link|{{{oclc}}} }} }} | ||
Revision as of 11:20, 7 September 2016
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Lua error in Module:Lua_banner at line 55: attempt to call field 'main' (a nil value).
Usage
| [[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]] {{{logo_caption}}} | |
| Web address | example |
|---|---|
| Commercial | {{{commercial}}} |
Type of site | {{{type}}} |
| Registration | {{{registration}}} |
| Available in | {{{language}}} |
| Users | {{{num_users}}} |
Content license | {{{content_license}}} |
| Written in | {{{programming_language}}} |
| Owner | {{{owner}}} |
| Created by | {{{author}}} |
| Editor | {{{editor}}} |
| Launched | {{Start date and age |df=yes/no|YYYY|MM|DD}} |
| Revenue | {{{revenue}}} |
| ISSN | Template:ISSN search link |
| OCLC number | {{{oclc}}} |
| Current status | {{{current_status}}} |
| {{{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 |
| 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 screen photo of the homepage; see: [[:File:EnglishWikipediaMainPage3rdAugust2007.PNG|Example 1]].
| 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 |
Example
| Web address | wikipedia.org |
|---|---|
| Commercial | No |
Type of site | Online encyclopedia |
| Registration | Optional but required for certain tasks, such as editing protected pages, creating pages on the English Wikipedia, and uploading files |
| Available in | 285 languages |
| Users | 90.6 milliona |
Content license | CC Attribution / Share-Alike 3.0 Most text is also dual-licensed under GFDL; media licensing varies |
| Written in | LAMP platform |
| Owner | Wikimedia Foundation |
| Created by | <templatestyles src="Plainlist/styles.css"></templatestyles> |
| Launched | January 15, 2001 |
| OCLC number | 52075003 |
| Current status | Active |
| |
References
Tracking categories
Invalid, and requires correction
- [[:Category:Script error: No such module "string".|Category:Script error: No such module "string".]] (0)
- [[:Category:Script error: No such module "string".|Category:Script error: No such module "string".]] (0) – only one is visible in the infobox output
See also
- ↑ Jonathan Sidener. "Everyone's Encyclopedia". The San Diego Union-Tribune. 6 December 2004. URL • Archived 14 January 2016. Accessed 22 July 2020.
- ↑ Grand Total. Wikimedia. 22 July 2020. Retrieved 22 July 2020.