الگو:جعبه اطلاعات ناشر موسیقی: تفاوت میان نسخه‌ها

از ایران پدیا
پرش به ناوبری پرش به جستجو
بدون خلاصۀ ویرایش
 
جز (۱ نسخه واردشده)
 
(بدون تفاوت)

نسخهٔ کنونی تا ‏۲۶ دسامبر ۲۰۱۷، ساعت ۱۵:۲۵

توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

Usage

{{جعبه اطلاعات ناشر موسیقی}} adds an infobox to the article page of a ناشر موسیقی. The template's code should go at the top of the page, before the article lead section, but below disambiguation notices (see also IP:WAI).

Pre-filled sample

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


{{جعبه اطلاعات ناشر موسیقی <!-- See Iranpedia:WikiProject_Music -->
| نام = <!-- "label name" displayed in box title, defaults to page title -->
| تصویر =  <!-- logo, such as "LABEL-LOGO.jpg" -->
| اندازه تصویر = <!-- size -->
| bg_color = <!-- (background color for logo, should remain empty/white unless required) -->
| گروه شرکت = <!-- parent company, such as "[[Warner Music Group]]" -->
| پیدایش = <!-- year of foundation, such as "1950", unlinked -->
| پایه‌گذار = <!-- name of founders, separate with commas or BR -->
| وضعیت = <!-- leave blank unless "Inactive" or "Defunct" -->
| توزیع کننده = <!-- distributors, separate with commas or BR -->
| genre = <!-- such as "[[World music|World]]" or "Various", separate with commas or BR -->
| کشور = <!-- origin, such as "[[United States|U.S.]]" or "{{Flag|Turkey}}" -->
| مکان = <!-- headquarters city and state -->
| وب‌گاه = <!-- such as "[http://www.atlanticrecords.com/ Atlantic Records.com]" -->
}}


Empty sample

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:

{{جعبه اطلاعات ناشر موسیقی
| نام          = 
| تصویر        = 
| اندازه تصویر =
| گروه شرکت    = 
| پیدایش       = 
| پایه‌گذار     = 
| وضعیت        = 
| توزیع کننده  = 
| سبک          = 
| کشور         = 
| مکان         = 
| وب‌گاه        = 
}}

Fields

All fields are currently optional (in that not filling them won't cause a display error), but it is recommanded to try and fill as much as possible within sourced informations, 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_bg
(Defaults to "white".) Can be used to specify background color to display the image against. All CSS color specifiers may be used. However, it is generally recommended to leave it unspecified, so it will remain white as default.
parent
Parent company, such as [[Warner Music Group]].
founded
Foundation year, just 4 digits, such as "1950", using {{Start date}}
founder
Name of founders, separate with commas or <br /> .
status
Leave blank unless Inactive or Defunct.
distributor
Distributors, separate with commas or <br /> .
genre
Such as [[World music|World]] or Various, separate with commas or <br /> .
country
Origin, such as [[United States|U.S.]] or {{Flag|Turkey}}.
location
Headquarters city and state.
url
Specifies official site of record label. The link can be wiki-formatted to make the actual URL appear concise or qualified, for example:
[http://www.atlanticrecords.com/ Atlantic Records.com] (concise)
[http://www.kalan.com/english/scripts/ Kalan.com (English)] (qualified)

Additional field not provided by default:

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

Categories

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:

Microformat

کد اچ‌تی‌ام‌ال تولیدشده توسط این الگو محتوی یک میکروفرمت hCard می‌باشد، که جزئیات سازمان را برای رایانه‌ها قابل تجزیه می‌کند.

الگوهای زیرمجموعه

  • اگر نهاد تاریخ بنیادگذاری یا آغاز یا گشایش یا ... دارد می‌توانید از {{تاریخ آغاز}} استفاده کنید. ().
  • برای نشانی وبگاه نهاد از {{نشانی وب}} استفاده کنید.
  • اگر نهاد مختصات جغرافیایی دارد، از {{Coord}} استفاده کنید برای نمایش ، که دستگاه مختصات جغرافیایی (طول و عرض) با تجزیهٔ دستور نمایش می‌دهد.parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit.

Please do not remove instances of these sub-templates.

Classes

hCard از کلاس‌های اچ‌تی‌ام‌ال استفاده می‌کند ازجمله موارد زیر:

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

لطفا این کلاس‌ها یا تغییر نام یا حذف نکنید؛ nor collapse nested elements which use them.

See also