قالب:Infobox treaty
Usage
{{Infobox treaty | name = | long_name = | image = <!-- Example.png --> | image_width = <!-- 200px --> | image_alt = <!-- alt-text here for accessibility; see [[MOS:ACCESS]] --> | caption = <!-- Example caption for either image style --> | type = | context = | date_drafted = | date_signed = <!-- {{Start date|YYYY|MM|DD}} --> | location_signed = | date_sealed = | date_effective = | condition_effective = | date_expiration = <!-- {{End date|YYYY|MM|DD}} OR: --> | date_expiry = <!-- {{End date|YYYY|MM|DD}} --> | mediators = <!-- format this as a bullet list --> | negotiators = <!-- format this as a bullet list --> | original_signatories = <!-- format this as a bullet list --> | signatories = <!-- format this as a bullet list --> | parties = <!-- format this as a bullet list --> | ratifiers = <!-- format this as a bullet list --> | depositor = <!-- OR: --> | depositories = <!-- format this as a bullet list --> | citations = <!-- format as XX [[Article on Treaty Series|TS]] YYY --> | language = <!-- OR: --> | languages = <!-- format this as a bullet list --> | wikisource = <!-- OR: --> | wikisource1 = <!-- Up to 5 wikisourceN variables may be specified --> | footnotes = }}
Example
Treaty of Peace between the Allied and Associated Powers and Germany | |
---|---|
وُقـِّعت | 28 يونيو 1919 |
المكان | Versailles, France |
سارية منذ | 10 January 1920 |
الحالة | Ratification by Germany and three Principal Allied Powers |
الموقعون | |
الإيداع | French Government |
اللغات |
|
Treaty of Versailles في معرفة المصادر |
{{Infobox treaty | name = Treaty of Versailles | long_name = Treaty of Peace between the Allied and Associated Powers and Germany | image = Treaty of Versailles, English version.jpg | image_width = 180px | caption = Front page of the version in English | type = | date_drafted = | date_signed = {{Start date|1919|06|28|df=y}} | location_signed = [[Palace of Versailles|Versailles]], France | date_sealed = | date_effective = 10 January 1920 | condition_effective = [[Ratification]] by Germany and three Principal Allied Powers | date_expiration = | negotiators = | signatories = * {{flagicon|Germany|Weimar}} [[Weimar Republic|German Reich]] <hr/> * {{flag|British Empire}} * {{flagicon|France}} [[French Third Republic|France]] * {{flag|United States|1912}} | depositor = French Government | citations = | languages = * French * English | wikisource = Treaty of Versailles }}
Microformat
The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary applciation. Within the hCalendar is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Dates will only appear if you use {{Start date}} or {{End date}} (use the former for single dates).
hCalendar uses HTML classes including:
- "dtend"
- "dtstart"
- "location"
- "summary"
- "vevent"
Geo is produced by calling {{coord}}, and uses HTML classes:
- "geo"
- "latitude"
- "longitude"
Please do not rename or remove these classes.
When giving coordinates, please don't be overly precise.
TemplateData
Infobox treaty
Provides a consistent layout for summary information about treaties and international agreements, to appear at the top right of article pages.
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
Name | name | Short name of the treaty.
| سطر | مطلوب |
Long name | long_name | The official long name of the treaty. | نص | اختياري |
Image | image | Filename for an image to represent the treaty (without the “File:” prefix). | اسم الصفحة | اختياري |
Image size | image_size image_width | Image width for “image”, eg “200px”.
| سطر | اختياري |
Image alternative text | image_alt alt | Accessible alternative text for “image”. | نص | اختياري |
Image border | border | Border for “image”. “yes” if a border should be applied to the image.
| نص | اختياري |
Image caption | caption | Caption, either for “image” or for “rep”. If both parameters are supplied, the caption will appear twice. | سطر | اختياري |
Treaty type | type | Type of the treaty. | محتوى | اختياري |
Treaty context | context | Historical context for the treaty. | محتوى | اختياري |
Date drafted | date_drafted | The date the treaty was drafted. | سطر | اختياري |
Date signed | date_signed | The date the treaty was signed. Use the template “Start date” to provide this information. | سطر | اختياري |
Location signed | location_signed | The location where the treaty was signed. This should usually include wikilinks. | سطر | اختياري |
Date sealed | date_sealed | The date the treaty was sealed. | سطر | اختياري |
Date effective | date_effective | The date the treaty came into effect. | سطر | اختياري |
Condition effective | condition_effective | The conditions under which the treaty came into effect. For example: Ratification by three signatories. | سطر | اختياري |
Date expired | date_expiry date_expiration | The date the treaty expired. Use the template “End date” to provide this information. | سطر | اختياري |
Mediators | mediators | The people or countries who helped mediate the treaty. This should be formatted as a bullet list; flag icons might also be appropriate. | محتوى | اختياري |
Negotiators | negotiators | The people or countries who helped negotiate the treaty. This should be formatted as a bullet list; flag icons might also be appropriate. | محتوى | اختياري |
Original signatories | original_signatories | The people who *originally* signed the treaty. This should be formatted as a bullet list with flag icons. | محتوى | اختياري |
Signatories | signatories | The people who signed the treaty. This should be formatted as a bullet list with flag icons. | محتوى | اختياري |
Parties | parties | The countries who are/were party to the treaty. This should be formatted as a bullet list with flag icons. | محتوى | اختياري |
Ratifiers | ratifiers | The countries who ratified the treaty. This should be formatted as a bullet list with flag icons. | محتوى | اختياري |
Depositor | depositor | The depositor for the treaty, if there is only one. This should usually include wikilinks. | سطر | اختياري |
Depositories | depositories | The depositories for the treaty, if there are more than one. This should be formatted as a bullet list and should usually include flag icons and wikilinks. | محتوى | اختياري |
Citations | citations | The citation(s) for the treaty. This should be a link to a Treaty series article, formatted as “XX [[Article on Treaty Series|TS]] YYY” | سطر | اختياري |
Language | language | The language of the treaty text, if there is only one. This should usually include a wikilink. | سطر | اختياري |
Languages | languages | The languages of the treaty text, if there is more than one. This should be formatted as a bullet list and should usually include wikilinks. | محتوى | اختياري |
Languages CSS class | languagesclass | The stylesheet class for the list of languages. Ordinarily, this should include “hlist” to allow for formatting an bullet list without bullets.
| سطر | اختياري |
Wikisource link | wikisource | Link to the treaty text on Wikisource, if only one link is required. Use “wikisource1” to “wikisource5” if more than one link is required. | اسم الصفحة | اختياري |
Wikisource link #1 | wikisource1 | Link to a treaty text on Wikisource, if more than one link is required. Use “wikisource” if only one link is required. | اسم الصفحة | اختياري |
Wikisource link #2 | wikisource2 | Link to a treaty text on Wikisource, if more than one link is required. Use “wikisource” if only one link is required. | اسم الصفحة | اختياري |
Wikisource link #3 | wikisource3 | Link to a treaty text on Wikisource, if more than one link is required. Use “wikisource” if only one link is required. | اسم الصفحة | اختياري |
Wikisource link #4 | wikisource4 | Link to a treaty text on Wikisource, if more than one link is required. Use “wikisource” if only one link is required. | اسم الصفحة | اختياري |
Wikisource link #5 | wikisource5 | Link to a treaty text on Wikisource, if more than one link is required. Use “wikisource” if only one link is required. | اسم الصفحة | اختياري |
Footnotes | footnotes | Any footnotes, formatted if necessary. | محتوى | اختياري |
The above documentation is transcluded from قالب:Infobox treaty/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |