Template:Treaty infobox: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(create)
 
mNo edit summary
Line 1: Line 1:
{| class="infobox {{#if:{{{game|}}}|{{{game}}}|othergame}}"
<includeonly>{| class="infobox {{#if:{{{game|}}}|{{{game}}}|othergame}}"
! colspan="2" class="infobox-header" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! colspan="2" class="infobox-header" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-
Line 32: Line 32:
|}{{if ns|main|
|}{{if ns|main|
[[Category:{{#if:{{{game|}}}|Treaties in {{{game}}}|Treaties}}]]
[[Category:{{#if:{{{game|}}}|Treaties in {{{game}}}|Treaties}}]]
}}<noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 23:53, 12 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.