Difference between revisions of "Template:Infobox project"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]Template:Wikidata image
imported>Pigsonthewing (add hCalendar microformat; disestablishment date) |
imported>Gonnym |
||
| (71 intermediate revisions by 13 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| | + | {{Infobox |
| − | + | | bodyclass = vcard | |
| − | | | + | |
| − | {{# | + | | aboveclass = summary |
| − | {{ | + | | above = {{if empty|{{{projectname|{{{name|}}}}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} {{#if:{{{abbreviation|{{{abbrev|}}}}}}| ({{{abbreviation|{{{abbrev|}}}}}})|}} |
| − | {{ | + | |
| + | | subheader = {{{native_name|}}} | ||
| + | |||
| + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{projectlogo|{{{logo|}}}}}}|size={{{logo_size|}}}|alt={{{logo_alt|}}}}} | ||
| + | |||
| + | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{screenshot|}}}}}} |alt={{{image_alt|}}}}} | ||
| + | | caption2 = {{{caption|}}} | ||
| + | |||
| + | | label1 = {{#if:{{{motto|}}}|Motto|[[Mission statement]]}} | ||
| + | | data1 = {{{mission_statement|{{{missionstatement|{{{mission statement|{{{motto|}}}}}}}}}}}} | ||
| + | |||
| + | | label2 = Slogan | ||
| + | | data2 = {{{slogan|}}} | ||
| + | |||
| + | | label3 = Commercial? | ||
| + | | data3 = {{{commercial|}}} | ||
| + | |||
| + | | label4 = Type of project | ||
| + | | data4 = {{{type|}}} | ||
| + | |||
| + | | label5 = Products | ||
| + | | data5 = {{{products|}}} | ||
| + | |||
| + | | label6 = Location | ||
| + | | data6 = {{{reg|{{{location|}}}}}} | ||
| + | |||
| + | | label7 = Owner | ||
| + | | data7 = {{{owner|}}} | ||
| + | |||
| + | | label8 = Founder | ||
| + | | data8 = {{{founder|}}} | ||
| + | |||
| + | | label9 = Country | ||
| + | | data9 = {{{country|}}} | ||
| + | |||
| + | | label10 = {{#if:{{{country|}}}|[[Prime Minister of {{Unlink|{{{country|}}}}}|Prime Minister(s)]]|Prime Minister}} | ||
| + | | data10 = {{{primeminister|}}} | ||
| + | |||
| + | | label11 = State | ||
| + | | data11 = {{#if:{{{state|}}}|[[{{Unlink|{{{state}}}}}]]|{{{state|}}}}} | ||
| + | |||
| + | | label12 = {{#if:{{{state|}}}|[[List of Chief Ministers of {{Unlink|{{{state|}}}}}|Chief Minister]]|Chief Minister}} | ||
| + | | data12 = {{#if:{{{chiefminister|}}}|[[{{Unlink|{{{chiefminister|}}}}}]]|{{{chiefminister|}}}}} | ||
| + | |||
| + | | label13 = Ministry | ||
| + | | data13 = {{{ministry|}}} | ||
| + | |||
| + | | label14 = Key people | ||
| + | | data14 = {{{key_people|}}} | ||
| + | |||
| + | | label15 = Established | ||
| + | | data15 = {{{established|{{{date_of_establishment|{{{establishment date|}}}}}}}}} | ||
| + | |||
| + | | label16 = Launched | ||
| + | | data16 = {{br separated entries|1={{#invoke:Wikidata|getValue|P571|{{{launch_date|{{{launched|}}}}}}}}|2={{#invoke:Wikidata|getValue|P1427|{{{launch_place|}}}}}}} | ||
| + | |||
| + | | label17 = {{#if:{{{closed|}}}|Closed|Disestablished}} | ||
| + | | data17 = {{#invoke:Wikidata|getValue|P576|{{{disestablished|{{{date_of_disestablishment|{{{disestablishment date|{{{closed|}}}}}}}}}}}}}} | ||
| + | |||
| + | | label18 = {{#if:{{{budget|}}}|Budget|Funding}} | ||
| + | | data18 = {{{rev|{{{funding|{{{budget|}}}}}}}}} | ||
| + | |||
| + | | label19 = Status | ||
| + | | data19 = {{{current_status|{{{current status|}}}}}} | ||
| + | |||
| + | | label20 = Website | ||
| + | | data20 = {{#invoke:Wikidata|getValue|P856|{{{website|FETCH_WIKIDATA}}}}} | ||
| + | |||
| + | | below = {{#if:{{{status|}}}|'''Status:''' {{#switch:{{lc:{{{status}}}}} | ||
| + | | active = Active | ||
| + | | closed = Closed | ||
| + | |#default = Unknown | ||
| + | }} | ||
}} | }} | ||
| − | {{# | + | |
| − | + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox project with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:Infobox project]] with unknown parameter "_VALUE_"|ignoreblank=y | abbreviation | alt | budget | caption | chiefminister | closed | commercial | country | current_status | date_of_disestablishment | date_of_establishment | disestablished | established | founder | funding | image | key_people | launch_date | launch_place | launched | location | logo | logo_alt | ministry | motto | mission_statement | name | native_name | owner | primeminister | products | reg | rev | slogan | state | type | website }}<includeonly>{{#ifeq:{{{child|}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude> | |
| − | {{ | + | {{Documentation}} |
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{# | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{ | ||
| − | |||
| − | |||
| − | |||
| − | {{ | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:06, 29 June 2020
| Script error: No such module "If empty". | |
|---|---|
| Launched | Script error: No such module "Wikidata". Script error: No such module "Wikidata". |
| Disestablished | Script error: No such module "Wikidata". |
| Website | Script error: No such module "Wikidata". |
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
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
| Script error: No such module "If empty". | |
|---|---|
| Mission statement | "Working collaboratively towards a free version of the education curriculum by 2015" |
| Commercial? | No |
| Type of project | Free, Open and Online Distance Learning |
| Location | Canada |
| Owner | Supported by Commonwealth of Learning & Owned by community |
| Founder | Wayne Mackintosh |
| Established | May 2006 |
| Launched | Script error: No such module "Wikidata". Script error: No such module "Wikidata". |
| Disestablished | Script error: No such module "Wikidata". |
| Website | Script error: No such module "Wikidata". |
{{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
Tracking category
| The above documentation is transcluded from Template:Infobox project/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |