Template talk:Cite map/Archive 2

Latest comment: 12 years ago by Gadget850 in topic Parameters
Archive 1 Archive 2

New issue

Can we get the format to display after the link again, and not after the year? Thanks. Imzadi 1979  00:50, 19 September 2011 (UTC)

Hang on. Something odd with the update I made. ---— Gadget850 (Ed) talk 02:19, 19 September 2011 (UTC)
I know that this is probably beyond the scope of this talk page, but it would be great if Citation 1 templates like this one that have a medium pre-defined ("Map" in this case) could combine the format and that medium together to eliminate the double parentheses. So a PDF map could be "(PDF map)" or whatever instead of "(Map). (PDF)." or however it will appear. Imzadi 1979  02:32, 19 September 2011 (UTC)
CS1 places |format= before the link, which does seem odd, but this is how all the other CS1 templates work; compare to {{cite book}}:
Cite map markup Renders as
{{Cite map |publisher=Kansas Department of Transportation |title=Official State Transportation Map |url=http://www.ksdot.org/burtransplan/maps/state-pdf/kansas0708.pdf |year=2011 |format=PDF}}

Official State Transportation Map (PDF) (Map). Kansas Department of Transportation. 2011.

Cite book markup Renders as
{{Cite book |author=Kansas Department of Transportation |title=Official State Transportation Map |url=http://www.ksdot.org/burtransplan/maps/state-pdf/kansas0708.pdf |year=2011 |format=PDF}}

Kansas Department of Transportation (2011). Official State Transportation Map (PDF).

This just does not seem right, so I started a discussion at Template talk:Citation/core#Format. ---— Gadget850 (Ed) talk 02:58, 19 September 2011 (UTC)

Some strange output

Look at footnotes 6, 58 and 59 on U.S. Route 2 in Michigan, and you'll see that because I don't have an edition defined in those references (they maps don't have editions), we're getting a comma after the scale, a space and then the period. Can someone fix this please? The article is headed to WP:FAC in the very near future. Imzadi 1979  23:28, 15 November 2011 (UTC)

I think I know what is going on. I will work on this tomorrow. A technical issue like this should never be a FAC showstopper though. ---— Gadget850 (Ed) talk 23:43, 15 November 2011 (UTC)
  Fixed Since the parameters feed into one meta-parameter, the separators need to be conditional.

(Map). scale. series. Cartography by cartography. {{cite map}}: Missing or empty |title= (help); More than one of |version= and |series= specified (help)

(Map). scale. series. {{cite map}}: Missing or empty |title= (help); More than one of |version= and |series= specified (help)

(Map). scale. series. Cartography by cartography. {{cite map}}: Missing or empty |title= (help)

(Map). scale. version. Cartography by cartography. {{cite map}}: Missing or empty |title= (help)

(Map). series. Cartography by cartography. {{cite map}}: Missing or empty |title= (help); More than one of |version= and |series= specified (help)

(Map). scale. series. {{cite map}}: Missing or empty |title= (help)

(Map). scale. Cartography by cartography. {{cite map}}: Missing or empty |title= (help)

(Map). version. Cartography by cartography. {{cite map}}: Missing or empty |title= (help)

(Map). scale. series. Cartography by cartography. {{cite map}}: Missing or empty |title= (help); More than one of |version= and |series= specified (help); Unknown parameter |separator= ignored (help)

(Map). scale. series. {{cite map}}: Missing or empty |title= (help); More than one of |version= and |series= specified (help); Unknown parameter |separator= ignored (help)

(Map). scale. series. Cartography by cartography. {{cite map}}: Missing or empty |title= (help); Unknown parameter |separator= ignored (help)

(Map). scale. version. Cartography by cartography. {{cite map}}: Missing or empty |title= (help); Unknown parameter |separator= ignored (help)

(Map). series. Cartography by cartography. {{cite map}}: Missing or empty |title= (help); More than one of |version= and |series= specified (help); Unknown parameter |separator= ignored (help)

(Map). scale. series. {{cite map}}: Missing or empty |title= (help); Unknown parameter |separator= ignored (help)

(Map). scale. Cartography by cartography. {{cite map}}: Missing or empty |title= (help); Unknown parameter |separator= ignored (help)

(Map). version. Cartography by cartography. {{cite map}}: Missing or empty |title= (help); Unknown parameter |separator= ignored (help)

---— Gadget850 (Ed) talk 10:07, 16 November 2011 (UTC)

Um, we've lost the "Cartography by" indicator though. Imzadi 1979  02:10, 17 November 2011 (UTC)
  Fixed ---— Gadget850 (Ed) talk 11:21, 17 November 2011 (UTC)

Edit request on 13 January 2012

To get |at= added, could we get the sandbox synced over to the live template. This will allow us to use custom section/inset/page numbers as needed. I've already tested the code at Interstate 375 (Michigan) (footnote 8 is using at for a range of sections on different insets on three different pages, and it appeared fine if I used {{cite map/sandbox}}.) Thanks.

Imzadi 1979  17:41, 13 January 2012 (UTC)

Looks good to me. A simple way to include location info to complex for the standard fields. ---— Gadget850 (Ed) talk 18:03, 13 January 2012 (UTC)

  Done ---— Gadget850 (Ed) talk 14:14, 14 January 2012 (UTC)

Parameters

This template supports these parameter sets:

  • authors
  • editors
  • others
  • language
  • laysummary
  • id
  • ids from arxiv to zbl
  • display options

{{csdoc|map_pages}} now documents page/pages/at for this template. ---— Gadget850 (Ed) talk 22:50, 14 January 2012 (UTC)

Actually, no, it does not. The authors, editors and others parameters have been excluded in favor of publisher per past consensus. Imzadi 1979  22:53, 14 January 2012 (UTC)

<facepalm> My apologies; doing a bunch of template updates and my brain did not refresh. Cite map does support the above, but display options should be removed since they don't do anything. Unless authormask would be useful for the publisher. ---— Gadget850 (Ed) talk 23:08, 14 January 2012 (UTC)

But editors and others are supported. ---— Gadget850 (Ed) talk 23:09, 14 January 2012 (UTC)
They shouldn't be... kinda pointless if authors aren't supported. Imzadi 1979  23:30, 14 January 2012 (UTC)
Easy enough. What about the others? ---— Gadget850 (Ed) talk 23:40, 14 January 2012 (UTC)
Language should be, but how could you have a laysummary of a map? If you can, that's fine, but if you can't, why support it? (I honestly don't know, so that's why I'm asking.) Imzadi 1979  23:47, 14 January 2012 (UTC)
It is also used for a review. ---— Gadget850 (Ed) talk 23:52, 14 January 2012 (UTC)
Removed the struck parameter sets. Let me know of any other updates. ---— Gadget850 (Ed) talk 00:24, 15 January 2012 (UTC)