Template:Infobox treaty/doc
This is a documentation subpage for Template:Infobox treaty. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
{{{long_name}}} | |
---|---|
{{{rep}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] | |
Type | {{{type}}} |
Context | {{{context}}} |
Drafted | {{{date_drafted}}} |
Signed | {{{date_signed}}} |
Location | {{{location_signed}}} |
Sealed | {{{date_sealed}}} |
Effective | {{{date_effective}}} |
Condition | {{{condition_effective}}} |
Expiration | {{{date_expiration}}} |
Expiry | {{{date_expiry}}} |
Provisional application | {{{provisional_application}}} |
Mediators | {{{mediators}}} |
Negotiators | {{{negotiators}}} |
Original signatories | {{{original_signatories}}} |
Signatories | {{{signatories}}} |
Parties | {{{parties}}} |
Ratifiers | {{{ratifiers}}} |
Depositary | {{{depositor}}} |
Depositaries | {{{depositories}}} |
Citations | {{{citations}}} |
Language | {{{language}}} |
Languages | {{{languages}}} |
[[wikisource:{{{wikisource}}}|{{{wikisource}}}]] at Wikisource | |
Wikisource | |
| |
{{{footnotes}}} |
{{Infobox treaty | name = | long_name = | image = <!-- Example.png --> | image_size = <!-- 200px --> | 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 = | amendment = | date_expiration = <!-- {{End date|YYYY|MM|DD}} OR: --> | date_expiry = <!-- {{End date|YYYY|MM|DD}} --> | provisional_application = | 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 --> | wikisource2 = | wikisource3 = | wikisource4 = | wikisource5 = | footnotes = }}
Example
Treaty of Peace between the Allied and Associated Powers and Germany | |
---|---|
Signed | 28 June 1919 |
Location | Versailles, France |
Effective | 10 January 1920 |
Condition | Ratification by Germany and three Principal Allied Powers |
Parties | |
Depositary | French Government |
Languages | |
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_size = 180px | alt = | 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 = | parties = * {{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 language|French]] * [[English language|English]] | wikisource = Treaty of Versailles }}
Tracking category
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.
Template:Infobox treaty/TemplateData