Line 52: |
Line 52: |
| </syntaxhighlight> | | </syntaxhighlight> |
| {{Clear}} | | {{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)",
| |
− | "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]]",
| |
− | "label": "URL",
| |
− | "type": "string"
| |
− | },
| |
− | "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"
| |
− | },
| |
− | "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"
| |
− | },
| |
− | "num_users": {
| |
− | "description": "The number of registered users the website has",
| |
− | "label": "Num users",
| |
− | "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",
| |
− | "launch date"
| |
− | ],
| |
− | "type": "date"
| |
− | },
| |
− | "revenue": {
| |
− | "description": "The approximate revenue of the site",
| |
− | "label": "Revenue",
| |
− | "aliases": [
| |
− | "rev"
| |
− | ],
| |
− | "type": "string"
| |
− | },
| |
− | "alexa": {
| |
− | "description": "The website's current [[Alexa Internet|Alexa]] ranking (find on [https://www.alexa.com Alexa.com]; make sure to cite Alexa's page for this info)",
| |
− | "label": "Alexa",
| |
− | "type": "unbalanced-wikitext"
| |
− | },
| |
− | "ip": {
| |
− | "description": "The website's IP address(es); both IPv4 and IPv6, whichever available",
| |
− | "label": "IP address(es)",
| |
− | "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",
| |
− | "aliases": [
| |
− | "current status"
| |
− | ],
| |
− | "type": "string"
| |
− | },
| |
− | "footnotes": {
| |
− | "description": "Footnotes displayed at the bottom of infobox",
| |
− | "label": "Footnotes",
| |
− | "type": "unbalanced-wikitext"
| |
− | },
| |
− | "name": {
| |
− | "label": "Name",
| |
− | "description": "Title of the website. Sometimes, it is the same as the domain name.",
| |
− | "example": "Ars Technica",
| |
− | "type": "string",
| |
− | "default": "{{PAGENAMEBASE}}",
| |
− | "required": true,
| |
− | "aliases": [
| |
− | "websitename"
| |
− | ]
| |
− | },
| |
− | "logo_size": {
| |
− | "label": "Logo size",
| |
− | "description": "Size of the logo. See Wikipedia image tutorial to find out about valid size values. The default is 250px.",
| |
− | "type": "string",
| |
− | "default": "250px"
| |
− | },
| |
− | "logo_alt": {
| |
− | "label": "Logo's alternative text",
| |
− | "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.",
| |
− | "type": "string"
| |
− | },
| |
− | "screenshot_size": {
| |
− | "label": "Screenshot's size",
| |
− | "description": "Screenshot size. The default is 300px. Usually, changing the default is unnecessary.",
| |
− | "example": "300px",
| |
− | "type": "string"
| |
− | },
| |
− | "screenshot_alt": {
| |
− | "label": "Screenshot's alternative text",
| |
− | "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.",
| |
− | "type": "string"
| |
− | },
| |
− | "language count": {
| |
− | "label": "Language count",
| |
− | "description": "The number of languages in which the website is available",
| |
− | "type": "number"
| |
− | },
| |
− | "language footnote": {
| |
− | "label": "Language footnote",
| |
− | "description": "The footnote text containing citation for the source that says what languages are available",
| |
− | "type": "unbalanced-wikitext"
| |
− | },
| |
− | "''collapsetext''{{!": {},
| |
− | "company name": {
| |
− | "aliases": [
| |
− | "Novosol"
| |
− | ]
| |
− | },
| |
− | "platform": {
| |
− | "aliases": [
| |
− | "Mobile Video Customer Engagement Platform"
| |
− | ]
| |
− | },
| |
− | "Type": {
| |
− | "aliases": [
| |
− | "Digital Advertising",
| |
− | "Mobile Video Advertising",
| |
− | "Mobile Advertising",
| |
− | "Digital Video Advertising"
| |
− | ]
| |
− | },
| |
− | "website": {
| |
− | "aliases": [
| |
− | "www.novosol.biz"
| |
− | ]
| |
− | }
| |
− | },
| |
− | "format": "block",
| |
− | "paramOrder": [
| |
− | "name",
| |
− | "logo",
| |
− | "company name",
| |
− | "platform",
| |
− | "Type",
| |
− | "website",
| |
− | "logo_size",
| |
− | "logo_caption",
| |
− | "logo_alt",
| |
− | "screenshot",
| |
− | "screenshot_size",
| |
− | "caption",
| |
− | "screenshot_alt",
| |
− | "collapsible",
| |
− | "collapsetext",
| |
− | "url",
| |
− | "commercial",
| |
− | "type",
| |
− | "registration",
| |
− | "language",
| |
− | "language count",
| |
− | "language footnote",
| |
− | "num_users",
| |
− | "content_license",
| |
− | "content_licence",
| |
− | "programming language",
| |
− | "owner",
| |
− | "author",
| |
− | "editor",
| |
− | "launch_date",
| |
− | "revenue",
| |
− | "alexa",
| |
− | "ip",
| |
− | "issn",
| |
− | "eissn",
| |
− | "oclc",
| |
− | "current_status",
| |
− | "footnotes",
| |
− | "''collapsetext''{{!",
| |
− |
| |
− | ]
| |
− | }
| |
− | </templatedata>
| |
| | | |
| == Example == | | == Example == |
− |
| |
| {{Infobox website | | {{Infobox website |
| | name = Wikipedia | | | name = Wikipedia |