Template:Location

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m (hmm odd.. new behaviour seems to ignore nowiki)
m
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'Location' template.
+
This is the 'Location' template.<br/>
It should be called in the following format:
+
Please dont't use it directly. Use the [[Form:Location|form]] instead.
<pre>
+
{{Location
+
|address=
+
|city=
+
|state=
+
|country=
+
|picture=<Filename, omitting File:, optional>
+
|coordinates=<optional>
+
|type=<optional, i.e. hackerspace, agglomeration; highschool>
+
|website=
+
|email=
+
|phonenumber=
+
}}
+
</pre>
+
Edit the page to see the template text.
+
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{| class="wikitable"
 
{| class="wikitable"
Line 40: Line 25:
 
| [[Has phonenumber::{{{phonenumber|}}}]]
 
| [[Has phonenumber::{{{phonenumber|}}}]]
 
! Email
 
! Email
| [[Has email address::{{#replace:{{{email|}}}|@|<nowiki> </nowiki>_theAtSign_<nowiki> </nowiki>}}]]
+
| {{#replace:{{{email|}}}|@|<nowiki> </nowiki>_theAtSign_<nowiki> </nowiki>}}
 
|-
 
|-
 
! Events upcoming at this location
 
! Events upcoming at this location
Line 78: Line 63:
 
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>

Latest revision as of 13:09, 23 June 2012

This is the 'Location' template.
Please dont't use it directly. Use the form instead.

Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools