Difference between revisions of "Template:Infobox project"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(add hCalendar microformat; disestablishment date)
Line 1: Line 1:
{| class="infobox borderless vevent" summary="Template:Infobox_project" style="font-size:90%; text-align:left; width:24em;"
+
{{Infobox
! colspan="2" style="text-align:center; font-size:125%;" class="summary" | {{{projectname|{{{name|{{PAGENAME}}}}}}}}  
+
| title      = {{#if:{{{title|{{{name|{{{projectname|}}}}}}}}}|{{{title|{{{name|{{{projectname|}}}}}}}}}|<includeonly>{{PAGENAME}}</includeonly>}}
|-
+
| titleclass = summary
{{#if:{{{projectlogo|{{{logo|}}}}}}|
+
| labelstyle = white-space: nowrap;
{{!}} colspan="2" style="text-align:center;" {{!}} {{{projectlogo|{{{logo}}}}}}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{projectlogo|{{{logo|}}}}}}|size={{{logo_size|}}}|sizedefault=64px|alt={{{logo_alt|}}}}}
{{!}}-
+
| caption    = {{{logo caption|}}}
}}
+
| image2    = {{#if:{{{collapsible|}}}|{{hidden begin|title=Screenshot|titlestyle=text-align:center}}}}{{#invoke:InfoboxImage|InfoboxImage|image={{{screenshot|}}}|size={{{screenshot_size|}}}|sizedefault=300px|alt={{{screenshot_alt|}}}}}
{{#ifeq:{{{collapsible|}}}|yes|<!-- then -->
+
| caption2  = {{{caption|}}}{{#if:{{{collapsible|}}}|{{hidden end}}}}
{{!}} colspan="2" {{!}}
+
| label1    = Website
{{hidden|Screenshot|{{{screenshot}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}|bg1=#ccccff|ta2=center}}
+
| data1      = {{{website|}}}
{{!}}-
+
| label2    = [[Mission statement]]
|<!-- else -->
+
| data2      = {{{missionstatement|{{{mission statement|}}}}}}
{{#if:{{{screenshot|}}}|
+
| label3    = Commercial
{{!}} colspan="2" style="text-align: center;" {{!}} {{{screenshot}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
+
| data3      = {{{commercial|}}}
{{!}}-
+
| label4    = Type of project
}}
+
| data4      = {{{type|}}}
}}
+
| label5    = Location
{{#if:{{{website|}}}|
+
| data5      = {{{reg|{{{location|}}}}}}
! Website
+
| label6    = Owner
{{!}} {{{website}}}
+
| data6      = {{{owner|}}}
{{!}}-
+
| data7      = {{{Founder's photo|{{{founderimage|}}}}}}
}}
+
| label8    = Founder
{{#if:{{{missionstatement|}}}|
+
| data8      = {{{founder|}}}
! [[Mission statement]]
+
| label9    = Established
{{!}} {{{missionstatement}}}
+
| data9      = {{{date_of_establishment|{{{establishment date|}}}}}}
{{!}}-
+
| label10    = Disestablished
}}
+
| data10      = {{{date_of_disestablishment|{{{disestablishment date|}}}}}}
{{#if:{{{commercial|}}}|
+
| label11    = Funding
! Commercial?
+
| data11      = {{{rev|{{{funding|}}}}}}
{{!}} {{{commercial}}}
+
| label12    = Current status
{{!}}-
+
| data12      = {{{current status|{{{current_status|}}}}}}
}}
+
}}<noinclude>
{{#if:{{{type|}}}|
 
! Type of project
 
{{!}} {{{type}}}
 
{{!}}-
 
}}
 
{{#if:{{{reg|{{{location|}}}}}}|
 
! Location
 
{{!}} {{{reg|{{{location}}}}}}
 
{{!}}-
 
}}
 
{{#if:{{{owner|}}}|
 
! Owner
 
{{!}} {{{owner}}}
 
{{!}}-
 
}}
 
{{#if:{{{Founder's photo|{{{founderimage|}}}}}}|
 
{{!}} colspan="2" style="text-align:center;" {{!}} {{{Founder's photo|{{{founderimage}}}}}}
 
{{!}}-
 
}}
 
{{#if:{{{founder|}}}|
 
! Founder
 
{{!}} {{{founder}}}
 
{{!}}-
 
}}
 
{{#if:{{{date_of_establishment|{{{establishment date|}}}}}}|
 
! Established
 
{{!}} {{{date_of_establishment|{{{establishment date}}}}}}
 
{{!}}-
 
}}
 
{{#if:{{{date_of_disestablishment|{{{disestablishment date|}}}}}}|
 
! Disestablished
 
{{!}} {{{date_of_disestablishment|{{{disestablishment date}}}}}}
 
{{!}}-
 
}}
 
{{#if:{{{rev|{{{funding|}}}}}}|
 
! Funding
 
{{!}} {{{rev|{{{funding}}}}}}
 
{{!}}-
 
}}
 
{{#if:{{{current_status|{{{current status|}}}}}}|
 
! Current status
 
{{!}} {{{current_status|{{{current status}}}}}}
 
{{!}}-
 
}}
 
|}<noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 17:51, 1 April 2014

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata

Usage

name 
name of the project
logo 
logo of the project
image 
representative image for the project
mission_statement 
mission statement of the project
commercial 
Yes/No
type 
type of the project
products 
products
location 
location of the project
owner 
owner of the project
founder 
name of the founder
key_people 
key people
established 
date of establishment of the project; use {{Start date}}
disestablished 
date of disestablishment of the project; use {{End date}}
funding 
Project funding details
current_status 
Current status
website 
website of the project; use {{URL}}

Example

WikiEducator
Noflag2.svg
WebsiteTemplate:URL
CommercialNo
Type of projectFree, Open and Online Distance Learning
LocationCanada
OwnerSupported by Commonwealth of Learning & Owned by community
FounderWayne Mackintosh
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox project
| name = WikiEducator
| logo = [[File:Noflag2.svg|135px]]
| mission_statement = "Working collaboratively towards a free version of the education curriculum by 2015"
| commercial = No
| type = Free, Open and Online Distance Learning 
| location = Canada
| owner = Supported by [[Commonwealth of Learning]] & Owned by community
| founder = Wayne Mackintosh
| established = {{Start date|2006|05}}
| website = {{URL|www.wikieducator.org}}
}}

Blank

{{Infobox project
| name = 
| logo = 
| image =
| caption = 
| mission_statement = 
| commercial = 
| type = 
| products = 
| location = 
| country = 
| owner = 
| founder = 
| primeminister = 
| key_people =
| established = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| disestablished = <!-- {{End date|YYYY|MM|DD|df=y}} -->
| funding = 
| budget = 
| current_status =
| website = <!-- {{URL|example.com}} --> 
}}

Government scheme

{{Infobox project
| abbreviation = 
| native_name = 
| logo = 
| image = 
| caption = 
| motto = 
| type = 
| country = 
| primeminister = 
| ministry = 
| key_people = 
| launched = <!-- {{Start date and age|YYYY|MM|DD|df=y}} -->
| launch_place = 
| closed = <!-- {{End date and age|YYYY|MM|DD|df=y}} -->
| budget = 
| website = <!-- {{URL|example.com}} -->
| status = 
}}

Microformat

Template:UF-hcal

Tracking category