Template:Location
From syn2cat - HackerSpace.lu
(Difference between revisions)
m (hmm odd.. new behaviour seems to ignore nowiki) |
m (don't obfuscate email address in semantic data) |
||
| Line 40: | Line 40: | ||
| [[Has phonenumber::{{{phonenumber|}}}]] | | [[Has phonenumber::{{{phonenumber|}}}]] | ||
! Email | ! Email | ||
| − | | | + | | {{#replace:{{{email|}}}|@|<nowiki> </nowiki>_theAtSign_<nowiki> </nowiki>}} |
|- | |- | ||
! Events upcoming at this location | ! Events upcoming at this location | ||
| Line 78: | Line 78: | ||
Has coordinates={{#if: {{{coordinates|}}} | {{{coordinates}}} | {{#geocode:{{{address}}} {{{city}}} {{{country}}} }} }} | Has coordinates={{#if: {{{coordinates|}}} | {{{coordinates}}} | {{#geocode:{{{address}}} {{{city}}} {{{country}}} }} }} | ||
| Has picture={{#if: {{{picture|}}} | [[File:{{{picture}}}]] }} | | Has picture={{#if: {{{picture|}}} | [[File:{{{picture}}}]] }} | ||
| + | | Has email address={{{email|}}} | ||
}} | }} | ||
</includeonly> | </includeonly> | ||
Revision as of 13:25, 18 February 2012
This is the 'Location' template. It should be called in the following format:
{{Location
|address=
|city=
|state=
|country=
|picture=<Filename, omitting File:, optional>
|coordinates=<optional>
|type=<optional, i.e. hackerspace, agglomeration; highschool>
|website=
|email=
|phonenumber=
}}
Edit the page to see the template text.