Difference between revisions of "Template:Project"
m |
m (width: allow small screens) |
||
(38 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
This is the "Project" template. | This is the "Project" template. | ||
It should be called in the following format: | It should be called in the following format: | ||
− | < | + | <pre> |
− | + | {{Project | |
|State= | |State= | ||
|Members= | |Members= | ||
|Description= | |Description= | ||
+ | |GitHub= | ||
+ | |Picture= | ||
}} | }} | ||
</pre> | </pre> | ||
− | + | Edit the page to see the template text. | |
− | <includeonly> | + | </noinclude><includeonly> |
− | {| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: # | + | {| 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;" |
− | ! style="text-align: center; background-color:# | + | ! style="text-align: center; background-color:#f0eeff;" colspan="2" |<big>Project: {{PAGENAME}}</big> |
+ | |- | ||
+ | ! Featured: | ||
+ | | {{#arraymap:{{{Featured|}}}|,|x|[[Featured::x]]}} | ||
|- | |- | ||
! State | ! State | ||
Line 18: | Line 23: | ||
|- | |- | ||
! 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 | ||
| [[Description::{{{Description|}}}]] | | [[Description::{{{Description|}}}]] | ||
+ | |- | ||
+ | ! 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]] | ||
</includeonly> | </includeonly> |
Revision as of 14:55, 20 March 2018
This is the "Project" template. It should be called in the following format:
{{Project |State= |Members= |Description= |GitHub= |Picture= }}
Edit the page to see the template text.