Promising idea[]

Could be distinctly useful. I'll invite Bill to look at it. Robin Patterson 01:20, 25 September 2006 (UTC)


Now several days later, having only just noticed Bill's message of puzzlement (because the "You have new messages" system has broken down), I share Bill's puzzlement although I possibly have some idea what this template is to do. Yes, now checked how Chad used it.

Putting that (in other words, typing "{{surname|Selected Surname}}") on any page will automatically put the page into the "surname" category that has the "piped" name. Saves a bit of time if starting from scratch.

However, if your "model" page (which we rather loosely call a "template") already has something like "[[category:Selected Surname Surname]]" there's no apparent saving in time because either way you just paste the selected surname over the "Selected Surname".

Robin Patterson 22:32, 27 September 2006 (UTC)

Beware Wikipedia's template with the same name[]

See Template:Same surname. We will have to watch imported material containing Template:Surname to see that it is edited to point to our longer-named version. Robin Patterson 14:45, 3 July 2008 (UTC)

OK, mea culpa, I forgot. It was nearly five years! As we are now seeing a few more of them - - and not all of us are noticing them, maybe we should consider abandoning our one (or using a bot to change all current instances to a different template that does the same job), because:
  • We don't need it on standard articles
  • It saves only a small amount of typing time
  • We try to go along with Wikipedia except where we have very good reason to depart from it.
-- Robin Patterson (Talk) 11:59, April 4, 2013 (UTC)

Possible further improvement[]

If people use the DEFAULTSORT magic word to list in surname order, this template will list the person in surname order in the surname category, which is OK — though not good — if all the names in the category are in that order, but not if most are in alpha order of first name, which most are at present. I think the inclusion of "|{{PAGENAME}}" would fix that. Anyone see any problems there? Robin Patterson 08:44, 7 July 2008 (UTC)

Page names do not necessarily begin with first name.~ Phlox 17:28, 6 August 2009 (UTC)