Difference between revisions of "Template:AmbassadorsToHere"

From Wikispooks
Jump to navigation Jump to search
(New SMWDocs template)
 
(High Commissioner)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''This template creates a section listing the [[Nation state]]s which have location <nowiki>{{PAGENAME}}</nowiki>.''' It has no parameters.
+
<noinclude>'''This template creates a section listing the [[Employment]]s which are ambassadors to (the) <nowiki>{{PAGENAME}}</nowiki>.''' It has no parameters.
  
If the page name is a Nation states, it makes a section:
+
If there are any such pages, it makes a section:
==''Ambassador(s) to nowiki>{{PAGENAME}}</nowiki>''==
+
==''Ambassador(s) to <nowiki>{{PAGENAME}}</nowiki>''==
 
Plus a table of ambassador(s) to here underneath
 
Plus a table of ambassador(s) to here underneath
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
|expression=[[Has fullPageName::~*Ambassador to {{PAGENAME}}]][[Constitutes::Nation state]]
+
|expression=[[Has fullPageName::~*Ambassador to {{PAGENAME}}]] OR [[Has fullPageName::~*Ambassador to the {{PAGENAME}}]] OR [[Has fullPageName::~*High Commissioner to {{PAGENAME}}]] OR [[Has fullPageName::~*High Commissioner to the {{PAGENAME}}]]  
 
|caption_singular=An ambassador to {{PAGENAME}}
 
|caption_singular=An ambassador to {{PAGENAME}}
 
|caption_plural=Ambassadors to {{PAGENAME}}
 
|caption_plural=Ambassadors to {{PAGENAME}}
 
|mainlabel = Nation state
 
|mainlabel = Nation state
|properties=Display date/Description
+
|properties=Start/Description
|headers=Date/Description
+
|headers=Start/Description
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 01:37, 4 June 2019

This template creates a section listing the Employments which are ambassadors to (the) {{PAGENAME}}. It has no parameters.

If there are any such pages, it makes a section:

Ambassador(s) to {{PAGENAME}}

Plus a table of ambassador(s) to here underneath