Template:Map Location: Difference between revisions
From HOPE Wiki
mNo edit summary |
m updated to use the Cargo extension |
||
| Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly> | ||
|{{ | {{#cargo_store: | ||
|{{#invoke:MapLocation|infobox}} | _table=MapLocations | ||
|Name={{{name|{{PAGENAME}}}}} | |||
|Location={{{lat|}}},{{{lon|}}} | |||
|Category={{{category|Other}}} | |||
|Description={{{description|}}} | |||
|Hours={{{hours|}}} | |||
|URL={{{url|}}} | |||
}} | |||
{{#invoke:MapLocation|infobox}} | |||
</includeonly> | |||
<noinclude> | |||
{{#cargo_declare: | |||
_table=MapLocations | |||
|Name=String | |||
|Location=Coordinates | |||
|Category=String | |||
|Description=Text | |||
|Hours=String | |||
|URL=URL | |||
}} | |||
This template marks a page as a location on the HOPE local map. | |||
== Example == | == Example == | ||
| Line 14: | Line 36: | ||
|category=Hotel | |category=Hotel | ||
|description=HOPE 26 conference hotel. | |description=HOPE 26 conference hotel. | ||
|url=https://www.newyorkerhotel.com/ | |url=https://www.newyorkerhotel.com/ | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
Revision as of 22:26, 9 July 2026
{{#cargo_declare:
_table=MapLocations |Name=String |Location=Coordinates |Category=String |Description=Text |Hours=String |URL=URL
}}
This template marks a page as a location on the HOPE local map.
Example
{{Map Location
|name=The New Yorker Hotel
|lat=40.7527316
|lon=-73.9936287
|category=Hotel
|description=HOPE 26 conference hotel.
|url=https://www.newyorkerhotel.com/
}}
