Difference between revisions of "Template:Project"

From Hackerspace ACKspace
Jump to: navigation, search
m (fixed template so it should fix the #ifexist problem where it ends up as a wanted page)
m (fixed project picture link (if a picture name was provided, it didn't show the correct URI)
Line 35: Line 35:
 
     |{{exist|File:{{PAGENAME}}_Picture.jpg
 
     |{{exist|File:{{PAGENAME}}_Picture.jpg
 
         | [[Project Image::Image:{{PAGENAME}}_Picture.jpg|360x360px]]
 
         | [[Project Image::Image:{{PAGENAME}}_Picture.jpg|360x360px]]
         | 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]]}}}}
+
         | {{#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:10, 8 December 2016

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.