Template:Treaty infobox/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(create)
 
(update)
Line 6: Line 6:
*'''game''' - the [[:Category:Games|game]] in which the treaty is/was effective. Leave blank if none or multiple.
*'''game''' - the [[:Category:Games|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.
*'''name''' - (optional) the name of the treaty; defaults to the page name.
*'''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: link to signatory's page, <code><nowiki><br /></nowiki></code> (manual line break), signatory's flag at 150px width, then two line breaks before the next signatory.
*'''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.
*'''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.
*'''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: link to signatory's page, <code><nowiki><br /></nowiki></code> (manual line break), signatory's flag at 150px width, then two line breaks before the next signatory.
*'''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.
*'''type''' - the type of treaty.
*'''status''' - the current status of the treaty (if defunct, you can specify why).
*'''status''' - the current status of the treaty. Can be one of: Active, Defunct, Canceled, Expired, Superseded. Contact an [[NPOWiki:Administrators|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.
*'''signed''' - the date the treaty was signed and/or came into effect.
*'''terminated''' - if applicable, the date the treaty ceased to apply.
*'''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 {{t|forumlink}} if applicable, otherwise use an external wikilink.
*'''link''' - a link to the announcement of the treaty. Use {{t|forumlink}} if applicable, otherwise use an external link.


==Skeleton==
==Skeleton==
===Bilteral===
<pre>{{Treaty infobox
<pre>{{Treaty infobox
|game =  
|game =  
Line 27: Line 32:
|terminated =  
|terminated =  
|link =  
|link =  
}}</pre>
===Bloc===
<pre>{{Treaty infobox
|game =
|image =
|type =
|status =
|signed =
|terminated =
|link =
|signatories =
|formersignatories =
}}</pre>
}}</pre>


<includeonly>[[Category:Infobox templates]]</includeonly>
<includeonly>[[Category:Infobox templates]]</includeonly>

Revision as of 09:36, 12 July 2021

This page contains the documentation for Template:Treaty infobox. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.

This is an infobox for a treaty between two or more entities.

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: link to signatory's page, <br /> (manual line break), signatory's flag at 150px width, then two line breaks before the next signatory.
  • 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 = 
}}