Difference between revisions of "Template:SoCProject"

From VideoLAN Wiki
Jump to navigation Jump to search
(Prevent auto-categorising with Category:SoC)
m (Fix "work in progress" logic)
Line 8: Line 8:
 
|{{{mentor}}}
 
|{{{mentor}}}
 
|}
 
|}
{{ #ifeq: {{{year}}} | 2007 | ''Work in progress'' }}
+
{{ #ifeq: {{{year}}} | {{CURRENTYEAR}} | ''Work in progress'' }}
 
|}
 
|}
 
<includeonly> [[Category:SoC {{{year|}}} Project]]</includeonly><noinclude>
 
<includeonly> [[Category:SoC {{{year|}}} Project]]</includeonly><noinclude>

Revision as of 06:43, 5 February 2019

This project is part of Google Summer of Code {{{year}}}.
Student: {{{student}}}
Mentor: {{{mentor}}}


Usage

{{SoCProject|year= |student= |mentor= }}

It will add it to Category:SoC <year> Project

Example

{{SoCProject|year=2007|student=[[User:Pdherbemont|Pierre d'Herbemont]]|mentor=[[User:Fkuehne|Felix Paul Kühne]]}}

becomes

This project is part of Google Summer of Code 2007.
Student: Pierre d'Herbemont
Mentor: Felix Paul Kühne

And the page is added to Category:SoC_2007_Project.