Template:Location: Difference between revisions
From The Seven Sages of Rome
m Text replacement - "\|\s*format\s*=\s*datatable\b" to "|format=datatables" |
No edit summary |
||
| Line 11: | Line 11: | ||
<h2 class="cc-card-heading">Metadata</h2> | <h2 class="cc-card-heading">Metadata</h2> | ||
<div class="cc-card-body"> | <div class="cc-card-body"> | ||
{{TableAttributeNew|type=text|display_name=Type|value={{{Has Location Type|}}}|property=Has Location Type}} | {{TableAttributeNew|type=text|display_name=Type|value={{{Has Location Type|}}}|property=Has Location Type}} | ||
{{TableAttributeNew|type=attr|display_name=Located in|value={{{Is Located In|}}}|property=Is Located In|form=Location}} | {{TableAttributeNew|type=attr|display_name=Located in|value={{{Is Located In|}}}|property=Is Located In|form=Location}} | ||
| Line 105: | Line 104: | ||
</div> | </div> | ||
[[Category:Location]]{{#set:Is Entity Type=Location}}{{#switch: {{{Has Location Type|}}} | Country = [[Category:Country]] | City = [[Category:City]] }}</includeonly> | [[Category:Location]]{{#set:Is Entity Type=Location}}{{#switch: {{{Has Location Type|}}} | Country = [[Category:Country]] | City = [[Category:City]] }}{{#if:{{{Has Coordinates|}}}|{{{#set:Has Coordinates={{{Has Coordinates|}}}}}|}}</includeonly> | ||