Template:Eventmath lesson plan endorsement
Template description
editThis template helps new users add an endorsement to an Eventmath lesson plan,
via the Endorse button of the Eventmath lesson plan template. When the Endorse button preloads this endorsement template into a blank editor, the editor includes the wikitext * Replace this text with your endorsement! -- ~~~~
, and the button also ensures that an instruction page is loaded above the editor, to explain the wiki markup. Preloading the template and loading the instructions page are both accomplished with the InputBox extension.
How it works
editIn the source for this template, the signature is marked up as follows: <noinclude><nowiki></noinclude>~~~~~<noinclude></nowiki></noinclude>
. Typically, ~~~~
produces a signature for the editor making the edit, along with a timestamp. The <nowiki>
tags prevent ~~~~
from being processed on this page, so that it's not replaced with the signature of the template author before
being preloaded into the Endorsement. The <noinclude>
tags prevent the <nowiki>
tags from being included in the Endorsement, so that the signature can be processed there. For more context on the technique used here, see the usage hints and workarounds on the Wikipedia template help page (if you're unfamiliar with the standard usage of these tags, the other sections of that page have more context).