Difference between revisions of "Template:Infobox civil conflict/Wikidata"

From blackwiki
Jump to navigation Jump to search
imported>Underlying lk
imported>Underlying lk
Line 5: Line 5:
 
| caption      =  
 
| caption      =  
 
| date        = {{#property:P580}}{{#if: {{#property:P580}}{{#property:P582}} | – }}{{#property:P582}}
 
| date        = {{#property:P580}}{{#if: {{#property:P580}}{{#property:P582}} | – }}{{#property:P582}}
| place        = {{#property:P766}}
+
| place        = {{#if: {{#property:P766}} | {{#invoke:PropertyLink|property|p766}} }}
 
| coordinates  = {{#if: {{#property:P625}} | {{Coor| {{#expr: {{Str left|{{#property:P625}}| {{#expr: {{Str find|{{#property:P625}}|,}} - 1 }} }} round 4}} | {{#expr: {{Str right|{{#property:P625}}| {{#expr: {{Str find|{{#property:P625}}|,}} + 0 }} }} round 4}} }} }}
 
| coordinates  = {{#if: {{#property:P625}} | {{Coor| {{#expr: {{Str left|{{#property:P625}}| {{#expr: {{Str find|{{#property:P625}}|,}} - 1 }} }} round 4}} | {{#expr: {{Str right|{{#property:P625}}| {{#expr: {{Str find|{{#property:P625}}|,}} + 0 }} }} round 4}} }} }}
 
| causes      =  
 
| causes      =  

Revision as of 20:00, 1 March 2014

Part of Script error: No such module "PropertyLink".
{{#property:P18}}
Date{{#property:P580}}–{{#property:P582}}
Location
Script error: No such module "PropertyLink".

Lua error: callParserFunction: function "#coordinates" was not found.
Methods{{#property:P31}}
Parties to the civil conflict
{{#property:P710}}
Casualties
Death(s){{#property:P1120}}

Try it in context