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 Versailles
Treaty of Peace between the Allied and Associated Powers and Germany
{{{image_alt}}}
Front page of the version in English
సంతకించిన తేదీ1919 జూన్ 28 (1919-06-28)
స్థలంVersailles, France
అమలు తేదీ10 January 1920
స్థితిRatification by Germany and three Principal Allied Powers
సంతకీయులు
DepositaryFrench Government
భాషలు
  • French
  • English
Treaty of Versailles at Wikisource
{{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 markup 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 application. 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 be included if you use {{Start date}} or {{End date}} (use the former for single dates, but do not use any of these if the date is before 1583 CE). {{End date}} requires that a time be specified, but display of this time may be suppressed by adding |nodate=yes to the end.

To include a URL, use {{URL}}.

hCalendar uses HTML classes including:

  • attendee
  • dtend
  • dtstart
  • location
  • summary
  • url
  • vevent

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.
Also, when giving coordinates, please don't be overly precise.

TemplateData మార్చు

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox treaty in articles based on its TemplateData.

TemplateData for Infobox treaty

Provides a consistent layout for summary information about treaties and international agreements, to appear at the top right of article pages.

మూస పరామితులు

పరామితివివరణరకంస్థితి
Namename

Short name of the treaty.

అప్రమేయం
The article name
లైనుతప్పనిసరి
Long namelong_name

The official long name of the treaty.

స్ట్రింగుఐచ్చికం
Imageimage

Filename for an image to represent the treaty (without the “File:” prefix).

పేజీ పేరుఐచ్చికం
Image sizeimage_size image_width

Image width for “image”, eg “200px”.

అప్రమేయం
frameless
లైనుఐచ్చికం
Image alternative textimage_alt alt

Accessible alternative text for “image”.

స్ట్రింగుఐచ్చికం
Image borderborder

Border for “image”. “yes” if a border should be applied to the image.

అప్రమేయం
no
స్ట్రింగుఐచ్చికం
Image captioncaption

Caption, either for “image” or for “rep”. If both parameters are supplied, the caption will appear twice.

లైనుఐచ్చికం
Treaty typetype

Type of the treaty.

కంటెంటుఐచ్చికం
Treaty contextcontext

Historical context for the treaty.

కంటెంటుఐచ్చికం
Date drafteddate_drafted

The date the treaty was drafted.

లైనుఐచ్చికం
Date signeddate_signed

The date the treaty was signed. Use the template “Start date” to provide this information.

లైనుఐచ్చికం
Location signedlocation_signed

The location where the treaty was signed. This should usually include wikilinks.

లైనుఐచ్చికం
Date sealeddate_sealed

The date the treaty was sealed.

లైనుఐచ్చికం
Date effectivedate_effective

The date the treaty came into effect.

లైనుఐచ్చికం
Condition effectivecondition_effective

The conditions under which the treaty came into effect.

ఉదాహరణ
Ratification by three signatories.
లైనుఐచ్చికం
Date expireddate_expiry date_expiration

The date the treaty expired. Use the template “End date” to provide this information.

లైనుఐచ్చికం
Mediatorsmediators

The people or countries who helped mediate the treaty. This should be formatted as a bullet list; flag icons might also be appropriate.

కంటెంటుఐచ్చికం
Negotiatorsnegotiators

The people or countries who helped negotiate the treaty. This should be formatted as a bullet list; flag icons might also be appropriate.

కంటెంటుఐచ్చికం
Original signatoriesoriginal_signatories

The people who *originally* signed the treaty. This should be formatted as a bullet list with flag icons.

కంటెంటుఐచ్చికం
Signatoriessignatories

The people who signed the treaty. This should be formatted as a bullet list with flag icons.

కంటెంటుఐచ్చికం
Partiesparties

The countries who are/were party to the treaty. This should be formatted as a bullet list with flag icons.

కంటెంటుఐచ్చికం
Ratifiersratifiers

The countries who ratified the treaty. This should be formatted as a bullet list with flag icons.

కంటెంటుఐచ్చికం
Depositordepositor

The depositor for the treaty, if there is only one. This should usually include wikilinks.

లైనుఐచ్చికం
Depositoriesdepositories

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.

కంటెంటుఐచ్చికం
Citationscitations

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”

లైనుఐచ్చికం
Languagelanguage

The language of the treaty text, if there is only one. This should usually include a wikilink.

లైనుఐచ్చికం
Languageslanguages

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 classlanguagesclass

The stylesheet class for the list of languages. Ordinarily, this should include “hlist” to allow for formatting an bullet list without bullets.

అప్రమేయం
hlist
లైనుఐచ్చికం
Wikisource linkwikisource

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 #1wikisource1

Link to a treaty text on Wikisource, if more than one link is required. Use “wikisource” if only one link is required.

పేజీ పేరుఐచ్చికం
Wikisource link #2wikisource2

Link to a treaty text on Wikisource, if more than one link is required. Use “wikisource” if only one link is required.

పేజీ పేరుఐచ్చికం
Wikisource link #3wikisource3

Link to a treaty text on Wikisource, if more than one link is required. Use “wikisource” if only one link is required.

పేజీ పేరుఐచ్చికం
Wikisource link #4wikisource4

Link to a treaty text on Wikisource, if more than one link is required. Use “wikisource” if only one link is required.

పేజీ పేరుఐచ్చికం
Wikisource link #5wikisource5

Link to a treaty text on Wikisource, if more than one link is required. Use “wikisource” if only one link is required.

పేజీ పేరుఐచ్చికం
Footnotesfootnotes

Any footnotes, formatted if necessary.

కంటెంటుఐచ్చికం