Template talk:Cleanup/doc
From EVE University Wiki
Problems with sample Optional descriptors
If you have used the date option as described in the sample please read the following!
I have rewritten the documentation because of an error in the sample.
- Optional descriptors
- Place a reason after the first pipe (the symbol | ), and the parameter
date=
to indicate the month of the request. Copy this format, replacing with a reason, and it will automatically add the month of the request: {{Cleanup|<Place your reason here!>|date={{subst:#time: F Y}} }}
- Sample output
{{Cleanup|overly verbose with multiple redundancies.|date={{#time: F Y}}}}
produces this banner:
This article should be cleaned up or improved, as of February 2017. The reason is: overly verbose with multiple redundancies.
The code as given under Optional descriptors produces the desired result. Do code as written in the sample however does not. the sample code is dynamic, it will always show the current month and year. This is because subst: is missing in front of #time.
The use of this bit of coding is a bit strange as well. Up on saving the page the code is replaced with the current month and year. {{#time: F Y}} is replaced with i.e February 2017. It might just be simpler to type month and year directly. So I removed it from the documentation.
Evon R'al (talk) 14:50, 2 July 2021 (UTC)