الگو:جعبه اطلاعات روابط بین کشورها

از ویکی‌پدیا، دانشنامهٔ آزاد
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]
{{{title}}}
[[{{{party1}}}]] [[{{{party2}}}]]
سفارت
{{{mission1}}} {{{mission2}}}
Envoy
{{{envoytitle1}}} {{{envoy1}}} {{{envoytitle2}}} {{{envoy2}}}


Code[ویرایش]

{{Infobox bilateral relations
| title       = 
| party1      = 
| party2      = 
| map         = 
| filetype    = 
| size        = 
| mission1    = 
| mission2    = 
| envoytitle1 = 
| envoy1      = 
| envoytitle2 = 
| envoy2      = 
}}

Usage[ویرایش]

Canada–United States (روابط)
Map indicating locations of Canada and USA

کانادا

ایالات متحده آمریکا
سفارت
Embassy of Canada, Washington, D.C. سفارت ایالات متحده آمریکا، اتاوا
Envoy
Ambassador Gary Doer Ambassador Bruce Heyman
  1. First, create the article that you need this template for. Let's use روابط ایالات متحده آمریکا و کانادا as an example.
  2. Create a map using the following name: File:<first country name> <second country name> Locator.png (for example, File:Canada USA Locator.png). (Differently named maps can be specified by using the "map=" parameter.)
  3. party1 is the first governing entity of the article (in this case, Canada)
  4. party2 is the second governing entity of the article (in this case, USA)
  5. map is an optional named parameter. Using map=Filename.png will use a specific locator map named "Filename.png". (Default is "party1 party2 Locator.png".)
  6. filetype is an optional named parameter. For example, putting filetype=svg will use an SVG image under the same name, e.g. File:Canada USA Locator.svg. (Default is "png".)
  7. size is an optional named parameter to specify the width of the template in pixels (default is "250px")
  8. mission1 is an optional named parameter to specify the diplomatic mission of party1
  9. mission2 is an optional named parameter to specify the diplomatic mission of party2
  10. envoytitle1 is an optional named parameter to specify the title of the diplomatic envoy of party1
  11. envoy1 is an optional named parameter to specify the name of the diplomatic envoy of party1
  12. envoytitle2 is an optional named parameter to specify the title of the diplomatic envoy of party2
  13. envoy2 is an optional named parameter to specify the name of the diplomatic envoy of party2
  14. flagvariant1 is an optional named parameter to specify a flag variant supported by the corresponding Country data template for the first party.
  15. flagvariant2 is an optional named parameter to specify a flag variant supported by the corresponding Country data template for the second party.

Map[ویرایش]

The template checks for the existence of a map. Articles for which a map does not exist are added to رده:کاربرد جعبه اطلاعات روابط بین کشورها بدون نقشه‌ها

Microformat[ویرایش]

The HTML mark up produced by this template includes an ADR microformat, which makes postal addresses (or their component parts, such as regions, postal codes or country-names) تجزیه‌کننده by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

ADR uses HTML classes including:

  • adr
  • country-name
  • extended-address
  • locality
  • postal-code
  • region
  • street-address

Please do not rename or remove these classes.

Tracking category[ویرایش]