Template:Treaty infobox: Difference between revisions
Jump to navigation
Jump to search
(adjustments for blocs) |
m (padding for bloc members) |
||
(One intermediate revision by the same user not shown) | |||
Line 36: | Line 36: | ||
! colspan="2" class="infobox-blue-bg" {{!}} Signatories | ! colspan="2" class="infobox-blue-bg" {{!}} Signatories | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" class="infobox-images" {{!}} | {{!}} colspan="2" class="infobox-images" style="padding: 0.5em 0;" {{!}} | ||
{{{signatories}}} | {{{signatories}}} | ||
{{!}}- | {{!}}- | ||
Line 43: | Line 43: | ||
! colspan="2" class="infobox-blue-bg" {{!}} Former Signatories | ! colspan="2" class="infobox-blue-bg" {{!}} Former Signatories | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" class="infobox-images" {{!}} | {{!}} colspan="2" class="infobox-images" style="padding: 0.5em 0;" {{!}} | ||
{{{formersignatories}}} | {{{formersignatories}}} | ||
{{!}}- | {{!}}- | ||
Line 49: | Line 49: | ||
|}{{if ns|main| | |}{{if ns|main| | ||
[[Category:{{#if:{{{game|}}}|{{#if:{{{signatories|}}}{{{formersignatories|}}}|Blocs|Treaties}} in {{{game}}}|{{#if:{{{signatories|}}}{{{formersignatories|}}}|Blocs|Treaties}}}}]] | [[Category:{{#if:{{{game|}}}|{{#if:{{{signatories|}}}{{{formersignatories|}}}|Blocs|Treaties}} in {{{game}}}|{{#if:{{{signatories|}}}{{{formersignatories|}}}|Blocs|Treaties}}}}]] | ||
{{#switch:{{#if:{{{status|}}}|{{{status}}}|blank}} | {{#switch:{{lc:{{#if:{{{status|}}}|{{{status}}}|blank}}}} | ||
|active=[[Category:Active treaties]] | |active=[[Category:Active treaties]] | ||
|defunct|canceled|cancelled|expired=[[Category:Defunct treaties]] | |defunct|canceled|cancelled|expired=[[Category:Defunct treaties]] |
Latest revision as of 06:57, 18 July 2021
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.