Difference between revisions of "Template:SoCProject"
Jump to navigation
Jump to search
m |
m (Visually identical CSS) |
||
(29 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | {| | + | {| class="widebox" style="margin:0.5em auto; padding:3px;" |
− | |This project is part of ''[[SoC {{{year|}}} projects|Google Summer of Code {{{year}}}]]''. | + | |'''This project is part of''' ''[[SoC {{{year|}}} projects|Google Summer of Code {{{year}}}]]''. |
− | {| | + | {| style="padding:3px;" |
− | |Student: | + | |'''Student''': |
|{{{student}}} | |{{{student}}} | ||
|- | |- | ||
− | |Mentor: | + | |'''Mentor''': |
|{{{mentor}}} | |{{{mentor}}} | ||
|} | |} | ||
− | {{ #ifeq: {{{year}}} | | + | {{ #ifeq: {{{year}}} | {{CURRENTYEAR}} | ''Work in progress'' }} |
|} | |} | ||
− | <includeonly> [[Category:SoC {{{year|}}} Project]] </includeonly><noinclude> | + | <includeonly> [[Category:SoC {{{year|}}} Project|{{#titleparts: {{PAGENAME}} | | -1 }}]]</includeonly><noinclude> |
==Usage== | ==Usage== | ||
<nowiki>{{SoCProject|year= |student= |mentor= }}</nowiki> | <nowiki>{{SoCProject|year= |student= |mentor= }}</nowiki> | ||
− | It will add it to | + | It will add it to <code>Category:SoC <year> Project</code> |
==Example== | ==Example== | ||
Line 22: | Line 22: | ||
{{SoCProject|year=2007|student=[[User:Pdherbemont|Pierre d'Herbemont]]|mentor=[[User:Fkuehne|Felix Paul Kühne]]}} | {{SoCProject|year=2007|student=[[User:Pdherbemont|Pierre d'Herbemont]]|mentor=[[User:Fkuehne|Felix Paul Kühne]]}} | ||
− | And the page is added | + | 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}}}.
|
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.
|
And the page is added to Category:SoC_2007_Project.