Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

User:Shapoklyak/Sandbox

From Appropedia
Jump to navigation Jump to search

This is an unofficial sandbox.

Citation templates[edit]

Let's try to invoke Wikipedia's Wikipedia:Template:Cite web, which seems better than Appropedia's Template:Cite web.

Using an Appropedia template with a reference[1] generated by Citer. Horrible.

The same reference[1], with minor manual tweaks: "website -> work" and "access-date -> accessdate". A bit better, but the URL is still needlessly displayed.

  1. "Des scientifiques mettent en cause leur empreinte écologique" (in fr). Reporterre, le quotidien de l'écologie. Retrieved 2020-01-28.

Trying to use the Citer reference[1] while invoking the Wikipedia template.

  1. {{Wikipedia:cite web| title=Des scientifiques mettent en cause leur empreinte écologique | website=Reporterre, le quotidien de l'écologie | url=https://reporterre.net/Des-scientifiques-mettent-en-cause-leur-empreinte-ecologique | language=fr | access-date=2020-02-04}}

The interwiki links do not seem to work for templates.

Let's try template redirection.[1]

Second-order redirection?[1]

  1. {{#invoke:citation/CS1|citation |CitationClass=web }}

Back to interwiki link: maybe this can be made to work using "scary transcluding".

Directly modifying the template:[1]

  1. "Des scientifiques mettent en cause leur empreinte écologique" (in fr). Reporterre, le quotidien de l'écologie.

The problem has been discussed in the past. The code that prints the URL a second time is at the end of Template:Citation/core.

Update: A change of that template solves the problem, which may no longer be visible in the examples above.