Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template talk:As of

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Template:As of ispermanentlyprotected from editing as it is aheavily 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 byconsensus, 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'sdocumentation to add usage notes orcategories.

Any contributor may edit the template'ssandbox. Functionality of the template can be checked usingtest cases.


This is thetalk page for discussing improvements to theAs of template.
Archives:1,2Auto-archiving period:28 days 
This template does not require a rating on Wikipedia'scontent assessment scale.
It is of interest to the followingWikiProjects:
Inline Templates
This template is within the scope ofWikiProject Inline Templates, a collaborative effort to improve and manage Wikipedia's inline footnote, cleanup and dispute templates. If you would like to participate, you can visit the project page, where you can join the project and see a list of open tasks.
Some discussion of this template may take place atthe project's talk page, rather than here.Inline TemplatesWikipedia:WikiProject Inline TemplatesTemplate:WikiProject Inline TemplatesInline Templates


Archives
Archive 1Archive 2


This page has archives. Sections older than28 days may be auto-archived byLowercase sigmabot III if there are more than 4.

lc parameter without a value

[edit]

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 24 February 2019[update]
  • {{As of|2019|02|24|lc=}} As of 24 February 2019[update]
  • {{As of|2019|02|24}} As of 24 February 2019[update]

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

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)[reply]
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)[reply]

date formatting

[edit]

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

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

Edit request 12 May 2025

[edit]
Thisedit request has been answered. Set the|answered= parameter tono to reactivate your request.

Description of suggested change: addnocap as an alternative forlc.RodRabelo7 (talk)02:01, 12 May 2025 (UTC)[reply]

@RodRabelo7: Is there a specific reason for this change? Is it for consistency with another template? or was it discussed somewhere?Est. 2021 (talk ·contribs)04:43, 12 May 2025 (UTC)[reply]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template_talk:As_of&oldid=1290412397"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp