Template:City: Difference between revisions
Jump to navigation
Jump to search
Yaron Koren (talk | contribs) No edit summary |
Yaron Koren (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table= | {{#cargo_declare:_table=Cities_drilldownTabs=Map (format=openlayers;fields=_pageName,Coordinates),Timeline (format=timeline;fields=_pageName,Date_founded),Category tab (format=category;fields_pageName,Date_founded)|Country=Text|Date_founded=Date|Population=Integer|Coordinates=Coordinates}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#cargo_store:_table=Cities|Country={{{country|}}}|Date_founded={{{date founded|}}}|Population={{{population|}}}|Coordinates={{{coordinates|}}} }} | {{#cargo_store:_table=Cities|Country={{{country|}}}|Date_founded={{{date founded|}}}|Population={{{population|}}}|Coordinates={{{coordinates|}}} }} |
Revision as of 18:27, July 10, 2018
This is the 'City' template. It should be called in the following format:
{{City |country= |date founded= |population= |coordinates= }}
Edit the page to see the template text.
Error: table name "Cities_drilldownTabs=Map (format=openlayers;fields=_pageName,Coordinates),Timeline (format=timeline;fields=_pageName,Date_founded),Category tab (format=category;fields_pageName,Date_founded)" contains whitespaces. Whitespaces of any kind are not allowed; consider using underscores ("_") instead.