Difference between revisions of "Template:Project"

From Hackerspace ACKspace
Jump to: navigation, search
(added template picture magic)
(updated template: center image, set property on default image)
Line 28: Line 28:
 
| colspan="2" | {{#ifexist:
 
| colspan="2" | {{#ifexist:
 
     {{{Picture|}}}
 
     {{{Picture|}}}
     |[[Project Image::{{{Picture}}}|360x360px]]
+
     |[[Project Image::{{{Picture}}}|center|360x360px]]
 
     |{{#ifexist:
 
     |{{#ifexist:
 
         File:{{PAGENAME}}_Picture.jpg
 
         File:{{PAGENAME}}_Picture.jpg
         | [[File:{{PAGENAME}}_Picture.jpg|360x360px]]
+
         | [[Project Image::File:{{PAGENAME}}_Picture.jpg|center|360x360px]]
 
         | No project picture! Fill in form Picture or [[File:{{PAGENAME}}_Picture.jpg|Upload a jpeg here]]}}}}
 
         | No project picture! Fill in form Picture or [[File:{{PAGENAME}}_Picture.jpg|Upload a jpeg here]]}}}}
  

Revision as of 21:11, 3 November 2015

This is the "Project" template. It should be called in the following format:

{{Project
|State=
|Members=
|Description=
|Picture=
}}

Edit the page to see the template text.