سانچہ:خانہ معلومات دو طرفہ تعلقات
Appearance
![]() | اس سانچے میں حسب ذیل لوا ماڈیول زیر استعمال ہے: |
{{country data {{{party1}}}
| flagbig/core | variant = | size = 50x45px | name = }} |
{{country data {{{party2}}}
| flagbig/core | variant = | size = 50x45px | name = }} |
---|---|
سفارت خانے | |
{{{mission1}}} | {{{mission2}}} |
مندوب | |
{{{envoytitle1}}} {{{envoy1}}} | {{{envoytitle2}}} {{{envoy2}}} |
Code
[ترمیم]{{خانہ معلومات دو طرفہ تعلقات
| title = <!-- country1–country2 relations -->
| party1 = <!-- country1 -->
| party2 = <!-- country2 -->
| map =
| filetype =
| size =
| mission1 =
| mission2 =
| envoytitle1 =
| envoy1 =
| envoytitle2 =
| envoy2 =
}}
Usage
[ترمیم]![]() | |
![]() کینیڈا |
![]() ریاستہائے متحدہ |
---|---|
سفارت خانے | |
Embassy of Canada, Washington, D.C. | Embassy of the United States, Ottawa |
مندوب | |
Ambassador Gary Doer | Ambassador Bruce Heyman |
- First, create the article that you need this template for. Let's use Canada–United States relations as an example.
- 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.)
party1
is the first governing entity of the article (in this case,Canada
)party2
is the second governing entity of the article (in this case,USA
)map
is an optional named parameter. Usingmap=Filename.png
will use a specific locator map named "Filename.png". (Default is "party1 party2 Locator.png".)filetype
is an optional named parameter. For example, puttingfiletype=svg
will use an SVG image under the same name, e.g. File:Canada USA Locator.svg. (Default is "png".)size
is an optional named parameter to specify the width of the template in pixels (default is "250px")mission1
is an optional named parameter to specify the diplomatic mission of party1mission2
is an optional named parameter to specify the diplomatic mission of party2envoytitle1
is an optional named parameter to specify the title of the diplomatic envoy of party1envoy1
is an optional named parameter to specify the name of the diplomatic envoy of party1envoytitle2
is an optional named parameter to specify the title of the diplomatic envoy of party2envoy2
is an optional named parameter to specify the name of the diplomatic envoy of party2flagvariant1
is an optional named parameter to specify a flag variant supported by the corresponding Country data template for the first party.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 زمرہ:خانہ معلومات دو طرفہ تعلقات کا استعمال بلا نقشہ
SVG maps highlighting the relevant countries can be easily created using a text editor, without need of graphics software. Download File:BlankMap-World6.svg, and open the file in a text editor. Add the following code to the source, just before the </style>
tag:
.xx {fill:#339933;} .yy {fill:#E08020;}
Where xx and yy are the ISO 3166-1 alpha-2 country codes for party1
and party2
, respectively. Save the file, rename it to the preferred name as described above, and upload the file.
Microformat
[ترمیم]Tracking category
[ترمیم]اوپر دی گئی دستاویز صفحہ سانچہ:خانہ معلومات دو طرفہ تعلقات/دستاویز سے شامل کی گئی ہے۔ (ترمیم | تاریخچہ) صارفین سانچہ کے تختہ مشق (ترمیم | فرق) اور ثابتات (تخلیق) میں تجربات کرسکتے ہیں۔ براہ کرم /دستاویز کے ذیلی صفحہ پر زمرہ جات شامل فرمائیں۔ اس سانچہ کے ذیلی صفحات۔ |