Template:Project: Difference between revisions

From Hackerspace Amersfoort
Jump to navigation Jump to search
No edit summary
No edit summary
(9 intermediate revisions by one other user not shown)
Line 3: Line 3:


   <nowiki>{{</nowiki>Project
   <nowiki>{{</nowiki>Project
   |name=Project name
   |name=Name / Nick
   |start=Start date
   |title=Your function @Bitlair
  |end=End date
   |Picture=image.jpg
   |Picture=image.jpg
   |URL=http://www.project.tld/ or <nowiki>[[MyPage]]</nowiki>, etc.
   |URL=http://www.project.tld/ or <nowiki>[[MyPage]]</nowiki>, etc.
  |contact=Name of person creating this stuff
  |info=This project is all about Biz and Baz!
   <nowiki>}}</nowiki>
   <nowiki>}}</nowiki>


Line 16: Line 13:
{| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border-collapse:collapse; font-size:95%; empty-cells:hide"
{| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border-collapse:collapse; font-size:95%; empty-cells:hide"
|- style="background: {{Style|header}}; text-align:center;"
|- style="background: {{Style|header}}; text-align:center;"
!<div class="polaroidlayout rotate5" style="margin:10px">{{#ifexist:{{{Picture|}}}|[[Project Image::File:{{{Picture}}}|360x360px]]|[[{{#ifexist: File:{{#titleparts: {{SUBPAGENAME}} | | -1 }}_Picture.jpg | File:{{#titleparts: {{SUBPAGENAME}} | | -1 }}_Picture.jpg | File:NoProjectPicture.jpg }}|360x360px]]}}<br /><p class="polaroidfont">{{{Naam}}}</p></div>
! colspan=2 | <div class="polaroidlayout rotate5" style="margin:10px">{{#if:{{{Picture|}}}|[[Project Image::File:{{{Picture}}}|360x360px]]|[[File:NoPicture.png|360px]]}}</div>
|-
|-
! colspan=2 | ''Project [[Page name::{{PAGENAME}}|{{{name|}}}]]''  
! colspan=2 | ''Project [[Page name::{{PAGENAME}}|{{{name|}}}]]''  
Line 30: Line 27:
|-
|-
! Contact
! Contact
| [[Project contact::{{{contact|}}}]]
| {{#arraymap:{{{contact}}}|,|nickname|[[Project contact::User:nickname|nickname]]}}
{{#if:{{{URL}}} |
{{#if:{{{URL}}} |
{{!}}-
{{!}}-

Revision as of 15:13, 26 May 2014

Use this template in the following way on Project pages:

 {{Project
 |name=Name / Nick
 |title=Your function @Bitlair
 |Picture=image.jpg
 |URL=http://www.project.tld/ or [[MyPage]], etc.
 }}