Difference between revisions of "Template:SoCProject"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Visually identical CSS)
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| cellspacing="2" cellpadding="3" style="width:80%;border:solid #999 1px;background:#F8F8F8;margin:0.5em auto;clear:all"
+
{| class="widebox" style="margin:0.5em auto; padding:3px;"
|'''This project is part of''' ''[[SoC {{{2009|}}} projects|Google Summer of Code {{{2009}}}]]''.
+
|'''This project is part of''' ''[[SoC {{{year|}}} projects|Google Summer of Code {{{year}}}]]''.
{|
+
{| style="padding:3px;"
 
|'''Student''':
 
|'''Student''':
|{{{xiang wang}}}
+
|{{{student}}}
 
|-
 
|-
 
|'''Mentor''':
 
|'''Mentor''':
|{{{dionoea}}}
+
|{{{mentor}}}
 
|}
 
|}
{{ #ifeq: {{{year}}} | 2009 | ''Work in progress'' }}
+
{{ #ifeq: {{{year}}} | {{CURRENTYEAR}} | ''Work in progress'' }}
 
|}
 
|}
<includeonly> [[Category:SoC {{{2009|}}} Audio Filter Improvement]] [[Category:SoC]]</includeonly><noinclude>
+
<includeonly> [[Category:SoC {{{year|}}} Project|{{#titleparts: {{PAGENAME}} | | -1 }}]]</includeonly><noinclude>
  
 
==Usage==
 
==Usage==
  <nowiki>{{SoCProject|year= 2009|student= xiang wang |mentor= dionoea}}</nowiki>
+
  <nowiki>{{SoCProject|year= |student= |mentor= }}</nowiki>
  
It will add it to [[:Category:SoC_year_Project]].
+
It will add it to <code>Category:SoC <year> Project</code>
  
 
==Example==
 
==Example==
  <nowiki>{{SoCProject|year=2009|student=[[User:xiang wang]]|mentor=[[User:dionoea]]}}</nowiki>
+
  <nowiki>{{SoCProject|year=2007|student=[[User:Pdherbemont|Pierre d'Herbemont]]|mentor=[[User:Fkuehne|Felix Paul Kühne]]}}</nowiki>
 
becomes
 
becomes
{{SoCProject|year=2009|student=[[User:xiang wang]]|mentor=[[User:dionoea]]}}
+
{{SoCProject|year=2007|student=[[User:Pdherbemont|Pierre d'Herbemont]]|mentor=[[User:Fkuehne|Felix Paul Kühne]]}}
  
And the page is added to [[:Category:SoC_2009_Project]].
+
And the page is added to [[:Category:SoC_2007_Project]].
  
 +
[[Category:SoC|*]]
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:02, 24 March 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.