Template:Treaty infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m more specific error |
||
| Line 3: | Line 3: | ||
|- | |- | ||
| colspan="2" class="infobox-images" | | | colspan="2" class="infobox-images" | | ||
{{#if:{{{signatories|}}}|{{#if:{{{signatory1|}}}{{{signatory2|}}}|{{error|mixed infobox usage}}}} | {{#if:{{{signatories|}}}|{{#if:{{{signatory1|}}}{{{signatory2|}}}|{{error|mixed infobox usage (signatories)}}}} | ||
{{{signatories}}} | {{{signatories}}} | ||
| | | | ||
Revision as of 20:03, 19 August 2020
Documentation [edit]
This is an infobox for a treaty between two or more entities. See also {{flaglink}} which can be used for the signatories (use format=large).
Parameters
- game - the game in which the treaty is/was effective. Leave blank if none or multiple.
- name - (optional) the name of the treaty; defaults to the page name.
- image - (optional) an image for the treaty if one exists, such as a flag or banner.
- imagedesc - (optional) a short description of the image. Defaults to "(treaty name) flag".
- signatory1 and signatory2 - for bilateral treaties, each of these should be the signatory name only.
- flag1 and flag2 - for bilateral treaties, each of these should be the signatory's flag name and extension only.
- signatories - only use this if there are more than two signatories. This is a freeform field, but usually you will want to use the same format as bilateral treaties.
- formersignatories - same as above to list former members of a multilateral treaty. For defunct treaties, all members should be listed here.
- type - the type of treaty.
- status - the current status of the treaty. Can be one of: Active, Defunct, Canceled, Expired, Superseded. Contact an administrator if other statuses are needed.
- statustext - (optional) any further explanation on the treaty's status.
- signed - the date the treaty was signed and/or came into effect.
- terminated - if applicable, the date the treaty ceased to apply or no longer had signatories.
- link - a link to the announcement of the treaty. Use
{{forumlink}}if applicable, otherwise use an external link.
Skeleton
Bilteral
{{Treaty infobox
|game =
|signatory1 =
|flag1 =
|signatory2 =
|flag2 =
|type =
|status =
|signed =
|terminated =
|link =
}}
Bloc
{{Treaty infobox
|game =
|image =
|type =
|status =
|signed =
|terminated =
|link =
|signatories =
|formersignatories =
}}The above documentation is transcluded from Template:Treaty infobox/doc.