Difference between revisions of "Template:Fablab"

From Fab Lab Wiki - by NMÍ Kvikan
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'Fablab' template.
+
This is the "Fablab" template.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Fablab
+
{{Fablab}}
|logo=
+
|status=
+
|country=
+
|city=
+
|state=
+
|founding=
+
|501c3=
+
|site=
+
|wiki=
+
|meetup =
+
|irc=
+
|jabber=
+
|phone=
+
|youtube=
+
|eventbrite=
+
|facebook=
+
|ustream=
+
|webcam=
+
|skype=
+
|flickr=
+
|twitter=
+
|googleplus=
+
|email=
+
|maillist=
+
|ical=
+
|membercount=
+
|fee=
+
|size=
+
|exchanges=
+
|residencies=
+
|coordinate=
+
|post-office-box=
+
|street-address=
+
|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: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
{| class="wikitable"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
+
|-
+
|colspan="2" align="center"| {{#if: {{{logo|}}}| {{150px image|{{{logo}}}}} }}
+
|-
+
! Status
+
| [[Fablab 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|}}}}}}}
+
|-
+
{{#if: {{{501c3|}}}|{{!}}'''501c3 Charity'''}}
+
{{#if: {{{501c3|}}}|{{!}}{{rel|501c3 Charity|{{{501c3|}}}}}}}
+
|-
+
! Last Updated
+
| [[Last Updated::{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}]]
+
|-
+
! Website
+
| [[Website::{{{site|}}}]]
+
|-
+
{{#if: {{{wiki|}}}|{{!}}'''Wiki'''}}
+
{{#if: {{{wiki|}}}|{{!}}{{rel|Wiki|{{{wiki|}}}}}}}
+
|-
+
{{#if: {{{meetup|}}}|{{!}}'''meetup'''}}
+
{{#if: {{{meetup|}}}|{{!}}{{rel|Meetup|{{{meetup|}}}}}}}
+
|-
+
{{#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: {{{googleplus|}}}|{{!}}'''GooglePlus'''}}
+
{{#if: {{{googleplus|}}}|{{!}}{{rel|GooglePlus|{{{googleplus|}}}}}}}
+
|-
+
{{#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}}]]}}
+
|-
+
! Open to [[Exchanges]]?
+
| [[Exchanges::{{{exchanges|}}}]]
+
|-
+
! Open to [[Residencies]]?
+
| [[Residencies::{{{residencies|}}}]]
+
|-
+
! Location
+
| [[Location::{{{coordinate|}}}]]
+
|-
+
|colspan="2"| {{#if: {{{coordinate|}}}| {{#if: {{{zoom|}}}| {{Location|Coordinates={{{coordinate|}}}|Zoom={{{zoom|}}} }}| {{Location|Coordinates={{{coordinate|}}} }} }} }}
+
|-
+
|colspan="2"|
+
{{vCard
+
|search=[[Pagename::{{PAGENAME}}]]
+
}}
+
 
|}
 
|}
{{Page variables}}
+
 
 
[[Category:Fablab]]
 
[[Category:Fablab]]
 
</includeonly>
 
</includeonly>

Revision as of 10:31, 7 December 2013

This is the "Fablab" template. It should be called in the following format:

{{Fablab}}

Edit the page to see the template text.