Template talk:Citenewsauthor

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Disambiguation[edit]

How is this template supposed to work for disambiguation? See Minuteman Project, where it's being used to link to a Paul Harris, but it's the wrong Paul Harris. I tried to edit the page to make the link into a disambiguation, but I can't figure out how to do it when using the citenewsauthor template. RickK 03:25, Apr 11, 2005 (UTC)

I second this. Without the ability to handle disambiguation, it's broken. Does anyone know how to fix the template? If it's not possible to fix this, maybe there should be an alternative template that does not automatically insert link brackets [[]]. --Chl 15:22, 7 August 2005 (UTC)[reply]

No url formatting problem[edit]

This template creates a weird formatting problem if no {{{url}}} is specified. For example:

*{{Citenewsauthor | surname=Kasparov | given=Garry | title=Fischer's Price | date=July 2004 | org=The Wall Street Journal | url=}}

Produces:

  • {{Citenewsauthor | surname=Kasparov | given=Garry | title=Fischer's Price | date=July 2004 | org=The Wall Street Journal | url=}}

--Malathion 00:27, 12 July 2005 (UTC)[reply]

Replacing with template:cite news[edit]

I'm starting to replace inclusions of citenewsauthor with {{cite news}}. The parameters are mapped as follows:

citenewsauthor     cite news
--------------     ---------
given           →  first
surname         →  last
url             →  url
title           →  title
org             →  publisher
date            →  date

--Ligulem 07:53, 4 April 2006 (UTC)[reply]

Settings for WP:AWB:

  <FindAndReplaceSettings>
    <findandreplace enabled="True" regex="True" casesensitive="True" />
    <datagridFAR find="({{[\s]*)[Tt]emplate[:]" replacewith="$1" />
    <datagridFAR find="({{[\s]*[Cc]itenewsauthor[\s]*[|][\s]*)given([\s]*=)" replacewith="$1first$2" />
    <datagridFAR find="({{[\s]*[Cc]itenewsauthor[\s]*[|][^}]*[\s|])given([\s]*=)" replacewith="$1first$2" />
    <datagridFAR find="({{[\s]*[Cc]itenewsauthor[\s]*[|][\s]*)surname([\s]*=)" replacewith="$1last$2" />
    <datagridFAR find="({{[\s]*[Cc]itenewsauthor[\s]*[|][^}]*[\s|])surname([\s]*=)" replacewith="$1last$2" />
    <datagridFAR find="({{[\s]*[Cc]itenewsauthor[\s]*[|][\s]*)org([\s]*=)" replacewith="$1publisher$2" />
    <datagridFAR find="({{[\s]*[Cc]itenewsauthor[\s]*[|][^}]*[\s|])org([\s]*=)" replacewith="$1publisher$2" />
    <datagridFAR find="({{[\s]*)[Cc]itenewsauthor([\s]*[|])" replacewith="$1cite news$2" />
  </FindAndReplaceSettings>

--Ligulem 08:22, 4 April 2006 (UTC)[reply]