Template:Infobox diplomatic mission: Difference between revisions
old>Garimidia m (1 revision from wikipedia:Template:Infobox diplomatic mission) |
m (1 revision imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{ | {{infobox | ||
|above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | |||
| | |aboveclass = fn org | ||
{{#if: {{{ | |bodyclass = vcard | ||
{{ | |bodystyle = {{#if:{{{mainwidth|}}}|width: {{{mainwidth}}}}} | ||
|child = {{#ifeq:{{{embed|}}}|<includeonly>yes</includeonly>}} | |||
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}} | |||
|caption = {{{caption|{{{image_caption|}}}}}} | |||
|label1 = Location | |||
| data1 = {{{location|}}} | |||
|class1 = label | |||
{{ | |||
}} | |label2 = Address | ||
{{#if: {{{ | | data2 = {{{address|}}} | ||
{{ | |label3 = Coordinates | ||
|{{{ | | data3 = {{{coord|{{{coordinates|}}}}}} | ||
|label4 = {{#if:{{{opened|{{{opened_date|}}}}}}|Opened|Opening}} | |||
{{ | | data4 = {{ifempty|{{{opened|}}}|{{{opened_date|}}}|{{{opening|}}}|{{{opening_date|}}}}} | ||
{{ | |||
{{ | |label5 = Inaugurated | ||
{{ | | data5 = {{{inauguration|{{{inauguration_date|}}}}}} | ||
{{ | |label6 = Relocated | ||
{{ | | data6 = {{{relocation|{{{relocation_date|}}}}}} | ||
{{ | |||
|label7 = Renovated | |||
| data7 = {{{renovation|{{{renovation_date|}}}}}} | |||
{{ | |||
{{ | |label8 = Closed | ||
{{ | | data8 = {{{closing|{{{closing_date|}}}}}} | ||
|label9 = Ambassador | |||
{{ | | data9 = {{{ambassador|}}} | ||
{{ | |class9 = agent | ||
{{ | |||
|label10 = Jurisdiction | |||
| data10 = {{{jurisdiction|}}} | |||
{{ | |||
{{ | |label11 = {{nowr|[[Apostolic Nunciature|Apostolic Nuncio]]}} | ||
{{ | | data11 = {{{nuncio|{{{apostolic_nuncio|}}}}}} | ||
{{ | |class11 = agent | ||
}} | |||
{{ | |label12 = [[Consul General]] | ||
{{ | | data12 = {{{consul|{{{consul_general|}}}}}} | ||
|class12 = agent | |||
{{ | |||
}} | |label13 = {{nowr|[[High commissioner (Commonwealth)|High Commissioner]]}} | ||
|}<noinclude>{{ | | data13 = {{{commissioner|{{{high_commissioner|}}}}}} | ||
|class13 = agent | |||
|label14 = Deputy High Commissioner | |||
| data14 = {{{deputy|{{{deputy_high_commissioner|}}}}}} | |||
|class14 = agent | |||
|label15 = {{nowr|''[[Chargé d'affaires]]''}} | |||
| data15 = {{{charge|{{{chargé_d'affaires|}}}}}} | |||
|class15 = agent | |||
|label16 = [[Special Envoy]] | |||
| data16 = {{{special_envoy|{{{special_envoy|}}}}}} | |||
|class16 = agent | |||
|label17 = Website | |||
| data17 = {{{website|{{{URL|{{{url|}}}}}}}}} | |||
| data18 = {{{module|}}} | |||
| data19 = {{{module2|}}} | |||
| data20 = {{{module3|}}} | |||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox diplomatic mission with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox diplomatic mission]] with unknown parameter "_VALUE_"|ignoreblank=y| address | alt | ambassador | apostolic_nuncio | bodyclass | caption | charge | chargé_d'affaires | closing | closing_date | commissioner | consul_general | consul | coord | coordinates | deputy | deputy_high_commissioner | embed | high_commissioner | special_envoy | image | image_caption | image_size | image_upright | imagesize | inauguration | inauguration_date | jurisdiction | location | mainwidth | module | module2 | module3 | name | nuncio | opened | opened_date | opening | opening_date | relocation_date | relocation | renovation | renovation_date | URL | url | website }}<noinclude> | |||
{{Documentation}}<!-- Add category links to the /doc subpage, not here! --> | |||
</noinclude> |
Latest revision as of 23:45, 25 February 2019
This template uses Lua: |
{{Infobox diplomatic mission}} may be used to summarize information about a diplomatic mission; a group of people from one state present in another state to represent the sending state officially in the receiving state.
Usage
{{{name}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]] | |
Location | {{{location}}} |
Address | {{{address}}} |
Coordinates | {{{coord}}} |
Opened | {{{opened}}} |
Inaugurated | {{{inauguration}}} |
Relocated | {{{relocation}}} |
Renovated | {{{renovation}}} |
Closed | {{{closing}}} |
Ambassador | {{{ambassador}}} |
Jurisdiction | {{{jurisdiction}}} |
Apostolic Nuncio | {{{nuncio}}} |
Consul General | {{{consul}}} |
High Commissioner | {{{commissioner}}} |
Deputy High Commissioner | {{{deputy}}} |
Chargé d'affaires | {{{charge}}} |
Special Envoy | {{{special_envoy}}} |
Website | {{{website}}} |
{{{module}}} | |
{{{module2}}} | |
{{{module3}}} |
{{Infobox diplomatic mission | name = | mainwidth = | embed = | image = | image_size = | imagesize = | image_upright = | alt = | caption = | image_caption = | location = | address = | coord = | coordinates = | opened = | opened_date = | opening = | opening_date = | inauguration = | inauguration_date = | relocation = | relocation_date = | renovation = | renovation_date = | closing = | closing_date = | ambassador = | jurisdiction = | nuncio = | apostolic_nuncio = | consul = | consul_general = | commissioner = | high_commissioner = | deputy = | deputy_high_commissioner = | charge = | chargé_d'affaires = | special_envoy = | website = | URL = | url = | module = | module2 = | module3 = }}
Microformat
The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable 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. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes nor collapse nested elements which use them.
Precision
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.