Template talk:R from year
Appearance
Template:R from year is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. This template does not have a testcases subpage. You can create the testcases subpage here. |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||
|
Tests of template
[edit]- The below will show the pipetricks applied...
- to sort to the category Redirects from year format. Asserting the parameter 'test' as TRUE, bypassed normal output, and prevents actual categorization.
Test with 'test' FALSE
[edit]- {{R from year|0}} -- {{R from year}}
- {{R from year|2000}} -- {{R from year}}
Test with 'test' TRUE (Defined)
[edit]- {{R from year|45|test=1}} -- {{R from year}}
- {{R from year|450|test=1}} -- {{R from year}}
- {{R from year|1945|test=1}} -- {{R from year}}
- {{R from year|145|test=1}} -- {{R from year}}
- {{R from year|1|test=1}} -- {{R from year}}
- {{R from year|15|test=1}} -- {{R from year}}
- {{R from year|150|test=1}} -- {{R from year}}
- {{R from year|1500|test=1}} -- {{R from year}}
- {{R from year|1345|test=1}} -- {{R from year}}
Conclude tests all satisfactory // FrankB 16:52, 28 March 2007 (UTC)
Why add year category?
[edit]Why does this template add the year category? It leads to lots of confusing double listings like in Category:90 where 90 AD and 90 go to the same article. PrimeHunter (talk) 00:54, 3 February 2008 (UTC)
- It seems a bad idea, the template is painfully complicated for a simple, somewhat vague task. Rich Farmbrough, 19:51, 13 January 2011 (UTC).