Difference between revisions of "Template:Infobox website/doc"
imported>Rezonansowy (→Usage) |
imported>Rezonansowy (Adding TemplateData & formatting.) |
||
| Line 2: | Line 2: | ||
<!-- EDIT TEMPLATE DOCUMENTATION AFTER THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION AFTER THIS LINE --> | ||
| − | + | == Usage == | |
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{Infobox website | {{Infobox website | ||
| Line 32: | Line 32: | ||
}}</pre> | }}</pre> | ||
| − | + | === Parameters === | |
All parameters are optional. Avoid linking to an article more than once within the infobox. | All parameters are optional. Avoid linking to an article more than once within the infobox. | ||
| Line 121: | Line 121: | ||
|} | |} | ||
| − | + | == Example == | |
{{Infobox website | {{Infobox website | ||
| Line 178: | Line 178: | ||
{{Clear}} | {{Clear}} | ||
| − | ===See also | + | == TemplateData == |
| + | <templatedata> | ||
| + | { | ||
| + | "description": "An infobox for articles about website", | ||
| + | "params": { | ||
| + | "logo" : { | ||
| + | "description" : "The website logo.", | ||
| + | "label" : "Logo" | ||
| + | }, | ||
| + | "logocaption" : { | ||
| + | "description" : "Caption for the logo.", | ||
| + | "label" : "Logo Caption" | ||
| + | }, | ||
| + | "screenshot" : { | ||
| + | "description" : "A screen photo of the homepage; see: [[:Image:EnglishWikipediaMainPage3rdAugust2007.PNG|Example 1]].", | ||
| + | "label" : "Screenshot" | ||
| + | }, | ||
| + | "collapsible" : { | ||
| + | "description" : "Whether the screenshot should be collapsed / visible at page load.", | ||
| + | "label" : "Collapsible" | ||
| + | }, | ||
| + | "collapsetext" : { | ||
| + | "description" : "Text for the header of the collapsed section, defaults to ''Screenshot''.", | ||
| + | "label" : "Collapse Text" | ||
| + | }, | ||
| + | "caption" : { | ||
| + | "description" : "Caption saying screenshot of <nowiki><website name></nowiki> as of <nowiki><date></nowiki>.", | ||
| + | "label" : "Caption" | ||
| + | }, | ||
| + | "url" : { | ||
| + | "description" : "The most used [[URL]] of the website.", | ||
| + | "label" : "Url" | ||
| + | }, | ||
| + | "slogan" : { | ||
| + | "description" : "The slogan of the website.", | ||
| + | "label" : "Slogan" | ||
| + | }, | ||
| + | "commercial" : { | ||
| + | "description" : "Is the site commercially run/owned? (yes / no)", | ||
| + | "label" : "Commercial" | ||
| + | }, | ||
| + | "type" : { | ||
| + | "description" : "The type of website.", | ||
| + | "label" : "Type" | ||
| + | }, | ||
| + | "registration" : { | ||
| + | "description" : "Is there registration? (none / optional / required)", | ||
| + | "label" : "Registration" | ||
| + | }, | ||
| + | "language" : { | ||
| + | "description" : "The language(s) the website is available in.", | ||
| + | "label" : "Language" | ||
| + | }, | ||
| + | "num_users" : { | ||
| + | "description" : "The number of registered users the website has.", | ||
| + | "label" : "Num Users" | ||
| + | }, | ||
| + | "content_license" : { | ||
| + | "description" : "The license of the content of the site. Works same as content_licence.", | ||
| + | "label" : "Content License" | ||
| + | }, | ||
| + | "content_licence" : { | ||
| + | "description" : "The license of the content of the site. Works same as content_license.", | ||
| + | "label" : "Content Licence" | ||
| + | }, | ||
| + | "programming language" : { | ||
| + | "description" : "Programming language written or coding done for the website.", | ||
| + | "label" : "Programming Language" | ||
| + | }, | ||
| + | "owner" : { | ||
| + | "description" : "The current owner, company name / persons name / alias, etc.", | ||
| + | "label" : "Owner" | ||
| + | }, | ||
| + | "author" : { | ||
| + | "description" : "The person or entity that writes for the website.", | ||
| + | "label" : "Author" | ||
| + | }, | ||
| + | "editor" : { | ||
| + | "description" : "The person or entity that edits the website.", | ||
| + | "label" : "Editor" | ||
| + | }, | ||
| + | "launch_date" : { | ||
| + | "description" : "When the website was launched, check the [[Whois|WHOIS]] database, if needed.", | ||
| + | "label" : "Launch Date" | ||
| + | }, | ||
| + | "revenue" : { | ||
| + | "description" : "The approximate revenue of the site.", | ||
| + | "label" : "Revenue" | ||
| + | }, | ||
| + | "alexa" : { | ||
| + | "description" : "The website's current [[Alexa Internet|Alexa]] ranking (find on [http://www.alexa.com Alexa.com]; make sure to cite Alexa's page for this info.)", | ||
| + | "label" : "Alexa" | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
| + | |||
| + | == See also == | ||
* [[Wikipedia:Notability (web)]] | * [[Wikipedia:Notability (web)]] | ||
* [[Wikipedia:WikiProject Websites]] | * [[Wikipedia:WikiProject Websites]] | ||
| − | + | == References == | |
| − | {{ | + | {{reflist}} |
{{Organization infoboxes}} | {{Organization infoboxes}} | ||
<includeonly> | <includeonly> | ||
| − | |||
<!-- ADD CATEGORIES AFTER THIS LINE --> | <!-- ADD CATEGORIES AFTER THIS LINE --> | ||
[[Category:Computing infobox templates|Website]] | [[Category:Computing infobox templates|Website]] | ||
| Line 194: | Line 290: | ||
<!-- ADD INTERWIKIS LINKS AFTER THIS LINE --> | <!-- ADD INTERWIKIS LINKS AFTER THIS LINE --> | ||
| − | |||
</includeonly> | </includeonly> | ||
Revision as of 20:54, 6 August 2013
| This is a documentation subpage for Template:Infobox website. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{Infobox website
| name =
| logo =
| logocaption =
| screenshot =
| collapsible =
| collapsetext =
| caption =
| url = <!-- {{URL|www.example.com}} -->
| slogan =
| commercial =
| type =
| registration =
| language =
| num_users =
| content_license =
| programming language =
| owner =
| author =
| editor =
| launch_date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| revenue =
| alexa =
| ip =
| current_status =
| footnotes =
}}
Parameters
All parameters are optional. Avoid linking to an article more than once within the infobox.
| Parameter | Explanation |
|---|---|
name
|
The website's most recognizable name. |
logo
|
The website logo. |
logocaption
|
Caption for the logo. |
screenshot
|
A screen photo of the homepage; see: Example 1. |
collapsible
|
Whether the screenshot should be collapsed / visible at page load. |
collapsetext
|
Text for the header of the collapsed section, defaults to "Screenshot". |
caption
|
Caption saying screenshot of <website name> as of <date>. |
url
|
The most used URL of the website. |
slogan
|
The slogan of the website. |
commercial
|
Is the site commercially run/owned? (yes / no) |
type
|
The type of website. |
registration
|
Is there registration? (none / optional / required) |
language
|
The language(s) the website is available in. |
num_users
|
The number of registered users the website has. |
content_license or content_licence
|
The license of the content of the site. |
programming language
|
Programming language written or coding done for the website. |
owner
|
The current owner, company name / persons name / alias, etc. |
author
|
The person or entity that writes for the website. |
editor
|
The person or entity that edits the website. |
launch_date
|
When the website was launched, check the WHOIS database, if needed. |
revenue
|
The approximate revenue of the site. |
alexa
|
The website's current Alexa ranking (find on Alexa.com; make sure to cite Alexa's page for this info.)
|
ip
|
Related IP address. |
current_status
|
Is the site online / offline / sold? Used for major transitions only, not for short term outages or other temporary situations. |
footnotes
|
Related footnotes. |
Example
| Script error: No such module "If empty". Script error: No such module "If empty". | |
Type of site | Script error: No such module "If empty". |
|---|---|
| Available in | 275 active editions (285 in total) |
| Founded | Script error: No such module "If empty". |
| Headquarters | Script error: No such module "If empty". |
| Owner | Script error: No such module "If empty". |
| Created by | Script error: No such module "If empty". |
| Editor | Script error: No such module "If empty". |
| Revenue | Script error: No such module "If empty". |
| Employees | Script error: No such module "If empty". |
| Subsidiaries | Script error: No such module "If empty". |
| URL | Script error: No such module "If empty". |
| Commercial | No |
| Registration | Script error: No such module "If empty". |
| Users | Script error: No such module "If empty". |
| Launched | Script error: No such module "If empty". |
Content licence | Script error: No such module "If empty". |
| ISSN | Script error: No such module "If empty". Script error: No such module "If empty". (print)Template:Please check ISSN Script error: No such module "If empty". Script error: No such module "If empty". (web)Template:Please check ISSN |
{{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 = The [[logo of Wikipedia]], a globe featuring [[glyph]]s from several writing systems
| screenshot = [[File:Www.wikipedia.org screenshot.png|border|300px|alt=Wikipedia's homepage with links to many languages.]]
| collapsible = yes
| caption = Screenshot of Wikipedia's multilingual portal.
| url = {{URL|http://www.wikipedia.org}}
| slogan = The Free Encyclopedia
| commercial = No
| type = [[Internet encyclopedia]]
| registration = 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 in total)
| num_users = 35 million (total registered in all editions)<ref>[[meta:List of Wikipedias#Grand Total|Grand Total]]. Wikimedia. June 10, 2012. Retrieved June 11, 2012.</ref>
| content license = {{nobr|[[Creative Commons licenses|Creative Commons Attribution / Share-Alike]] 3.0}} (most text also dual-licensed under [[GFDL]]) <br />Media licensing varies
| owner = [[Wikimedia Foundation]] (non-profit)
| author = [[Jimmy Wales]], [[Larry Sanger]]<ref name="Sidener" />
| launch date = {{Start date and years ago|mf=yes|2001|1|15}}
| current status = Online
}}
TemplateData
An infobox for articles about website
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Logo | logo | The website logo. | Unknown | optional |
| Logo Caption | logocaption | Caption for the logo. | Unknown | optional |
| Screenshot | screenshot | A screen photo of the homepage; see: [[:Image:EnglishWikipediaMainPage3rdAugust2007.PNG|Example 1]]. | Unknown | optional |
| Collapsible | collapsible | Whether the screenshot should be collapsed / visible at page load. | Unknown | optional |
| Collapse Text | collapsetext | Text for the header of the collapsed section, defaults to ''Screenshot''. | Unknown | optional |
| Caption | caption | Caption saying screenshot of <nowiki><website name></nowiki> as of <nowiki><date></nowiki>. | Unknown | optional |
| Url | url | The most used [[URL]] of the website. | Unknown | optional |
| Slogan | slogan | The slogan of the website. | Unknown | optional |
| Commercial | commercial | Is the site commercially run/owned? (yes / no) | Unknown | optional |
| Type | type | The type of website. | Unknown | optional |
| Registration | registration | Is there registration? (none / optional / required) | Unknown | optional |
| Language | language | The language(s) the website is available in. | Unknown | optional |
| Num Users | num_users | The number of registered users the website has. | Unknown | optional |
| Content License | content_license | The license of the content of the site. Works same as content_licence. | Unknown | optional |
| Content Licence | content_licence | The license of the content of the site. Works same as content_license. | Unknown | optional |
| Programming Language | programming language | Programming language written or coding done for the website. | Unknown | optional |
| Owner | owner | The current owner, company name / persons name / alias, etc. | Unknown | optional |
| Author | author | The person or entity that writes for the website. | Unknown | optional |
| Editor | editor | The person or entity that edits the website. | Unknown | optional |
| Launch Date | launch_date | When the website was launched, check the [[Whois|WHOIS]] database, if needed. | Unknown | optional |
| Revenue | revenue | The approximate revenue of the site. | Unknown | optional |
| Alexa | alexa | The website's current [[Alexa Internet|Alexa]] ranking (find on [http://www.alexa.com Alexa.com]; make sure to cite Alexa's page for this info.) | Unknown | optional |
See also
References
- ↑ Grand Total. Wikimedia. June 10, 2012. Retrieved June 11, 2012.
- ↑
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.
Template:Organization infoboxes
