Difference between revisions of "Template:Hackerspace"

From Sudo Room
Jump to: navigation, search
m (oops!)
Line 1: Line 1:
{{status=  
+
<noinclude>
 +
This is the 'Hackerspace' template.
 +
It should be called in the following format:
 +
<pre>
 +
{{Hackerspace
 +
|logo= https://si0.twimg.com/profile_images/783926641/logo.jpg
 +
|status=  
 
|country=  
 
|country=  
 
|city=  
 
|city=  
Line 30: Line 36:
 
|postalcode=  
 
|postalcode=  
 
}}
 
}}
 +
</pre>
 +
Edit the page to see the template text.
 +
</noinclude><includeonly>
 +
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 +
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 +
|-
 +
|colspan="2" align="center"| {{#if: {{{logo|}}}| {{150px image|{{{logo}}}}} }}
 +
|-
 +
! Status
 +
| [[Hackerspace status::{{{status|}}}]]
 +
|-
 +
! Country
 +
| [[Country::{{{country|}}}]]
 +
|-
 +
{{#if: {{{state|}}}|{{!}}'''State or District'''}}
 +
{{#if: {{{state|}}}|{{!}}{{rel|State|{{{state|}}}}}}}
 +
|-
 +
! City
 +
| [[City::{{{city|}}}]]
 +
|-
 +
{{#if: {{{founding|}}}|{{!}}'''Date of founding'''}}
 +
{{#if: {{{founding|}}}|{{!}}{{rel|Date of founding|{{{founding|}}}}}}}
 +
|-
 +
! Last Updated
 +
| [[Last Updated::{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}]]
 +
|-
 +
! Website
 +
| [[Website::{{{site|}}}]]
 +
|-
 +
{{#if: {{{wiki|}}}|{{!}}'''Wiki'''}}
 +
{{#if: {{{wiki|}}}|{{!}}{{rel|Wiki|{{{wiki|}}}}}}}
 +
|-
 +
{{#if: {{{irc|}}}|{{!}}'''IRC'''}}
 +
{{#if: {{{irc|}}}|{{!}}{{rel|IRC|{{{irc|}}}}}}}
 +
|-
 +
{{#if: {{{jabber|}}}|{{!}}'''Jabber'''}}
 +
{{#if: {{{jabber|}}}|{{!}}{{rel|Jabber|{{{jabber|}}}}}}}
 +
|-
 +
{{#if: {{{phone|}}}|{{!}}'''Phone'''}}
 +
{{#if: {{{phone|}}}|{{!}}{{rel|Phone|{{{phone|}}}}}}}
 +
|-
 +
{{#if: {{{youtube|}}}|{{!}}'''YouTube'''}}
 +
{{#if: {{{youtube|}}}|{{!}}{{rel|YouTube|{{{youtube|}}}}}}}
 +
|-
 +
{{#if: {{{eventbrite|}}}|{{!}}'''EventBrite'''}}
 +
{{#if: {{{eventbrite|}}}|{{!}}{{rel|EventBrite|{{{eventbrite|}}}}}}}
 +
|-
 +
{{#if: {{{facebook|}}}|{{!}}'''Facebook'''}}
 +
{{#if: {{{facebook|}}}|{{!}}{{rel|Facebook|{{{facebook|}}}}}}}
 +
|-
 +
{{#if: {{{ustream|}}}|{{!}}'''Ustream'''}}
 +
{{#if: {{{ustream|}}}|{{!}}{{rel|Ustream|{{{ustream|}}}}}}}
 +
|-
 +
{{#if: {{{webcam|}}}|{{!}}'''Webcam'''}}
 +
{{#if: {{{webcam|}}}|{{!}}{{rel|Webcam|{{{webcam|}}}}}}}
 +
|-
 +
{{#if: {{{skype|}}}|{{!}}'''Skype'''}}
 +
{{#if: {{{skype|}}}|{{!}}{{rel|Skype|{{{skype|}}}}}}}
 +
|-
 +
{{#if: {{{flickr|}}}|{{!}}'''Flickr'''}}
 +
{{#if: {{{flickr|}}}|{{!}}{{rel|Flickr|{{{flickr|}}}}}}}
 +
|-
 +
{{#if: {{{twitter|}}}|{{!}}'''Twitter'''}}
 +
{{#if: {{{twitter|}}}|{{!}}{{rel|Twitter|{{{twitter|}}}}}}}
 +
|-
 +
{{#if: {{{email|}}}|{{!}}'''E-mail'''}}
 +
{{#if: {{{email|}}}|{{!}}{{rel|Email|{{{email|}}}}}}}
 +
|-
 +
{{#if: {{{maillist|}}}|{{!}}'''Mailinglist'''}}
 +
{{#if: {{{maillist|}}}|{{!}}{{rel|Mailinglist|{{{maillist|}}}}}}}
 +
|-
 +
{{#if: {{{ical|}}}|{{!}}'''CalendarFeed'''}}
 +
{{#if: {{{ical|}}}|{{!}}{{rel|CalendarFeed|{{{ical|}}}|iCal feed}}}}
 +
|-
 +
! Snail mail
 +
|
 +
{{#if: {{{post-office-box|}}}|{{rel|post-office-box|{{{post-office-box|}}}}}<br/>}}
 +
{{#if: {{{street-address|}}}|{{rel|street-address|{{{street-address|}}}}}<br/>}}
 +
{{#if: {{{region|}}}|{{rel|region|{{{region|}}}}}-}}{{#if: {{{postalcode}}}|{{rel|postal-code|{{{postalcode|}}}}}&nbsp;}}{{{mail-city|{{{city|}}}}}}<br/>
 +
{{{country|}}}
 +
|-
 +
{{#if: {{{membercount|}}}|{{!}}'''Number of members'''}}
 +
{{#if: {{{membercount|}}}|{{!}}{{rel|Number of members|{{{membercount|}}}}}}}
 +
|-
 +
{{#if: {{{fee|}}}|{{!}}'''Membership fee'''}}
 +
{{#if: {{{fee|}}}|{{!}}{{rel|Membership fee|{{{fee|}}}}}}}
 +
|-
 +
{{#if: {{{size|}}}|{{!}}'''Size of rooms'''}}
 +
{{#if: {{{size|}}}|{{!}}{{rel|Size of rooms|{{{size|}}}}}}}
 +
|-
 +
! Members
 +
| {{#ask: [[member of::{{PAGENAME}}]]}}
 +
|-
 +
! Location
 +
| [[Location::{{{coordinate|}}}]]
 +
|-
 +
|colspan="2"| {{#if: {{{coordinate|}}}| {{Location|Coordinates={{{coordinate|}}} }} }}
 +
|}
 +
{{Page variables}}
 +
[[Category:Hackerspace]]
 +
</includeonly>

Revision as of 20:47, 26 November 2012

This is the 'Hackerspace' template. It should be called in the following format:

{{Hackerspace
|logo= https://si0.twimg.com/profile_images/783926641/logo.jpg
|status= 
|country= 
|city= 
|state= 
|founding= 
|site= 
|wiki= 
|irc= 
|jabber= 
|phone=
|youtube=
|eventbrite=
|facebook=
|ustream=
|webcam=
|skype=
|flickr=
|twitter=
|email=
|maillist= 
|ical=http://www.hax0rdojo.com/events.ical
|membercount= 
|fee= 
|size= 
|coordinate= 
|post-office-box= 
|street-address=
|mail-city= 
|region= 
|postalcode= 
}}

Edit the page to see the template text.