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

From blackwiki
Jump to navigation Jump to search
imported>Rezonansowy
(Adding TemplateData & formatting.)
imported>Rezonansowy
(Formatting & technicals, merging ''templatedata'' into the parameters section)
Line 36: Line 36:
 
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.
  
{| class="wikitable"
 
! style="text-align: center" | Parameter
 
! style="text-align: center" | Explanation
 
|- style="text-align: left"
 
| <code>name</code>
 
| The website's most recognizable name.
 
|-
 
| <code>logo</code>
 
| The website logo.
 
|-
 
| <code>logocaption</code>
 
| Caption for the logo.
 
|-
 
| <code>screenshot</code>
 
| A screen photo of the homepage; see: [[:Image:EnglishWikipediaMainPage3rdAugust2007.PNG|Example 1]].
 
|-
 
| <code>collapsible</code>
 
| Whether the screenshot should be collapsed / visible at page load.
 
|-
 
| <code>collapsetext</code>
 
| Text for the header of the collapsed section, defaults to "Screenshot".
 
|-
 
| <code>caption</code>
 
| Caption saying screenshot of <website name> as of <date>.
 
|-
 
| <code>url</code>
 
| The most used [[URL]] of the website.
 
|-
 
| <code>slogan</code>
 
| The slogan of the website.
 
|-
 
| <code>commercial</code>
 
| Is the site commercially run/owned? (yes / no)
 
|-
 
| <code>type</code>
 
| The type of website.
 
|-
 
| <code>registration</code>
 
| Is there registration? (none / optional / required)
 
|-
 
| <code>language</code>
 
| The language(s) the website is available in.
 
|-
 
| <code>num_users</code>
 
|  The number of registered users the website has.
 
|-
 
| <code>content_license</code> or <code>content_licence</code>
 
| The license of the content of the site.
 
|-
 
| <code>programming language</code> 
 
| Programming language written or coding done for the website.   
 
|-
 
| <code>owner</code>
 
| The current owner, company name / persons name / alias, etc.
 
|-
 
| <code>author</code>
 
| The person or entity that writes for the website.
 
|-
 
| <code>editor</code>
 
| The person or entity that edits the website.
 
|-
 
| <code>launch_date</code>
 
| When the website was launched, check the [[Whois|WHOIS]] database, if needed.
 
|-
 
| <code>revenue</code>
 
| The approximate revenue of the site.
 
|-
 
| <code>alexa</code>
 
| 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.)
 
 
*Put {{tl|Increase}} ({{Increase}}) OR {{tl|Steady}} ({{Steady}}) OR {{tl|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.
 
|-
 
| <code>ip</code>
 
| Related IP address.
 
|-
 
| <code>current_status</code>
 
| Is the site online / offline / sold? Used for major transitions only, not for short term outages or other temporary situations.
 
|-
 
| <code>footnotes</code>
 
| Related footnotes.
 
|-
 
|}
 
 
== Example ==
 
 
{{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">
 
{{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>
 
| launch date    = {{Start date and years ago|mf=yes|2001|1|15}}
 
| current status  = Online
 
}}
 
 
<div style="width: 60%; background: #dddddd; border: 1px solid black; padding: 0.5em 1em 0.5em 1em; overflow: auto;"><pre style="overflow:auto;">
 
{{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
 
}}
 
</pre></div>
 
{{Clear}}
 
 
== TemplateData ==
 
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 192: Line 49:
 
   },
 
   },
 
   "screenshot" : {
 
   "screenshot" : {
       "description" : "A screen photo of the homepage; see: [[:Image: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.",
+
       "description" : "Whether the screenshot should be collapsed / visible at page load. (Yes / No)",
 
       "label" : "Collapsible"
 
       "label" : "Collapsible"
 
   },
 
   },
Line 216: Line 73:
 
   },
 
   },
 
   "commercial" : {
 
   "commercial" : {
       "description" : "Is the site commercially run/owned? (yes / no)",
+
       "description" : "Is the site commercially run / owned? (Yes / No)",
 
       "label" : "Commercial"
 
       "label" : "Commercial"
 
   },
 
   },
Line 224: Line 81:
 
   },
 
   },
 
   "registration" : {
 
   "registration" : {
       "description" : "Is there registration? (none / optional / required)",
+
       "description" : "Is there registration? (None / Optional / Required)",
 
       "label" : "Registration"
 
       "label" : "Registration"
 
   },
 
   },
Line 274: Line 131:
 
}
 
}
 
</templatedata>
 
</templatedata>
 +
 +
== Example ==
 +
 +
{{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">
 +
{{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>
 +
| launch date    = {{Start date and years ago|mf=yes|2001|1|15}}
 +
| current status  = Online
 +
}}
 +
 +
<pre style="overflow:auto;">
 +
{{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
 +
}}
 +
</pre>
 +
{{Clear}}
  
 
== See also ==
 
== See also ==

Revision as of 18:06, 20 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.

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: [[: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 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

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
}}

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