Difference between revisions of "Template:Infobox website"
en>Jonesey95 (Change span class=xxx to div to fix Linter div-span-flip error.) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 21:12, 8 January 2019
This template uses Lua: |
Usage
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|{{{logo_alt}}}]] {{{logocaption}}} | |
{{{collapsetext|Screenshot}}}
[[File:{{{screenshot}}}|{{{screenshot_size}}}|alt={{{screenshot_alt}}}|{{{screenshot_alt}}}]] {{{caption}}} | |
Type of site | {{{type}}} |
---|---|
Available in | {{{language}}} |
Owner | {{{owner}}} |
Created by | {{{author}}} |
Editor | {{{editor}}} |
Industry | {{{industry}}} |
Services | {{{services}}} |
Revenue | {{{revenue}}} |
Website | example |
Alexa rank | / / ## (US/Global MM/YYYY) |
Commercial | {{{commercial}}} |
Registration | {{{registration}}} |
Users | {{{num_users}}} |
Launched | font-size:90% |
Current status | {{{current_status}}} |
Content license | {{{content_license}}} |
Written in | {{{programming_language}}} |
IP address | {{{ip}}} |
ISSN | {{{issn}}} (print) {{{eissn}}} (web) |
OCLC number | {{{oclc}}} |
{{{footnotes}}} |
{{Infobox website
| name =
| logo =
| logo_size =
| logo_alt =
| logo_caption = <!-- or: | logocaption = -->
| screenshot =
| collapsible = <!-- set as "on", "y", etc, otherwise omit/leave blank -->
| collapsetext = <!-- collapsible area's heading (default "Screenshot"); omit/leave blank if collapsible not set -->
| background = <!-- for collapsetext heading; default grey (gainsboro) -->
| screenshot_size =
| screenshot_alt =
| caption =
| url = <!-- {{URL|example.com}} -->
| areas =
| offices =
| commercial = <!-- "Yes", "No" or leave blank -->
| type =
| registration =
| language =
| num_users =
| content_license = <!-- or: | content_licence = -->
| programming_language =
| owner = <!-- or: | owners = -->
| author = <!-- or: creator / authors / creators -->
| editor = <!-- or: | editors = -->
| launch_date = <!-- {{Start date and age|df=yes/no|YYYY|MM|DD}} -->
| revenue =
| alexa = <!-- {{IncreaseNegative}} {{Steady}} {{DecreasePositive}} [https://www.alexa.com/siteinfo/example.com example.com Traffic Statistics] -->
| ip =
| 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) -->
| current_status =
| footnotes =
}}
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 |
Company name | company name Novosol | no description | Unknown | optional |
Platform | platform Mobile Video Customer Engagement Platform | no description | Unknown | optional |
Type | Type Digital Advertising Mobile Video Advertising Mobile Advertising Digital Video Advertising | no description | Unknown | optional |
Website | website www.novosol.biz | no description | Unknown | 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)
| Boolean | optional |
Collapsed screenshot header | collapsetext | Text for the header of the collapsed section, defaults to ''Screenshot''. | String | optional |
URL | url | The canonical URL of the website's home page meeting [[WP:ELOFFICIAL]] | String | optional |
Is commercial? | commercial | Is the site commercially run / owned? (Yes / No) | Boolean | optional |
Type | type | The type of website | String | optional |
Registration | registration reg | Is there registration? (None / Optional / Required) | String | optional |
Language | language | The language(s) in which the website is available | Number | 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 |
Num users | num_users | The number of registered users the website has | Number | 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 |
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 |
Editor(s) | editor editors | The person or entity that serves as the website's editor | String | optional |
Launch date | launch_date date_of_launch launch date | When the website was launched; check the Whois database, if needed | Date | optional |
Revenue | revenue rev | The approximate revenue of the site | String | optional |
Alexa | alexa | 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) | Unbalanced wikitext | optional |
IP address(es) | ip | The website's IP address(es); both IPv4 and IPv6, whichever available | 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 |
Current status | current_status current status | The website's current status | String | optional |
Footnotes | footnotes | Footnotes displayed at the bottom of infobox | Unbalanced wikitext | optional |
Example
Wikipedia's logo is a globe featuring glyphs from several writing systems. | |
Type of site | Internet encyclopedia |
---|---|
Available in | 275 active editions (285 total) |
Owner | Wikimedia Foundation |
Created by | |
Website | wikipedia |
Alexa rank | 6 (Global, January 2014) |
Commercial | No |
Registration | Optional, but is required for certain tasks such as editing protected pages, creating pages in English Wikipedia and uploading files |
Users | 35 milliona |
Launched | January 15, 2001 |
Current status | Online |
Content license |
|
IP address | 208.80.154.224 |
{{Infobox website
| name = Wikipedia
| logo = [[File:Wikipedia-v2-logo.svg|frameless|150px|alt=A white sphere made of large jigsaw pieces. Letters from several alphabets are shown on the pieces.]]<br />[[File:Wikipedia wordmark.svg|150px|Wikipedia wordmark]]
| logocaption = {{longitem|style=padding-top:0.4em; |[[Logo of Wikipedia|Wikipedia's logo]] is a globe featuring [[glyph]]s from several writing systems.}}
| screenshot = [[File:Www.wikipedia.org screenshot 2018.png|border|300px|alt=Wikipedia's homepage with links to many languages.]]
| collapsible = yes
| caption = Screenshot of Wikipedia's multilingual portal.
| url = {{URL|wikipedia.org}}
| commercial = No
| type = [[Internet encyclopedia]]
| registration = {{nowrap|Optional, but is required for certain}} tasks such as editing protected pages, creating pages in English Wikipedia and uploading files
| language = 275 active editions (285 total)
| num_users = 35 million{{padlsup|a}}
| content_license =
* {{longitem|class=nowrap |[[Creative Commons licenses|Creative Commons<br />Attribution{{\}}Share-Alike]] 3.0{{padlsup|b}} }}
* Media licensing varies
| owner = [[Wikimedia Foundation]]
| author = {{hlist |[[Jimmy Wales]] |[[Larry Sanger]]<ref name="Sidener">{{cite news |first=Jonathan |last=Sidener |title=Wikipedia co-founder looks to add accountability, end anarchy |url=http://www.signonsandiego.com/uniontrib/20060923/news_lz1n23wiki.html |publisher=[[The San Diego Union-Tribune]] |date=September 23, 2006 |accessdate=2007-03-25 |quote=The origins of Wikipedia date to 2000, when Sanger was finishing his doctoral thesis in philosophy and had an idea for a Web site.}}</ref><!--end hlist:-->}}
| launch date = {{nowrap|{{Start date and years ago|df=no|2001|01|15}}}}
| current_status = Online
| alexa = {{steady}} [https://www.alexa.com/siteinfo/wikipedia.org 6] {{small|{{nowrap|(Global, January 2014)}}}}
| ip = 208.80.154.224
| 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 (June 2012).<ref>[[meta:List of Wikipedias#Grand Total|Grand Total]]. Wikimedia. June 10, 2012. Retrieved June 11, 2012.</ref>}}
* {{sup|b}} Most text also dual-licensed under [[GFDL]].
</div>
}}
References
- ↑ Sidener, Jonathan (September 23, 2006). "Wikipedia co-founder looks to add accountability, end anarchy". The San Diego Union-Tribune. Retrieved 2007-03-25.
The origins of Wikipedia date to 2000, when Sanger was finishing his doctoral thesis in philosophy and had an idea for a Web site.
<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles> - ↑ Grand Total. Wikimedia. June 10, 2012. Retrieved June 11, 2012.
Tracking categories
Invalid, and requires correction
- Category:Pages using infobox website with unknown parameters (0)
- Category:Pages using infobox website with company slogan or slogan (0) – not supported
- Category:Pages using infobox website with country and location country (0) – only one is visible in the infobox output
- Category:Pages using infobox website with website type and type (0) – only one is visible in the infobox output
Technically valid, but requires verification
- Category:Pages using infobox website with location and location city (0) – until recently, only one was visible in the infobox output
- Category:Pages using infobox website with headquarters and location (0) – until recently, headquarters was not visible in the infobox output
- Category:Pages using infobox website with headquarters and location city (0) – until recently, headquarters was not visible in the infobox output
- Category:Pages using infobox website with headquarters and location country (0) – until recently, headquarters was not visible in the infobox output
See also
The above documentation is transcluded from Template:Infobox website/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |