Predloga:Infopolje Glasbena založba

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search
Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

Uporaba[uredi kodo]

{{{name}}}
[[Slika:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|{{{image_alt}}}]]
{{{caption}}}
Starševskom podjetje{{{parent}}}
Ustanovljena{{{founded}}}
Ustanovitelj{{{founder}}}
Prenehala delovati{{{defunct}}}
Status{{{status}}}
Distributer/-ji{{{distributor}}}
Žanri{{{genre}}}
Država izvora{{{country}}}
Lokacija{{{location}}}
Spletna stran{{{website}}}

{{Infopolje Glasbena založba}} adds an infobox to the article page of a record label. The template's code should go at the top of the page, before the article lead section, but below disambiguation notices (see also WP:WAI).

Prej napolnjen primer[uredi kodo]

For simple use, you can directly cut-n-paste the sample code below (filling in the relevant fields, deleting the irrelevant fields, and leaving out with their self-documentation comments the fields you don't know or that can be used later):

{{Infopolje Glasbena založba <!-- See Wikipedia:WikiProject_Music -->
| name        = <!-- "label name" displayed in box title, defaults to page title -->
| image       = <!-- logo, such as "LABEL-LOGO.jpg" -->
| image_size  = <!-- size -->
| image_alt   = <!-- WP:ALT text describing the image -->
| caption     = <!-- a caption for the image -->
| parent      = <!-- parent company, such as "[[Warner Music Group]]" -->
| founded     = <!-- year of foundation, such as {{start date|1950}} -->
| founder     = <!-- name of founders, separated by using commas, {{Flatlist}} or {{Hlist}} -->
| defunct     = <!-- year the label dissolved, such as {{end date|1990}} -->
| status      = <!-- leave blank unless "Inactive" -->
| distributor = <!-- distributors, separated by using commas, {{Flatlist}} or {{Hlist}} -->
| genre       = <!-- such as "[[World music|World]]" or "Various", separated by using commas, {{Flatlist}} or {{Hlist}} -->
| country     = <!-- origin, such as "United States" or "Turkey" -->
| location    = <!-- headquarters city and state -->
| website     = <!-- such as "{{URL|www.atlanticrecords.com}}" -->
}}

Prazen primer[uredi kodo]

If you already know exactly what goes into each field, this version too can be cut-n-pasted directly into your article and filled on the spot, without having to delete the helper comments as you fill it:

{{Infopolje Glasbena založba <!-- See Wikipedia:WikiProject_Music -->
| name        = 
| image       = 
| image_size  =
| image_alt   =
| caption     =  
| parent      = 
| founded     = <!-- {{Start date|YYYY}} -->
| founder     = 
| defunct     = <!-- {{End date|YYYY}} -->
| status      = 
| distributor = 
| genre       = 
| country     = 
| location    = 
| website     = <!-- {{URL|example.com}} -->
}}

Parametri[uredi kodo]

All fields are currently optional (in that not filling them won't cause a display error), but it is recommended to try and fill as much as possible within sourced information, especially founded and country. An empty {{Infobox record label}} will generate only the blue heading with the name of the article.

name
(Defaults to article name.) Label name displayed in infobox title.
image
Label logo, such as LABEL-LOGO.jpg.
image_size
preferably between 100 pixels and 200 pixels wide, depending on its portrait or landscape orientation—default is 180px.
image_alt
alternative text which describes the image
caption
a caption for the image
parent
Parent company, such as [[Warner Music Group]].
founded
Foundation year, just 4 digits, such as "1950", using {{Start date}}
founder
Name of founders, separated by using commas, {{Flatlist}} or {{Hlist}}.
defunct
Dissolved year, just 4 digits, such as "1990", using {{end date}}
status
Leave blank unless Inactive.
distributor
Distributors, separated by using commas, {{Flatlist}} or {{Hlist}}.
genre
Such as [[World music|World]] or Various, separated by using commas, {{Flatlist}} or {{Hlist}}.
country
The single country of origin, such as United States or Turkey. Do not use abbreviations unless absolutely necessary. Do not use flags per WP:INFOBOXFLAG.
location
Headquarters city and state or province. Abbreviations, such as "MA" for "Massachusetts", "ON" for "Ontario", etc., should never be used. See Notes[1] for details.
website or url
Specifies official site of record label using {{[[Template:URL|URL}}, for example:
{{URL|www.atlanticrecords.com}} (concise)
{{URL|www.kalan.com/english/scripts|Kalan.com}} (qualified)

Additional field not provided by default:

bgcolor
(Deprecated, defaults to "Predloga:Colors".) Background color for box title, not to be used unless justified need.

Be careful not to use {{small}} or <small> markup in the infobox as infoboxes already use smaller text than the article body and when the font is made too small it is difficult for those with accessibility needs to read.

Primer[uredi kodo]

Republic Records
Wikipedia-logo-v2-en.svg
Starševskom podjetjeUniversal Music Group
Ustanovljena1995 (1995)
Ustanovitelj
Distributer/-ji
ŽanriVarious
Država izvoraUnited States
LokacijaNew York City
Spletna stranwww.republicrecords.com
{{Infopolje Glasbena založba <!-- See Wikipedia:WikiProject_Music -->
| name        = Republic Records
| image_name  = Wikipedia-logo-v2-en.svg
| image_size  = 100px
| parent      = [[Universal Music Group]]
| founded     = {{Start date|1995}}
| founder     = {{hlist| [[Monte Lipman]] | Avery Lipman }}
| distributor = {{hlist| Universal Music Group (Worldwide) | [[Virgin EMI Records]] (in the UK) }}
| genre       = Various
| country     = United States
| location    = New York City
| website     = {{URL|www.republicrecords.com}}
}}

The above template code example produces the infobox displayed at right.

  • The actual logo is not displayed on this documentation page because of fair-use limitations (it can be used only to illustrate the article about it). A Wikipedia logo is used here to demonstrate logo use and placement.
  • Notice in the distributor field how you can go to a new line for a sub-item by hiding the newline in the middle of the <br /> . Doing so is not required (the founder field doesn't use it), and neither version affects the output, but it can make the wikicode more readable and editable with long sub-items.
  • Two fields have been omitted in this example: bgcolor (because the default white color is to be used here), and status (because the company is neither inactive nor defunct, and currently unlikely to require the field in the near future).

Opombe[uredi kodo]

  1. As per RfC "Naming countries in infoboxes": When identifying a location, city or region in the United States or United Kingdom, the preferred approach is to use the country abbreviations allowed by MOS:ACRO, such as "Portsmouth, New Hampshire, U.S." and "Cardiff, Wales, UK", rather than spelling out the full country name. Avoid using abbreviations for states or provinces in all nations. New Hampshire rather than NH, New South Wales rather than NSW, or British Columbia rather than BC (see MOS:POSTABBR). Cities such as New York City and London may be rendered as "New York City, U.S." and "London, UK" or simply "New York City" and "London". Also, these should not be linked when the context makes it clear (see MOS:OVERLINK). If only the country name is included, it may be written out in full.


Kategorija[uredi kodo]

The template does not create any automatic categorization of the article. You have to add your article to the relevant categories. Suggested categories (and their subcategories) to investigate include:

Plus one or more possible special case such as:

And possibly more from:

Mikroformat[uredi kodo]

Koda HTML, ki jo producira ta predloga, vključuje mikroformat hCard, ki omogoča računalnikom, da razčlenijo podatke o organizaciji. Ta proces je bodisi samodejen, za katalogiziranje člankov v Wikipediji, bodisi na ročno zahtevo bralca s pomočjo orodja v brskalniku, ki na primer doda organizacijo v adresar.

Podpredloge[uredi kodo]

Prosimo, da ne odstranite primerov podpredlog.

Razredi[uredi kodo]

hCard uporablja naslednje HTML razrede (classes):

  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • geo
  • label
  • latitude
  • locality
  • longitude
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard

Prosimo ne preimenujte ali odstranite zgoraj navedene razrede.

Sledilne kategorije[uredi kodo]

Glej tudi[uredi kodo]

TemplateData[uredi kodo]

TemplateData documentation used by VisualEditor and other tools
Glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Infopolje Glasbena založba

An infobox used to describe a record label, it's general and corporate information, as well as location and official website

Parametri predloge

Za to predlogo se uporablja postavitev po meri.

ParameterOpisVrstaStanje
Background colorbgcolor

Used to change the background color. It is not required and recommended UNLESS a logical and justified reason is given.

Privzeto
LightBlue.
Nizizbirno
Namename

The name of the record label. Must not be linked or formatted.

Zgled
ex. Modular Recordings
Nizzahtevano
Imageimage

The logo image for the record label.

Neznanoizbirno
Image sizeimage_size

The size of the image. "px" must not be added; only the numerical value given.

Privzeto
100px
Zgled
ex. 64
Neznanoizbirno
Image alternative textimage_alt

The alternative text used to describe the image given for visually-impaired readers.

Nizizbirno
Image captioncaption

A caption for the image.

Zgled
Ex. The official logo for Big Beat Records.
Nizizbirno
Parent companyparent

The parent company that owns the record label. Must be linked and have its own separate article.

Zgled
ex. [[Sony Music Entertainment]]
Nizizbirno
Foundedfounded

The foundation year in which the record label was established. Must only be the year and must use the {{start date and age}} if possible.

Zgled
ex. {{start date and age|1887}}
Nizpredlagano
Defunctdefunct

The year in which the record company was officially dissolved. Must have the {{end date}} template.

Zgled
ex. {{end date|1953}}
Neznanoizbirno
Founderfounder

The person or people who founded the company. If possible, must be linked to its article.

Zgled
ex. Pete Doraine
Nizizbirno
Statusstatus

The current status of the company.

Zgled
Inactive
Vsebinaizbirno
Distributordistributor

The company or companies that distribute the licensed work of the company. If possible, must be linked to its article.

Zgled
ex. Sony Music
Nizizbirno
Genregenre

The genre(s) that are most common for the record label. Must be used with the {{hlist}} template if there are more than one.

Zgled
ex. {{hlist|[[Rock music|Rock]]|[[electronica]]|[[electropop]]|[[neo-psychedelia]]|[[psychedelic rock]]}}
Nizpredlagano
Country of origincountry

The record label's country of origin, where it is headquartered. The country MUST NOT be linked.

Zgled
ex. Japan
Nizizbirno
Locationlocation

The official city in which the record label is headquartered in it's country of origin. The exact address is NOT ALLOWED as only the city is.

Zgled
ex. [[Dortmund]]
Nizizbirno
Websiteurl

The official website for the record label. It must be used in accordance with the {{URL}} template so as to be printer-friendly.

Zgled
ex. {{URL|defjam.com}}
Nizizbirno