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

From blackwiki
Jump to navigation Jump to search
imported>Gorthian
(That discussion is long gone and hard to find)
imported>Jdforrester
(TemplateData: Switch to block format.)
Line 52: Line 52:
 
<templatedata>
 
<templatedata>
 
{
 
{
  "description": "An infobox for articles about website",
+
"description": "An infobox for articles about website",
  "params": {
+
"params": {
  "logo" : {
+
"logo": {
      "description" : "The website logo.",
+
"description": "The website logo.",
      "label" : "Logo"
+
"label": "Logo"
  },
+
},
  "logo_caption" : {
+
"logo_caption": {
      "description" : "Caption for the logo.",
+
"description": "Caption for the logo.",
      "label" : "Logo Caption"
+
"label": "Logo Caption"
  },
+
},
  "screenshot" : {
+
"screenshot": {
      "description" : "A screen photo of the homepage; see: [[:File:EnglishWikipediaMainPage3rdAugust2007.PNG|Example 1]].",
+
"description": "A screen photo of the homepage; see: [[:File:EnglishWikipediaMainPage3rdAugust2007.PNG|Example 1]].",
      "label" : "Screenshot"
+
"label": "Screenshot"
  },
+
},
  "collapsible" : {
+
"collapsible": {
      "description" : "Whether the screenshot should be collapsed / visible at page load. (Yes / No)",
+
"description": "Whether the screenshot should be collapsed / visible at page load. (Yes / No)",
      "label" : "Collapsible"
+
"label": "Collapsible"
  },
+
},
  "collapsetext" : {
+
"collapsetext": {
      "description" : "Text for the header of the collapsed section, defaults to ''Screenshot''.",
+
"description": "Text for the header of the collapsed section, defaults to ''Screenshot''.",
      "label" : "Collapse Text"
+
"label": "Collapse Text"
  },
+
},
  "caption" : {
+
"caption": {
      "description" : "Caption saying screenshot of <nowiki><website name></nowiki> as of <nowiki><date></nowiki>.",
+
"description": "Caption saying screenshot of <nowiki><website name></nowiki> as of <nowiki><date></nowiki>.",
      "label" : "Caption"
+
"label": "Caption"
  },
+
},
  "url" : {
+
"url": {
      "description" : "The canonical [[URL]] of the website's home page meeting [[WP:ELOFFICIAL]]",
+
"description": "The canonical [[URL]] of the website's home page meeting [[WP:ELOFFICIAL]]",
      "label" : "Url"
+
"label": "Url"
  },
+
},
  "slogan" : {
+
"slogan": {
      "description" : "The slogan of the website.",
+
"description": "The slogan of the website.",
      "label" : "Slogan"
+
"label": "Slogan"
  },
+
},
  "commercial" : {
+
"commercial": {
      "description" : "Is the site commercially run / owned? (Yes / No)",
+
"description": "Is the site commercially run / owned? (Yes / No)",
      "label" : "Commercial"
+
"label": "Commercial"
  },
+
},
  "type" : {
+
"type": {
      "description" : "The type of website.",
+
"description": "The type of website.",
      "label" : "Type"
+
"label": "Type"
  },
+
},
  "registration" : {
+
"registration": {
      "description" : "Is there registration? (None / Optional / Required)",
+
"description": "Is there registration? (None / Optional / Required)",
      "label" : "Registration"
+
"label": "Registration"
  },
+
},
  "language" : {
+
"language": {
      "description" : "The language(s) the website is available in.",
+
"description": "The language(s) the website is available in.",
      "label" : "Language"
+
"label": "Language"
  },
+
},
  "num_users" : {
+
"num_users": {
      "description" : "The number of registered users the website has.",
+
"description": "The number of registered users the website has.",
      "label" : "Num Users"
+
"label": "Num Users"
  },
+
},
  "content_license" : {
+
"content_license": {
      "description" : "The license of the content of the site. Works same as content_licence.",
+
"description": "The license of the content of the site. Works same as content_licence.",
      "label" : "Content License"
+
"label": "Content License"
  },
+
},
  "content_licence" : {
+
"content_licence": {
      "description" : "The license of the content of the site. Works same as content_license.",
+
"description": "The license of the content of the site. Works same as content_license.",
      "label" : "Content Licence"
+
"label": "Content Licence"
  },
+
},
  "programming language" : {
+
"programming language": {
      "description" : "Programming language written or coding done for the website.",
+
"description": "Programming language written or coding done for the website.",
      "label" : "Programming Language"
+
"label": "Programming Language"
  },
+
},
  "owner" : {
+
"owner": {
      "description" : "The current owner, company name / persons name / alias, etc.",
+
"description": "The current owner, company name / persons name / alias, etc.",
      "label" : "Owner"
+
"label": "Owner"
  },
+
},
  "author" : {
+
"author": {
      "description" : "The person or entity that writes for the website.",
+
"description": "The person or entity that writes for the website.",
      "label" : "Author"
+
"label": "Author"
  },
+
},
  "editor" : {
+
"editor": {
      "description" : "The person or entity that edits the website.",
+
"description": "The person or entity that edits the website.",
      "label" : "Editor"
+
"label": "Editor"
  },
+
},
  "launch_date" : {
+
"launch_date": {
      "description" : "When the website was launched, check the [[Whois|WHOIS]] database, if needed.",
+
"description": "When the website was launched, check the [[Whois|WHOIS]] database, if needed.",
      "label" : "Launch Date"
+
"label": "Launch Date"
  },
+
},
  "revenue" : {
+
"revenue": {
      "description" : "The approximate revenue of the site.",
+
"description": "The approximate revenue of the site.",
      "label" : "Revenue"
+
"label": "Revenue"
  },
+
},
  "alexa" : {
+
"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.)",
+
"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"
+
"label": "Alexa"
  }
+
}
}
+
},
 +
"format": "block"
 
}
 
}
 
</templatedata>
 
</templatedata>

Revision as of 16:45, 27 February 2016

  1. redirect Template:Parameter names example

Usage

{{Infobox website
| name               = 
| logo               = 
| logo_size          = <!-- default 250px -->
| 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    = <!-- default 300px -->
| screenshot_alt     = 
| caption            = 
| url                =  <!-- {{URL|www.example.com}} -->
| slogan             = 
| 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|YYYY|MM|DD|df=yes/no}} -->
| revenue            = 
| alexa              = <!-- {{increase}} {{steady}} {{decrease}} [http://www.alexa.com/siteinfo/example.com ##] (US/Global MM/YYYY) -->
| ip                 = 
| current_status     = 
| footnotes          = 
}}

Parameters

All parameters are optional. Avoid linking to an article more than once within the infobox.

An infobox for articles about website

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Logologo

The website logo.

Unknownoptional
Logo Captionlogo_caption

Caption for the logo.

Unknownoptional
Screenshotscreenshot

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

Unknownoptional
Collapsiblecollapsible

Whether the screenshot should be collapsed / visible at page load. (Yes / No)

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 canonical [[URL]] of the website's home page meeting [[WP:ELOFFICIAL]]

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

Example

Script error: No such module "If empty".
Script error: No such module "If empty".
Script error: No such module "If empty".
Screenshot
File:Www.wikipedia.org screenshot 2013.png
Screenshot of Wikipedia's multilingual portal.
Type of site
Script error: No such module "If empty".
Available in275 active editions (285 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".
Current statusOnline
Content license
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
  • a Total registration across all editions (June 2012).[1]
  • b Most text also dual-licensed under GFDL.
{{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 2013.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 = {{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|mf=yes|2001|1|15}}}}
| current_status = Online
| alexa = {{steady}} [http://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>

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