Template:Infobox project/doc
{{#ifeq:doc |doc
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Infobox project | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
File:Lua-Logo.svg | This template uses Lua: |
| none = | = [[File:{{#switch: data | commons|c = Commons-logo.svg | meta|metawiki|m = Wikimedia Community Logo.svg | wikibooks|wbk|wb|b = Wikibooks-logo-en-noslogan.svg | wikidata|data = Wikidata-logo.svg | wikiquote|quote|wqt|q = Wikiquote-logo.svg | wikipedia|wp|w|iw = Wikipedia-logo-v2.svg | wikisource|source|ws|s = Wikisource-logo.svg | wiktionary|wikt|wkt|wdy|d = Wiktionary-logo-en-v2.svg | wikinews|news|wnw|n = Wikinews-logo.svg | wikispecies|species = Wikispecies-logo.svg | wikiversity|wvy|v = Wikiversity logo 2017.svg | wikivoyage|voyage|voy = Wikivoyage-Logo-v3-icon.svg | mediawiki|mw = MediaWiki-2020-icon.svg | outreachwiki|outreach = Wikimedia Outreach.png | incubator = Incubator-notext.svg | wikifunctions = Wikifunctions-logo.svg | #default = Wikimedia-logo.svg }}|40x40px|class=noviewer|alt=|link= ]] | #default =}}
{{#if: | {{{demospace}}} | {{#ifeq:Template|Module | module | other }} }}
| module = module | other | #default = template }} uses {{#if: | one or more Wikidata properties; see § {{{section}}} for details. | the Wikidata propert{{#if:P576|ies|y}}: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
}}{{#switch:doc
|sandbox |testcases |doc= |#default={{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Module | module | other }} }}
| module = | other | #default = {{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = | other | #default = }} }} }}
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 {{#if:| ()|}} | |
---|---|
File:Noflag2.svg | |
{{#if:|Motto|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 |
State | {{#if:|[[Template:Unlink]]|}} |
{{#if:|[[List of Chief Ministers of Template:Unlink|Chief Minister]]|Chief Minister}} | {{#if:|[[Template:Unlink]]|}} |
Established | {{#if:
|{{#if: |{{{4}}}:{{{5}}}{{#if: |:{{{6}}} }}, }} }}{{#if: 2006 |{{#if: 05 |{{#if: |{{#if: |{{#expr:{{{3}}}}} {{#if:05|{{#switch:{{safesubst:#if:05 |{{safesubst:#switch:05 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{safesubst:#ifexpr:05<0 |{{safesubst:#ifexpr:((05)round 0)!=(05) |{{safesubst:#expr:12-(((0.5-(05))round 0)mod 12)}} |{{safesubst:#expr:12-(((11.5-(05))round 0)mod 12)}} }} |{{safesubst:#expr:(((10.5+05)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}|{{#if:05|{{#switch:{{safesubst:#if:05 |{{safesubst:#switch:05 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{safesubst:#ifexpr:05<0 |{{safesubst:#ifexpr:((05)round 0)!=(05) |{{safesubst:#expr:12-(((0.5-(05))round 0)mod 12)}} |{{safesubst:#expr:12-(((11.5-(05))round 0)mod 12)}} }} |{{safesubst:#expr:(((10.5+05)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} {{#expr:{{{3}}}}},}} 2006|{{#if:05|{{#switch:{{safesubst:#if:05 |{{safesubst:#switch:05 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{safesubst:#ifexpr:05<0 |{{safesubst:#ifexpr:((05)round 0)!=(05) |{{safesubst:#expr:12-(((0.5-(05))round 0)mod 12)}} |{{safesubst:#expr:12-(((11.5-(05))round 0)mod 12)}} }} |{{safesubst:#expr:(((10.5+05)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} 2006}}|2006}}}}{{#if: | ({{#ifeq: {{{7}}}|Z|UTC|{{{7}}}}})}}
| :{{{6}}} }} }} }} }}) |
Website | www |
{{#if:|Status: {{#switch:{{{status}}}
| active = Active | closed = Closed |#default = Unknown }}}} |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox project/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}{{#ifeq:|yes||{{#if:Template||
{{#if: | {{#if:{{#property:P18}} | {{#ifeq:| | | }} | {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}} | | }} }} | {{#if:{{#property:P18}} | {{#if: | | }} | }} }}
}}}}
<syntaxhighlight lang="wikitext" style="overflow:auto">
WikiEducator {{#if:| ()|}} | |
---|---|
File:Noflag2.svg | |
{{#if:|Motto|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 |
State | {{#if:|[[Template:Unlink]]|}} |
{{#if:|[[List of Chief Ministers of Template:Unlink|Chief Minister]]|Chief Minister}} | {{#if:|[[Template:Unlink]]|}} |
Established | {{#if:
|{{#if: |{{{4}}}:{{{5}}}{{#if: |:{{{6}}} }}, }} }}{{#if: 2006 |{{#if: 05 |{{#if: |{{#if: |{{#expr:{{{3}}}}} {{#if:05|{{#switch:{{safesubst:#if:05 |{{safesubst:#switch:05 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{safesubst:#ifexpr:05<0 |{{safesubst:#ifexpr:((05)round 0)!=(05) |{{safesubst:#expr:12-(((0.5-(05))round 0)mod 12)}} |{{safesubst:#expr:12-(((11.5-(05))round 0)mod 12)}} }} |{{safesubst:#expr:(((10.5+05)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}|{{#if:05|{{#switch:{{safesubst:#if:05 |{{safesubst:#switch:05 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{safesubst:#ifexpr:05<0 |{{safesubst:#ifexpr:((05)round 0)!=(05) |{{safesubst:#expr:12-(((0.5-(05))round 0)mod 12)}} |{{safesubst:#expr:12-(((11.5-(05))round 0)mod 12)}} }} |{{safesubst:#expr:(((10.5+05)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} {{#expr:{{{3}}}}},}} 2006|{{#if:05|{{#switch:{{safesubst:#if:05 |{{safesubst:#switch:05 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{safesubst:#ifexpr:05<0 |{{safesubst:#ifexpr:((05)round 0)!=(05) |{{safesubst:#expr:12-(((0.5-(05))round 0)mod 12)}} |{{safesubst:#expr:12-(((11.5-(05))round 0)mod 12)}} }} |{{safesubst:#expr:(((10.5+05)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} 2006}}|2006}}}}{{#if: | ({{#ifeq: {{{7}}}|Z|UTC|{{{7}}}}})}}
| :{{{6}}} }} }} }} }}) |
Website | www |
{{#if:|Status: {{#switch:{{{status}}}
| active = Active | closed = Closed |#default = Unknown }}}} |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox project/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}{{#ifeq:|yes||{{#if:Template||
{{#if: | {{#if:{{#property:P18}} | {{#ifeq:| | | }} | {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}} | | }} }} | {{#if:{{#property:P18}} | {{#if: | | }} | }} }}
}}}} </syntaxhighlight>
Blank
<syntaxhighlight lang="wikitext" style="overflow:auto">
Infobox project/doc {{#if:| ()|}} | |
---|---|
State | {{#if:|[[Template:Unlink]]|}} |
{{#if:|[[List of Chief Ministers of Template:Unlink|Chief Minister]]|Chief Minister}} | {{#if:|[[Template:Unlink]]|}} |
{{#if:|Status: {{#switch:{{{status}}}
| active = Active | closed = Closed |#default = Unknown }}}} |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox project/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}{{#ifeq:|yes||{{#if:Template||
{{#if: | {{#if:{{#property:P18}} | {{#ifeq:| | | }} | {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}} | | }} }} | {{#if:{{#property:P18}} | {{#if: | | }} | }} }}
}}}}</syntaxhighlight>
Government scheme
<syntaxhighlight lang="wikitext" style="overflow:auto">
Infobox project/doc {{#if:| ()|}} | |
---|---|
State | {{#if:|[[Template:Unlink]]|}} |
{{#if:|[[List of Chief Ministers of Template:Unlink|Chief Minister]]|Chief Minister}} | {{#if:|[[Template:Unlink]]|}} |
{{#if:|Status: {{#switch:
| active = Active | closed = Closed |#default = Unknown }}}} |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox project/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}{{#ifeq:|yes||{{#if:Template||
{{#if: | {{#if:{{#property:P18}} | {{#ifeq:| | | }} | {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}} | | }} }} | {{#if:{{#property:P18}} | {{#if: | | }} | }} }}
}}}}</syntaxhighlight>
Microformat
The HTML mark-up produced by this template includes {{#if: |{{{type}}} |an hCalendar microformat}} that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.{{#if:{{#if:{{{hide_subtemplates}}} |}}
|
- Subtemplates
{{#if:{{{hide_subtemplates}}} |}}
Please do not remove instances of these subtemplates.
}}{{#if: |
{{{subsection1}}}
}}{{#if:attendee |
- Classes used
The HTML classes of this microformat include:
- Page Template:Flatlist/styles.css has no content.
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
{{#ifeq: Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}. | Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}. | <div style="}}display: inline-block; line-height: 1.2em; padding: .1em 0; {{#ifeq: Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}. | Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}. | line-height:1.3em">Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}. | width: 100%; }}{{#if:|}}}}{{#ifeq:doc|doc | |{{#ifeq:doc|sandbox | |}} }}
Tracking category