Difference between revisions of "Template:Infobox project"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<includeonly>[[Category:User projects]]</includeonly>
 
{| class="infobox" style="font-size:90%; width:{{#if:{{{infobox_width|}}}|{{{infobox_width}}}|300px}}; text-align:left"
 
{| class="infobox" style="font-size:90%; width:{{#if:{{{infobox_width|}}}|{{{infobox_width}}}|300px}}; text-align:left"
 
|- style="background:#D3D3D3"
 
|- style="background:#D3D3D3"
Line 12: Line 13:
 
{{#if:{{{owner|<noinclude>x</noinclude>}}}|
 
{{#if:{{{owner|<noinclude>x</noinclude>}}}|
 
! Owner
 
! Owner
{{!}} {{#ifexist: User:{{{owner}}}|[[User:{{{owner}}}{{!}}{{{owner}}}]]<includeonly>[[Category:{{{owner}}}'s projects]]</includeonly>|{{{owner}}}}}
+
{{!}} {{User profile link|{{{owner}}}}}<includeonly>[[Category:{{{owner}}}'s projects]]</includeonly>
 +
{{!}}-
 +
}}
 +
{{#if:{{{lead|<noinclude>x</noinclude>}}}|
 +
! Lead
 +
{{!}} {{User profile link|{{{lead}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 38: Line 44:
 
| building
 
| building
 
| incomplete = In Progress
 
| incomplete = In Progress
 +
| sold = Sold
 +
| give
 +
| given = Given Away
 
| unknown
 
| unknown
 
| #default = Unknown
 
| #default = Unknown
Line 58: Line 67:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
|}
+
{{#if:{{{time|<noinclude>x</noinclude>}}}|
 +
! Time
 +
{{!}} {{{time}}}
 +
{{!}}-
 +
}}
 +
{{#ifeq: {{{media|<noinclude>yes</noinclude>}}}| yes
 +
|! colspan="2" style="text-align:center; background:#D3D3D3" {{!}} 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:{{{gplus|<noinclude>x</noinclude>}}}|[[Image:Google Plus G+ Icon.svg|30px|link={{{gplus}}}|alt=Google Plus]]}}{{#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]]}}
 +
{{!}}-
 +
}}
 +
|}{{#ifeq: {{{status}}}| sold |
 +
{{project sold}}
 +
}}
 
<noinclude>
 
<noinclude>
 
{{esoteric}}
 
{{esoteric}}

Latest revision as of 17:15, 11 December 2012

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

{{{caption}}}

Information
Owner {{{owner}}}
Lead {{{lead}}}
Version {{{version}}}
Status Unknown
Started On {{{start_date}}}
Ended On {{{end_Date}}}
Cost {{{cost}}}
Time {{{time}}}
Media

DiggFacebookFlickrGoogle PlusMySpaceTwitterYouTube

[edit] [purge] Template documentation

Usage

{{Infobox project
|project_name =
|image = 
|image_size = 
|alt = 
|caption = 
|owner = 
|lead = 
|version = 
|status = 
|start_date = 
|end_date = 
|cost = 
|time = 
|media = 
|digg = 
|facebook = 
|flickr = 
|gplus = 
|myspace = 
|youtube =
}}
  • project_name — the name of the project
  • 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
  • owner — the name of the person who is considered the owner of the project (Note: if a name is provided that has a user page it will auto link it and the name must be spelled exactly as it is in the system)
  • lead — the name of the person who is considered the lead of a group project (Note: functions the same as owner)
  • version — some sort of versioning so that everyone will know what rendition the project is currently on
  • status — the current status of the project
  • start_date — the date the project was started on (Note: the template does attempt to format the date)
  • end_date — the date the project was completed on (Note: the template does attempt to format the date)
  • cost — the cost to duplicate the end result of the project
  • time — a rough estimate of the time spent executing the project
  • mediayes or no, whether to display the media section or not
  • digg — the project's digg link
  • facebook — the project's facebook link
  • flickr — the project's flickr link
  • gplus — the project's google plus link
  • myspace — the project's myspace link
  • youtube — the project's youtube link

Redirects

The following templates have been redirected to this template.