Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:Mem

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Template talk:Member/a)
Latest comment: 3 months ago by DMacks in topic Approximate years: formatting vs sorting

Sorting

[edit]

Can template sortname be made to work with this or can you add a sort capability for the name and year fields? RlevseTalk 11:01, 17 February 2009 (UTC)Reply

Yes, we could use {{sortname}} and add first and last parameters. Which subtemplate are looking at first? --— Gadget850 (Ed) talk - 13:54, 17 February 2009 (UTC)Reply
The alum one I'm using for the Naval Academy list. See chat on my talk page too. RlevseTalk 14:06, 17 February 2009 (UTC)Reply
Done: see the documentation and Template:Mem/testcases. --— Gadget850 (Ed) talk - 15:38, 17 February 2009 (UTC)Reply
Hmmm... something is not right. --— Gadget850 (Ed) talk - 16:31, 17 February 2009 (UTC)Reply
OK- fixed it! --— Gadget850 (Ed) talk - 17:35, 17 February 2009 (UTC)Reply

VERY NICE! Thanks.RlevseTalk 03:24, 18 February 2009 (UTC)Reply

Broken?

[edit]

This template appears to be broken at List of Texas A&M University people#Texas A&M faculty and affiliates. The text 'style="text-align:center;" |' appears where it shouldn't. ubiquity (talk) 19:30, 24 February 2016 (UTC)Reply

Now fixed. When the class= attributes were added to Template:Mem/fa, a stray pipe symbol was left behind.  jmcgnh(talk) (contribs) 05:01, 22 January 2018 (UTC)Reply

Approximate years: formatting vs sorting

[edit]

Coming from Talk:List of Eagle Scouts#Formatting of "c." (circa) in achievement year column, that article passes data as {{mem/e|eagle=year}} and the resulting Year column is sortable. The problem is how to handle years that are approximate. MOS suggests we specify that as a {{circa}} prefix to the year, but that breaks sortability because "1944", "c. 1945", "1946" are not in order stringwise. Currently, the List article in question puts the circa as a suffix, which is non-standard. I tried using various {{val}} and {{nts}} tricks, but they all seem to require that every row-entry's value is tagged. That would work, but it would be cleaner if we only needed to specify something special when needed at all. Is there a feature of the templates to specify the a certain sort-key or some other trick I'm not seeing? DMacks (talk) 05:31, 7 April 2026 (UTC)Reply