Template talk:As of

{{Permanently protected}}

{{talk header}}

{{WikiProject banner shell|

{{WikiProject Inline Templates}}

}}

{{User:MiszaBot/config

|archiveheader = {{talkarchivenav}}

|maxarchivesize = 75K

|counter = 2

|minthreadsleft = 4

|minthreadstoarchive = 1

|algo = old(28d)

|archive = Template talk:As of/Archive %(counter)d

}}

{{archives|search=yes}}

lc parameter without a value

The documentation says that the lc parameter gives lower case for any value of the parameter, but what is confusing is that it gives lower case even without a value.

See the following examples:

  • {{As of|2019|02|24|lc=y}} {{As of|2019|02|24|lc=y}}
  • {{As of|2019|02|24|lc=}} {{As of|2019|02|24|lc=}}
  • {{As of|2019|02|24}} {{As of|2019|02|24}}

--David Biddulph (talk) 16:12, 24 February 2019 (UTC)

:That is confusing, having two default parameters. Could we have a quicker way to set the case? I'm thinking {{ASOF|2018}} and {{asof|2018}} as aliases. HLHJ (talk) 23:43, 19 September 2021 (UTC)

::I would still really like this functionality. I try to put a sentence's core info first, and "as of X" is usually supplementary info the reader doesn't care about, or understand the meaning of, until they know what the main fact is. So I usually put it last, and typing "|lc=y" is a pain. Does anyone have objections?

::Separately, "as of mid-March" (late, early) also returns an error. HLHJ (talk) 19:19, 17 March 2023 (UTC)

date formatting

I ask without judgment because I know next-to-nothing about template programming, but why doesn't {{tl|as of}} check for a time and date maintenance template (e.g. {{tl|use mdy dates}}) for automatic formatting of the date (similar to citation templates)? — Fourthords | =Λ= | 15:55, 9 April 2023 (UTC)

:I just came here to ask the same thing.

:{{tl|Use mdy dates}} tags pages with a maintenance category, and templates can modify behavior depending on page categories (see e.g. {{tl|if in category}}), so it should be possible. The categories are parameterized by month (:Category:Use mdy dates from October 2024 instead of just :Category:Use mdy dates), so it'd probably require some custom Lua, or additions to Module:If in category to optionally walk the category tree. DefaultFree (talk) 21:55, 18 October 2024 (UTC)

Template-protected edit request on 5 November 2024

{{edit template-protected|Template:As of|answered=yes}}

139.135.241.38 (talk) 18:25, 5 November 2024 (UTC)

--139.135.241.38 (talk) 18:25, 5 November 2024 (UTC)

:File:Red question icon with gradient background.svg Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format and provide a reliable source if appropriate. DigitalChutney (talk) 22:55, 5 November 2024 (UTC)