Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:Math proof

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Template talk:Math proof/doc)
Latest comment: 1 year ago by The-erinaceous-one in topic QED mark at end?

Thank you Maproom for moving Modèle:Démonstration from French Wikipedia to here and modifying it. I thought about doing it myself, but discovered you had saved me the work! I'm making two changes. I've added the parameter "proof" to do the same thing as "continue". I think it's a more descriptive name. I suspect the French used "contenu" (which means contents) because the word "démonstration" is so long. The new "proof" parameter takes precedence (if it's there) over "continue" and an unnamed parameter. I also wrote what I hope is a more descriptive error message because I couldn't figure out why the "math proof" template worked for some of my proofs using an unnamed parameter and not for others. I found the answer in Help:Template.

While testing the code, I discovered that "continue" does not take precedence over an unnamed parameter unless the unnamed parameter contains an = (which generates an error if the continue parameter is not there). I thought when you name the parameter, it is always supposed to take precedence over the unnamed parameter. I can change the code so it always takes precedence, but I'm leaving it the same for now because I don't want to break any user code. It doesn't matter for my code because I'm using the new proof parameter.

In the future, I plan to add more documentation, perhaps translate the French documentation. But right now, I'm busy with a math article.--RJGray (talk) 19:30, 1 August 2015 (UTC)Reply

[edit]

The related Template:Math statement, Template:Math proof/start and Template:Math proof/end have been proposed for deletion. You can take part in the discussion at Wikipedia:Templates for discussion/Log/2016 October 18#Template:Math statement. – Uanfala (talk) 17:45, 18 October 2016 (UTC)Reply

The deletion of the related templates is fine with me. I've only used Template:Math proof. For example, I used it in Georg Cantor's first set theory article. RJGray (talk) 17:59, 21 October 2016 (UTC)Reply

Dash

[edit]

Why does it put a dash at the end of the title? Since the proof body starts on a separate line, and from a separate sentence, there should be no additional punctuation, per MOS:HEADINGS (see "Heading-like material" there). — Mikhail Ryazanov (talk) 01:30, 1 November 2021 (UTC)Reply

QED mark at end?

[edit]

Would it be possible to insert a QED mark at the end of the proof, possibly with an option to change it? Using this code makes a decent box, although not right-aligned as is typical in math papers: [[Q.E.D.|∎]]. The-erinaceous-one (talk) 09:31, 3 August 2024 (UTC)Reply