Difference between revisions of "Template:Infobox project"
Jump to navigation
Jump to search
(19 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 | ||
− | {{!}} | + | {{!}} {{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 | |
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the local /sandbox or your user space before changing anything here. |
[edit] [ ] 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
- media — yes 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.
- {{Infobox projects}}
The above documentation is transcluded from Template:Infobox project/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |