User:TurningWork/additem1
Template to add a new item to my watchpages
Host table must already exist, this only creates a line entry
This template should always be substituted or the times won't show right
Type | Tag | Fields |
---|---|---|
Current AFD or Prod | afdp | Type - Page - Date - Reason |
Challenged CSD/Prods | cprod | Type - Page - Date - Challenger - Reason |
Failed AFDs | fafd | Page - Date - Decision |
Others | other | Page - Date - Decision |
People | user | Person - Date - Flag - Reason |
|-
{{subst:#ifeq: {{{1}}} | afdp |
{{subst:!}} {{subst:#ifeq: {{{2}}} | prod | PROD | [[Wikipedia:Articles for deletion/{{{3}}}|AFD]] }}
{{subst:!}} [[{{{3}}}]] ([[Talk:{{{3}}}{{subst:!}}Talk]])
{{subst:!}} {{subst:CURRENTTIME}}, {{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
{{subst:!}} {{{4}}}
| }}{{subst:#ifeq: {{{1}}} | cprod |
{{subst:!}} {{subst:#ifeq: {{{2}}} | prod | PROD | {{{2}}} }}
{{subst:!}} [[{{{3}}}]] ([[Talk:{{{3}}}{{subst:!}}Talk]])
{{subst:!}} {{subst:CURRENTTIME}}, {{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
{{subst:!}} {{user{{subst:!}}{{{4}}}}}
{{subst:!}} {{{5}}}
| }}{{subst:#ifeq: {{{1}}} | fafd |
{{subst:!}} [[{{{2}}}]] ([[Talk:{{{2}}}{{subst:!}}Talk]])
{{subst:!}} {{subst:CURRENTTIME}}, {{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
{{subst:!}} {{{3}}}
| }}{{subst:#ifeq: {{{1}}} | other |
{{subst:!}} [[{{{2}}}]] ([[Talk:{{{2}}}{{subst:!}}Talk]])
{{subst:!}} {{subst:CURRENTTIME}}, {{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
{{subst:!}} {{{3}}}
| }}{{subst:#ifeq: {{{1}}} | user |
{{subst:!}} {{user{{subst:!}}{{{2}}}}}
{{subst:!}} {{subst:CURRENTTIME}}, {{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
{{subst:!}} {{{3}}}
{{subst:!}} {{{4}}}
| }}