Difference between revisions of "Template:Hackerspace"

From Sudo Room
Jump to navigation Jump to search
 
m (99 revisions: uploads deprecated wiki from Hackerspaces.org pages beginning with /Sudo_room/)
 
(65 intermediate revisions by 5 users not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Hackerspace
 
{{Hackerspace
|logo=
+
|logo= https://si0.twimg.com/profile_images/783926641/logo.jpg
|wikipedia=
+
|status=  
|country=
+
|country=  
|city=
+
|city=  
|state=
+
|state=  
|founding=
+
|founding=  
|site=
+
|site=  
|wiki=
+
|wiki=  
 
|irc=  
 
|irc=  
|jabber=
+
|jabber=
 +
|phone=
 +
|youtube=
 +
|eventbrite=
 +
|facebook=
 +
|ustream=
 +
|webcam=
 +
|skype=
 +
|flickr=
 +
|twitter=
 
|email=
 
|email=
|mailinglist=
+
|maillist=  
|membercount=
+
|ical=http://www.hax0rdojo.com/events.ical
|fee=
+
|membercount=  
|coordinate=
+
|fee=  
<!-- snail mail -->
+
|size=  
|postalcode=
+
|coordinate=  
|post-office-box=
+
|post-office-box=  
 
|street-address=
 
|street-address=
|region=
+
|mail-city=
 +
|region=
 +
|postalcode=  
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
{| 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>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
|-
 
|-
|colspan="2" align="center"| {{150px image|{{{logo}}}}}
+
|colspan="2" align="center"| {{#if: {{{logo|}}}| {{150px image|{{{logo}}}}} }}
 
|-
 
|-
! Wikipedia
+
! Status
| [[Wikipedia-Link::{{{wikipedia|}}}]]
+
| [[Hackerspace status::{{{status|}}}]]
 
|-
 
|-
 
! Country
 
! Country
 
| [[Country::{{{country|}}}]]
 
| [[Country::{{{country|}}}]]
 
|-
 
|-
! State or Distrinct
+
{{#if: {{{state|}}}|{{!}}'''State or District'''}}
| [[State::{{{state|}}}]]
+
{{#if: {{{state|}}}|{{!}}{{rel|State|{{{state|}}}}}}}
 
|-
 
|-
 
! City
 
! City
 
| [[City::{{{city|}}}]]
 
| [[City::{{{city|}}}]]
 
|-
 
|-
! Date of founding
+
{{#if: {{{founding|}}}|{{!}}'''Date of founding'''}}
| [[Date of founding::{{{founding|}}}]]
+
{{#if: {{{founding|}}}|{{!}}{{rel|Date of founding|{{{founding|}}}}}}}
 +
|-
 +
! Last Updated
 +
| [[Last Updated::{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}]]
 
|-
 
|-
 
! Website
 
! Website
 
| [[Website::{{{site|}}}]]
 
| [[Website::{{{site|}}}]]
 
|-
 
|-
! Wiki
+
{{#if: {{{wiki|}}}|{{!}}'''Wiki'''}}
| [[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|}}}}}}}
 
|-
 
|-
! IRC
+
{{#if: {{{flickr|}}}|{{!}}'''Flickr'''}}
| [[IRC::{{{irc|}}}]]
+
{{#if: {{{flickr|}}}|{{!}}{{rel|Flickr|{{{flickr|}}}}}}}
 
|-
 
|-
! Jabber
+
{{#if: {{{twitter|}}}|{{!}}'''Twitter'''}}
| [[Jabber::{{{jabber|}}}]]
+
{{#if: {{{twitter|}}}|{{!}}{{rel|Twitter|{{{twitter|}}}}}}}
 
|-
 
|-
! E-mail
+
{{#if: {{{email|}}}|{{!}}'''E-mail'''}}
| [[Email::{{{email|}}}]]
+
{{#if: {{{email|}}}|{{!}}{{rel|Email|{{{email|}}}}}}}
 
|-
 
|-
! Mailinglist
+
{{#if: {{{maillist|}}}|{{!}}'''Mailinglist'''}}
| [[Mailinglist::{{{maillist|}}}]]
+
{{#if: {{{maillist|}}}|{{!}}{{rel|Mailinglist|{{{maillist|}}}}}}}
 +
|-
 +
{{#if: {{{ical|}}}|{{!}}'''CalendarFeed'''}}
 +
{{#if: {{{ical|}}}|{{!}}{{rel|CalendarFeed|{{{ical|}}}|iCal feed}}}}
 
|-
 
|-
 
! Snail mail
 
! Snail mail
 
|
 
|
[[post-office-box::{{{post-office-box|}}}]]<br/>
+
{{#if: {{{post-office-box|}}}|{{rel|post-office-box|{{{post-office-box|}}}}}<br/>}}
[[street-address::{{{street-address|}}}]]<br/>
+
{{#if: {{{street-address|}}}|{{rel|street-address|{{{street-address|}}}}}<br/>}}
[[region::{{{region|}}}]] [[postal-code::{{{postalcode|}}}]] {{{city|}}}<br/>
+
{{#if: {{{region|}}}|{{rel|region|{{{region|}}}}}-}}{{#if: {{{postalcode}}}|{{rel|postal-code|{{{postalcode|}}}}}&nbsp;}}{{{mail-city|{{{city|}}}}}}<br/>
 
{{{country|}}}
 
{{{country|}}}
 
|-
 
|-
! Number of members
+
{{#if: {{{membercount|}}}|{{!}}'''Number of members'''}}
| [[Number of members::{{{membercount|}}}]]
+
{{#if: {{{membercount|}}}|{{!}}{{rel|Number of members|{{{membercount|}}}}}}}
 +
|-
 +
{{#if: {{{fee|}}}|{{!}}'''Membership fee'''}}
 +
{{#if: {{{fee|}}}|{{!}}{{rel|Membership fee|{{{fee|}}}}}}}
 
|-
 
|-
! Membership fee
+
{{#if: {{{size|}}}|{{!}}'''Size of rooms'''}}
| [[Membership fee::{{{fee|}}}]]
+
{{#if: {{{size|}}}|{{!}}{{rel|Size of rooms|{{{size|}}}}}}}
 
|-
 
|-
 
! Members
 
! Members
Line 85: Line 132:
 
| [[Location::{{{coordinate|}}}]]
 
| [[Location::{{{coordinate|}}}]]
 
|-
 
|-
|colspan="2"| {{#if:{{{coordinate}}}| {{Location|Coordinates={{{coordinate|}}} }} }}
+
|colspan="2"| {{#if: {{{coordinate|}}}| {{Location|Coordinates={{{coordinate|}}} }} }}
 
|}
 
|}
 
+
{{Page variables}}
 
[[Category:Hackerspace]]
 
[[Category:Hackerspace]]
 
</includeonly>
 
</includeonly>

Latest revision as of 01:48, 27 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.