Help talk:Cite errors

From Safer nicotine wiki
Jump to navigation Jump to search
Wikipedia Help Project (Rated NA-class, High-importance)
WikiProject iconThis page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the Help Menu or Help Directory. Or ask for help on your talk page and a volunteer will visit you there.
NA This page does not require a rating on the project's quality scale.
 High  This page has been rated as High-importance on the project's importance scale.


Help talk:Cite errors/Centralized discussions

To-do list for Help:Cite errors: edit·history·watch·refresh

To-do list is empty: remove {{To do}} tag or click on edit to add an item.

double pipe in {{efn}} causes non-obvious error

This is in reference to Help:Cite errors/Cite error ref no input. You'll get that error message ("There are <ref> tags on this page without content in them") if you accidentally put a double pipe in an {{efn}} template: {{efn||Oops}}. The reason isn't necessarily obvious when you get the error. You may want to mention this.

I couldn't demo it here because it only seems to happen in article space, not talk space. In talk or User space, the {{efn}} just disappears. Dan Bloch (talk) 04:30, 30 August 2021 (UTC)

The issue is not specific to this template. All templates that use unnamed parameters are susceptible to this - the parameters are position-dependent (so are sometimes called positional parameters) and each pipe marks a position. So in {{efn||Oops}} the first positional parameter is the null string, and the word "Oops" is now in the second positional parameter. --Redrose64 🌹 (talk) 06:54, 30 August 2021 (UTC)