الگو:Infobox pirate/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

Infobox pirate may be used to summarize information about an individual involved in piracy in a standard manner.

Usage[ویرایش]

The infobox should be added using the {{Infobox pirate}} template, as shown below:

{{{name}}}
— دزد دریایی —
[[پرونده:{{{image}}}|{{{image_size}}}|جایگزین={{{alt}}}]]
{{{caption}}}
نام مستعار{{{nickname}}}
نام‌های دیگر{{{alias}}}
نوع{{{type}}}
تاریخ تولد{{{birth_date}}}
محل تولد{{{birth_place}}}
تاریخ فوت{{{death_date}}}
محل فوت{{{death_place}}}
تابعیت{{{allegiance}}}
سال های فعالیت{{{serviceyears}}}
درجه{{{rank}}}
پایگاه عملیات{{{base of operations}}}
فرماندهی{{{commands}}}
جنگ‌ها/نبردها{{{battles}}}
ثروت{{{wealth}}}
کارهای دیگر{{{laterwork}}}
{{Infobox pirate
| honorific_prefix = 
| name = 
| honorific_suffix = 
| image = 
| image_size = 
| alt = 
| caption = 
| native_name = 
| native_name_lang = 
| birth_name = 
| birth_date = 
| birth_place = 
| baptised = 
| disappeared_date = 
| disappeared_place = 
| disappeared_status = 
| death_date = 
| death_place = 
| death_cause = 
| body_discovered = 
| resting_place = 
| resting_place_coordinates = 
| monuments = 
| residence = 
| nationality = 
| other_names = 
| citizenship = 
| education = 
| alma_mater = 
| occupation = 
| years_active = 
| era = 
| employer = 
| organization = 
| agent = 
| known_for = 
| notable_works = 
| style = 
| home_town = 
| salary = 
| net_worth = 
| height = 
| weight = 
| television = 
| title = 
| term = 
| predecessor = 
| successor = 
| party = 
| movement = 
| opponents = 
| boards = 
| criminal_charge = 
| criminal_penalty = 
| criminal_status = 
| spouse = 
| partner = 
| children = 
| parents = 
| relatives = 
| callsign = 
| awards = 
| website = 
| nickname = 
| alias = 
| type = 
| allegiance = 
| serviceyears = 
| base of operations = 
| rank = 
| commands = 
| battles = 
| wealth = 
| laterwork = 
| signature = 
| signature_alt = 
| signature_size = 
| footnotes = 
}}

Parameters[ویرایش]

  • name – the full name of the person.
  • imageoptional – an image of the person. The image must be given in the form Example.jpg.
  • captionoptional – the text to be placed below the image.
  • nicknameoptional – nickname(s) by which the person was known.
  • aliasoptional – alias(s) by which the person was known, i.e. valid given names and surnames.
  • typeoptional – a specific designation for which particular type of piracy subject was engaged (ex. privateer, buccaneer, corsair, etc.)
  • birth_dateoptional – the date of birth, if known, using {{Birth date}} or {{Birth date and age}}. For unusual cases, such as where only dates of activities are known, the lived parameter may be used instead.
  • death_dateoptional – the date of death, if applicable and known, in {{Death date and age}}.
  • birth_placeoptional – the person's birthplace.
  • death_placeoptional – the place where the person died.
  • allegianceoptional – the country or other power the person served. Multiple countries may be indicated together with the corresponding dates.
  • serviceyearsoptional – the years during which the person served.
  • base of operationsoptional – a general area or stronghold used by person.
  • rankoptional – the highest rank achieved by the person (most often awarded from colonial officials via letters of marque). Unusual cases, such as this rank not being the last achieved, or the rank being awarded posthumously, may be noted. In cases where the person held different ranks in different armies, multiple ranks should be specified with a date and country note for each.
  • commandsoptional – for specific ships under direct command of subject.
  • battlesoptional – any notable battles or wars in which the person participated. This should be omitted if a campaignbox is used in conjunction with this template.
  • wealthoptional – an estimate of the accumulated wealth gained during career.
  • laterworkoptional – the profession or positions held by the person after they retired from piracy (ex. pirate hunter, farmer, public official, etc.).

Embedding[ویرایش]

در مواردی یک فرد در بیش از یک زمینه سرشناس باشد، این جعبهٔ اطلاعات می‌تواند برای ساخت یک بخش ویژه در درون {{Infobox person}} (یا مشابه آن) مورد استفاده قرار گیرد؛ یک مثال کلی در زیر نشان داده شده‌است. برای رهنمودهای استفاده en:Wikipedia:Infobox modules را ببینید. همچنین در توضیحات الگو:Infobox توضیحاتی پیرامون جانشانی و زیرجعبه‌ها آمده‌است.

{{Infobox person
| name = 
| image = 
| caption = 
| birth_date = 
| birth_place = 
| <!-- etc. -->
| module = 
  {{Infobox pirate/embed | child=yes <!-- or embed=yes or subbox=yes -->
  | parameter-1 = 
  | parameter-2 = 
  | parameter-3 = 
  | parameter-4 = 
  | <!-- etc. -->
  }}
}}

Example[ویرایش]

Edward Teach
— دزد دریایی —
Blackbeard (18th century چاپ سنگی)
نام مستعارBlackbeard
نوعدزدی دریایی
تاریخ تولدc. 1660
محل تولدبریستول, England
تاریخ فوتNovember 22, 1718
محل فوتوکراکوک، کارولینای شمالی, U.S.
تابعیتNone
سال های فعالیت1712 – 1718
درجهCaptain
پایگاه عملیاتاقیانوس اطلس
فرماندهیانتقام ملکه ان
{{Infobox pirate
| name		     = Edward Teach
| image		     = Bbeard Sword.jpg
| caption	     = Blackbeard (18th century [[چاپ سنگی]])
| birth_date         = c. 1660
| birth_place	     = [[بریستول]], England
| death_date         = November 22, 1718
| death_place	     = [[وکراکوک، کارولینای شمالی]], U.S.
| nickname	     = Blackbeard
| type		     = [[دزدی دریایی]]
| allegiance	     = None
| serviceyears	     = 1712 – 1718
| rank		     = Captain
| base of operations = [[اقیانوس اطلس]]
| commands	     = ''[[انتقام ملکه ان]]''
| battles	     = 
| wealth             = 
| laterwork	     = 
}}

Microformat[ویرایش]

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

زیرالگوها[ویرایش]

اطلاعات تاریخ تولد، تنها هنگامی در ریزقالب گنجانده می‌شود که {{تاریخ تولد}} یا {{تاریخ تولد و سن}} در جعبه اطلاعات، بکار رفته باشند. (اگر تاریخ قبل از ۱۵۸۳ است از این الگوها استفاده نکنید). بر پایه زندگی‌نامه زندگان در بکار بردن این الگو درباره افراد زنده، محتاط باشید.

برای افزودن نشانی وب، از {{نشانی وب}} استفاده کنید.

خواهشمند است کاربردهای این زیرالگوها را حذف نکنید.

کلاس‌ها[ویرایش]

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

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

خواهشمند است این کلاس‌ها را تغییرنام ندهید یا حذف نکنید. عناصر تودرتویی که از آنها استفاده می‌کنند را نیز به حالت جمع‌شده درنیاورید.

Tracking categories[ویرایش]

See also[ویرایش]