Template talk:AF Cite Book
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Needed?
[edit]is this really needed? why not use Template:Cite Book?— Preceding unsigned comment added by 130.39.191.193 (talk) 01:28, 16 May 2009 (UTC)
- It is easier than re-entering all of the information like ISBN's and dates, etc. And it does use
{{cite book}}
. LegoKontribsTalkM 18:18, 16 May 2009 (UTC)
- Just used it. I found it most useful. HairyWombat 16:08, 11 September 2010 (UTC)
"editor" and "accessdate"
[edit]I have been tidying up the template, and noticed that the parameters |editor=
and |accessdate=
in {{cite book}} are included. (Note that parameter |accessdate=
is for an online copy of the book, and is useless without an accompanying |url=
parameter.) Are these actually used anywhere? If not then they should be dumped to make the template simpler. HairyWombat 17:01, 12 September 2010 (UTC)
Later. Done. HairyWombat 17:19, 18 September 2010 (UTC)
Some improvements
[edit]This template needs some work. I suggest the following changes:
- Zap parameters
|editor=
and|accessdate=
, as described above. - Use variable {{PAGENAME}} and additional logic to insert links to the novels (or not); this will solve the problem of ugly bold non-functioning links.
Fix parameter|origmonth=
; this does not exist in template {{cite book}}.- Select parameter
|page=
or|pages=
in template {{cite book}}, depending on an empty or non-empty|endpage=
parameter. - Add parameter
|oclc=
to template {{cite book}}. - Ignore parameter
|pages=
in template {{AF Cite Book}} as it is redundant; instead, use a non-empty|startpage=
parameter. - In doc, add template to Category:Artemis Fowl.
- In doc, add link to Artemis Fowl:The Graphic Novel.
- In doc, add new sections "Usage" and "Examples" (the former is standard and the latter will be useful
for testing using Show preview).
I will implement these changes in the next few days unless there are objections. HairyWombat 22:06, 16 September 2010 (UTC)
- Looks fine. I guess {{cite book}} has changed since I first made this. LegoKontribsTalkM 01:14, 17 September 2010 (UTC)
All done. I replaced both parameters |origmonth=
and |year=
with the single parameter |date=
. Also, the template now has both sandbox and testcases pages.
If I was starting from scratch then I would write the template to accept parameters |page=
, |pages=
and |chapter=
, and blindly pass these through to the template {{cite book}}. To see how this would work, see the template {{Cite MAG}} which I created last night. The problem with doing this now is that someone would need to change all existing uses of the template, and I can't be arsed. HairyWombat 17:15, 20 September 2010 (UTC)
Further improvements
[edit]I have recently removed startpage and endpage from {{Fasti Ecclesiae Anglicanae}}
and the same thing is being done with {{London Gazette}}
. The reasoning behind this is that the documentation can link to help:CS1 help:cs1, and as editors are already familiar with page and pages, this is what they will tend to remember rather than the non-standard startpage endpage pair. -- PBS (talk) 14:02, 14 May 2017 (UTC)