Difference between pages "Template:Educational assignment" and "Template:Educational assignment/sandbox"
(Difference between pages)
Jump to navigation
Jump to search
imported>WOSlinker m (Changed protection level of Template:Educational assignment: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite))) |
imported>Jason Quinn (trying to fix a logic error in template.... doesn't give proper output if date is in the future) |
||
Line 3: | Line 3: | ||
|style = text-align:center; | |style = text-align:center; | ||
|text = This article {{#if:{{{date|}}} {{{day|}}} | |text = This article {{#if:{{{date|}}} {{{day|}}} | ||
− | |was | + | |is currently or was |
|{{#iferror: | |{{#iferror: | ||
{{#ifexpr:{{gsd|year={{{year|}}}|month={{{month|{{CURRENTMONTH}}}}}|day={{CURRENTDAY}}}}<{{gsd|year={{CURRENTYEAR}}|month={{CURRENTMONTH}}|day={{CURRENTDAY}}}} | {{#ifexpr:{{gsd|year={{{year|}}}|month={{{month|{{CURRENTMONTH}}}}}|day={{CURRENTDAY}}}}<{{gsd|year={{CURRENTYEAR}}|month={{CURRENTMONTH}}|day={{CURRENTDAY}}}} | ||
Line 11: | Line 11: | ||
|is currently or was | |is currently or was | ||
}} | }} | ||
− | }} the subject of an | + | }} the subject of an educational assignment{{#if:{{{project|}}} |
+ | | supported by {{{project}}} | ||
+ | }} | ||
+ | {{#if:{{{date|}}} | ||
| that ended on {{date|{{{date}}}|{{{dateformat|}}}}} | | that ended on {{date|{{{date}}}|{{{dateformat|}}}}} | ||
|{{#if:{{{day|}}} | |{{#if:{{{day|}}} |