Difference between revisions of "Template:Infobox website/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rezonansowy
imported>Rezonansowy
(Adding TemplateData & formatting.)
Line 2: Line 2:
 
<!-- EDIT TEMPLATE DOCUMENTATION AFTER THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION AFTER THIS LINE -->
  
===Usage===
+
== Usage ==
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
 
{{Infobox website
 
{{Infobox website
Line 32: Line 32:
 
}}</pre>
 
}}</pre>
  
====Parameters====
+
=== 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===
+
== 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===
+
== References ==
{{Reflist}}
+
{{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

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.)
  • Put {{Increase}} (Increase) OR {{Steady}} (Template:Steady) OR {{Decrease}} (Decrease) BEFORE the ranking number to indicate the change of ranking compared with the previous month.
  • Mention the date of putting the ranking number AFTER the ranking number. Put the date in parenthesis, for example: (July 2012). If you update the ranking number, update the date as well.
  • At User talk:Riley Huntley/AlexaBot.js you can request that a bot will monthly update the rank.
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".
Script error: No such module "If empty".
Screenshot
Wikipedia's homepage with links to many languages.
Screenshot of Wikipedia's multilingual portal.
Type of site
Script error: No such module "If empty".
Available in275 active editions (285 in total)
FoundedScript error: No such module "If empty".
HeadquartersScript error: No such module "If empty".
OwnerScript error: No such module "If empty".
Created byScript error: No such module "If empty".
EditorScript error: No such module "If empty".
RevenueScript error: No such module "If empty".
EmployeesScript error: No such module "If empty".
SubsidiariesScript error: No such module "If empty".
URLScript error: No such module "If empty".
CommercialNo
RegistrationScript error: No such module "If empty".
UsersScript error: No such module "If empty".
LaunchedScript error: No such module "If empty".
Content licence
Script error: No such module "If empty".
ISSNScript 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

Template parameters

ParameterDescriptionTypeStatus
Logologo

The website logo.

Unknownoptional
Logo Captionlogocaption

Caption for the logo.

Unknownoptional
Screenshotscreenshot

A screen photo of the homepage; see: [[:Image:EnglishWikipediaMainPage3rdAugust2007.PNG|Example 1]].

Unknownoptional
Collapsiblecollapsible

Whether the screenshot should be collapsed / visible at page load.

Unknownoptional
Collapse Textcollapsetext

Text for the header of the collapsed section, defaults to ''Screenshot''.

Unknownoptional
Captioncaption

Caption saying screenshot of <nowiki><website name></nowiki> as of <nowiki><date></nowiki>.

Unknownoptional
Urlurl

The most used [[URL]] of the website.

Unknownoptional
Sloganslogan

The slogan of the website.

Unknownoptional
Commercialcommercial

Is the site commercially run/owned? (yes / no)

Unknownoptional
Typetype

The type of website.

Unknownoptional
Registrationregistration

Is there registration? (none / optional / required)

Unknownoptional
Languagelanguage

The language(s) the website is available in.

Unknownoptional
Num Usersnum_users

The number of registered users the website has.

Unknownoptional
Content Licensecontent_license

The license of the content of the site. Works same as content_licence.

Unknownoptional
Content Licencecontent_licence

The license of the content of the site. Works same as content_license.

Unknownoptional
Programming Languageprogramming language

Programming language written or coding done for the website.

Unknownoptional
Ownerowner

The current owner, company name / persons name / alias, etc.

Unknownoptional
Authorauthor

The person or entity that writes for the website.

Unknownoptional
Editoreditor

The person or entity that edits the website.

Unknownoptional
Launch Datelaunch_date

When the website was launched, check the [[Whois|WHOIS]] database, if needed.

Unknownoptional
Revenuerevenue

The approximate revenue of the site.

Unknownoptional
Alexaalexa

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.)

Unknownoptional

See also

References

  1. Grand Total. Wikimedia. June 10, 2012. Retrieved June 11, 2012.
  2. 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