Editing Forum:Citation cleanup

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 35: Line 35:
 
Question: What should the template be named. My example calls it '''''ref''''' but I think ref should be saved for a template to replace/simplfy <tt><nowiki><ref name=xyz>content</ref></nowiki></tt>. Which we also do not have and I want to create.
 
Question: What should the template be named. My example calls it '''''ref''''' but I think ref should be saved for a template to replace/simplfy <tt><nowiki><ref name=xyz>content</ref></nowiki></tt>. Which we also do not have and I want to create.
  
====Proposal (new templates)====
+
Proposal (new templates):
 
;ref
 
;ref
 
: <tt><nowiki>{{ref|name=xyz|content=the reference}}</nowiki></tt> that expands to <tt><nowiki><ref name=xyz>the reference</ref></nowiki></tt> Notes: use 1=, allow for no name
 
: <tt><nowiki>{{ref|name=xyz|content=the reference}}</nowiki></tt> that expands to <tt><nowiki><ref name=xyz>the reference</ref></nowiki></tt> Notes: use 1=, allow for no name
Line 54: Line 54:
 
:::: I am a fan of the source list with spare inline references/citations where they are important. That said, complex template programming can be a benefit if it makes editing easier/intuitive. I’ll need more time here before I can recommend a way forward. I have started with, what I hope is, fixing more obvious problems. Perhaps a citation style MOS explaining the source list/inline relationship and tools to achieve that. We do not want the many ways, no recommended footnote style, that leads Wikipedia to so many mixed and over-cited pages. [[User:Philoserf|—¿philoserf?]] ([[User talk:Philoserf|talk]]) 08:32, 17 June 2020 (EDT)
 
:::: I am a fan of the source list with spare inline references/citations where they are important. That said, complex template programming can be a benefit if it makes editing easier/intuitive. I’ll need more time here before I can recommend a way forward. I have started with, what I hope is, fixing more obvious problems. Perhaps a citation style MOS explaining the source list/inline relationship and tools to achieve that. We do not want the many ways, no recommended footnote style, that leads Wikipedia to so many mixed and over-cited pages. [[User:Philoserf|—¿philoserf?]] ([[User talk:Philoserf|talk]]) 08:32, 17 June 2020 (EDT)
  
====Groking template named ref relationship ====
 
 
How was the name in {{tl|Page cite}} and {{tl|Unpublished cite}}’s <tt>citeName</tt> parameter supposed to be used? I haven’t yet found any reuse of this name in the wild. I see much more of the repetition like you might see in [[ToolSet#References & Contributors (Sources)]]. All I know about that would work is <tt><nowiki><ref name=abc/></nowiki></tt>. What did I miss? If I have missed nothing then I will move forward on {{tl|ref}} and {{tl|r}} so I can use <tt><nowiki>{{r|abc}}</nowiki></tt> rather than the ref tag in cleanup. [[User:Philoserf|—¿philoserf?]] ([[User talk:Philoserf|talk]]) 23:57, 17 June 2020 (EDT)
 
How was the name in {{tl|Page cite}} and {{tl|Unpublished cite}}’s <tt>citeName</tt> parameter supposed to be used? I haven’t yet found any reuse of this name in the wild. I see much more of the repetition like you might see in [[ToolSet#References & Contributors (Sources)]]. All I know about that would work is <tt><nowiki><ref name=abc/></nowiki></tt>. What did I miss? If I have missed nothing then I will move forward on {{tl|ref}} and {{tl|r}} so I can use <tt><nowiki>{{r|abc}}</nowiki></tt> rather than the ref tag in cleanup. [[User:Philoserf|—¿philoserf?]] ([[User talk:Philoserf|talk]]) 23:57, 17 June 2020 (EDT)
  
Line 65: Line 64:
  
 
:::: The {{tl|Page cite}} and {{tl|unpublished cite}} need to have the ''first'' reference on the page with the text (name, etc parameters set), reading from top to bottom. The following references can just use citeName. This is a limitation of the ref tag and the default values in the templates. [[User:Tjoneslo|Tjoneslo]] ([[User talk:Tjoneslo|talk]]) 16:44, 18 June 2020 (EDT)
 
:::: The {{tl|Page cite}} and {{tl|unpublished cite}} need to have the ''first'' reference on the page with the text (name, etc parameters set), reading from top to bottom. The following references can just use citeName. This is a limitation of the ref tag and the default values in the templates. [[User:Tjoneslo|Tjoneslo]] ([[User talk:Tjoneslo|talk]]) 16:44, 18 June 2020 (EDT)
 
::::: I see that with your fix. My template foo grows with each conversation/observation. ![[User:Philoserf|—¿philoserf?]] ([[User talk:Philoserf|talk]])
 

Please note that all contributions to Traveller are considered to be released under the Traveller Copyright (see Copyright for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page: