Difference between revisions of "Template:Project"
|  (added picture in project template) |  (created templatedata with form) | ||
| (29 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | < | + | <includeonly>{{#default_form:Project}}</includeonly> | 
| − | + | {| style="max-width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #faf9f9; color: #333; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | |
| − | |||
| − | |||
| − | {{Project | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | |||
| − | |||
| − | </ | ||
| − | {| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #faf9f9; color: #333; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | ||
| ! style="text-align: center; background-color:#f0eeff;" colspan="2" |<big>Project: {{PAGENAME}}</big> | ! style="text-align: center; background-color:#f0eeff;" colspan="2" |<big>Project: {{PAGENAME}}</big> | ||
| + | |- | ||
| + | ! Featured: | ||
| + | | {{#arraymap:{{{Featured|}}}|,|x|[[Featured::x]]}} | ||
| |- | |- | ||
| ! State | ! State | ||
| Line 19: | Line 10: | ||
| |- | |- | ||
| ! Members | ! Members | ||
| − | | [[Members::{{{ | + | | {{#arraymap:{{{Members|}}}|,|x|[[Members::User:x|x]]}} | 
| + | |- | ||
| + | ! GitHub | ||
| + | | {{#if: {{{GitHub|}}} | [[GitHub::https://github.com/ACKspace/{{{GitHub|}}}|{{{GitHub|}}}]][[Category:Source on GitHub]] | No GitHub project defined. Add your project [https://github.com/ACKspace/ here]. }} | ||
| |- | |- | ||
| ! Description | ! Description | ||
| Line 26: | Line 20: | ||
| ! colspan="2" | Picture | ! colspan="2" | Picture | ||
| |- | |- | ||
| − | | colspan="2" | {{{Picture|}}} | + | | colspan="2" style="text-align:center" | {{#ifexist: | 
| + |     Image:{{{Picture|}}} | ||
| + |     |[[Project Image::Image:{{{Picture}}}|360x360px]] | ||
| + |     |{{exist|File:{{PAGENAME}}_Picture.jpg | ||
| + |         | [[Project Image::Image:{{PAGENAME}}_Picture.jpg|360x360px]] | ||
| + |         | {{#if: {{{Picture|}}} | No project picture uploaded! [{{fullurl:Special:Upload|wpDestFile={{{Picture|}}}}} Upload a picture here] | No project picture! Fill in form Picture or [{{fullurl:Special:Upload|wpDestFile={{PAGENAMEE}}_Picture.jpg}} Upload a jpeg here] }} | ||
| + | [[Category:Pages with broken file links]]}}}} | ||
| |} | |} | ||
| [[Category:Projects]] | [[Category:Projects]] | ||
| − | </ | + | <noinclude> | 
| + | <templatedata> | ||
| + | { | ||
| + | 	"params": { | ||
| + | 		"Featured": { | ||
| + | 			"type": "boolean" | ||
| + | 		}, | ||
| + | 		"State": {}, | ||
| + | 		"Members": { | ||
| + | 			"type": "wiki-user-name" | ||
| + | 		}, | ||
| + | 		"GitHub": { | ||
| + | 			"type": "string" | ||
| + | 		}, | ||
| + | 		"Description": { | ||
| + | 			"type": "string" | ||
| + | 		}, | ||
| + | 		"Picture": { | ||
| + | 			"type": "wiki-file-name" | ||
| + | 		} | ||
| + | 	} | ||
| + | } | ||
| + | </templatedata> | ||
| + | </noinclude> | ||
Latest revision as of 21:11, 2 June 2020
| Project: Project | |
|---|---|
| Featured: | |
| State | |
| Members | |
| GitHub | No GitHub project defined. Add your project here. | 
| Description | |
| Picture | |
| No project picture! Fill in form Picture or Upload a jpeg here | |
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Featured | Featured | no description 
 | Boolean | optional | 
| State | State | no description 
 | Unknown | optional | 
| Members | Members | no description 
 | User | optional | 
| GitHub | GitHub | no description 
 | String | optional | 
| Description | Description | no description 
 | String | optional | 
| Picture | Picture | no description 
 | File | optional | 
