Difference between revisions of "Template:Infobox hackerspace"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
(added zipcode)
 
(6 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Information
 
! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Information
 
|-
 
|-
{{#if:{{{country|<noinclude>x</noinclude>}}}|
+
{{#if:{{{address|<noinclude>x</noinclude>}}}|
! Country
+
! Address
{{!}} {{{country}}}
+
{{!}} {{{address}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{city|<noinclude>x</noinclude>}}}|
 +
! City
 +
{{!}} {{{city}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 20: Line 25:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{city|<noinclude>x</noinclude>}}}|
+
{{#if:{{{zip|<noinclude>x</noinclude>}}}|
! City
+
! Zip Code
{{!}} {{{city}}}
+
{{!}} {{{zip}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{country|<noinclude>x</noinclude>}}}|
 +
! Country
 +
{{!}} {{{country}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 28: Line 38:
 
! Website
 
! Website
 
{{!}} {{{website}}}
 
{{!}} {{{website}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{email|<noinclude>x</noinclude>}}}|
 +
! E-mail
 +
{{!}} [mailto:{{{email}}} {{{email}}}]
 +
{{!}}-
 +
}}
 +
{{#if:{{{irc|<noinclude>x</noinclude>}}}|
 +
! IRC
 +
{{!}} {{{irc}}}
 +
{{!}}-
 +
}}
 +
{{#ifeq: {{{media|<noinclude>yes</noinclude>}}}| yes
 +
|! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} Social Media
 +
{{!}}-
 +
! colspan="2" style="text-align: center;"{{!}}
 +
{{#if:{{{digg|<noinclude>x</noinclude>}}}|[[Image:Digg_Icon.png|30px|link={{{digg}}}|alt=Digg]]}}{{#if:{{{facebook|<noinclude>x</noinclude>}}}|[[Image:Facebook_Icon.png|30px|link={{{facebook}}}|alt=Facebook]]}}{{#if:{{{flickr|<noinclude>x</noinclude>}}}|[[Image:Flickr_Icon.png|30px|link={{{flickr}}}|alt=Flickr]]}}{{#if:{{{myspace|<noinclude>x</noinclude>}}}|[[Image:Myspace_Icon.png|30px|link={{{myspace}}}|alt=MySpace]]}}{{#if:{{{twitter|<noinclude>x</noinclude>}}}|[[Image:Twitter_Icon.png|30px|link={{{twitter}}}|alt=Twitter]]}}{{#if:{{{youtube|<noinclude>x</noinclude>}}}|[[Image:Youtube_Icon.png|30px|link={{{youtube}}}|alt=YouTube]]}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}

Latest revision as of 04:03, 22 March 2010

{{{hackerspace_name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]]

{{{caption}}}

Information
Address {{{address}}}
City {{{city}}}
State {{{state}}}
Zip Code {{{zip}}}
Country {{{country}}}
Website {{{website}}}
E-mail {{{email}}}
IRC {{{irc}}}
Social Media

DiggFacebookFlickrMySpaceTwitterYouTube


[edit] [purge] Template documentation

Usage

{{Infobox electronic component
|hackerspace_name =
|image = 
|image_size = 
|alt = 
|caption = 
|country = 
|state = 
|city = 
|website = 
|email =
|irc = 
|media = 
|digg = 
|facebook = 
|flickr = 
|myspace = 
|twitter = 
|youtube = 
}}
  • hackerspace_name — the name of the hackerspace
  • image — the image file name to use in the infobox (Note: only the file name is needed the template automatically links the file)
  • image_size — the desired size of the image in pixels (Default: 250px)
  • alt — alternate text to show up when the image is moused over
  • caption — the caption to show up underneath the picture
  • country — the country the hackerspace is located in
  • state — the state the hackerspace is located in
  • city — the city the hackerspace is located in
  • website — the current website to the hackerspace
  • email — the main contact e-mail address for the hackerspace
  • irc — the irc channel of the hackerspace
  • mediayes or no, whether to display the media section or not
  • digg — the hackerspace's digg link
  • facebook — the hackerspace's facebook link
  • flickr — the hackerspace's flickr link
  • myspace — the hackerspace's myspace link
  • twitter — the hackerspace's twitter link
  • youtube — the hackerspace's youtube link

Redirects

The following templates have been redirected to this template.