Difference between revisions of "Template:Topic"

From Cornelis Drebbel
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Topic" template.
+
This is the "Topic store" template.
 +
{{#cargo_declare:_table=Topic
 +
|Auteur=List (,) of String
 +
|About=List (,) of String
 +
|Language=String
 +
|Location=String
 +
|Year_of_publication=Date
 +
|Coord=Coordinates }}
 +
 
 
</noinclude>
 
</noinclude>
  
 
<includeonly>
 
<includeonly>
{{#cargo_query:
+
{{#cargo_store:_table=Topic
tables=Topic, _pageData
+
|Auteur={{{Auteur|}}}
|fields=Topic.Auteur, Topic.About, Topic.Language, Topic.Location, Topic.Year_of_publication, Topic._pageName, _pageData._categories
+
|About={{{About|}}}
|where= Language like "{{{Language|%}}}" and Location like "{{{Location |%}}}"
+
|Language={{{Language|}}}
|join on=Topic._pageName=_pageData._pageName
+
|Location={{{Location|}}}
|format=table
+
|Year_of_publication={{{Year_of_publication|}}}
 +
|Coord={{#geocode:{{{Location|}}}}}
 
}}
 
}}
 +
[[Places::{{#geocode:{{{Location|}}}}}|{{{Location|}}}]]
 
</includeonly>
 
</includeonly>

Latest revision as of 12:40, 22 November 2020

This is the "Topic store" template. This template defines the table "Topic". View table.