Template:Eventmath lesson plan endorsement

Template description

edit

This 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

edit

In 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).

Technical note

edit
Since the template is not designed to produce anything useful on this template page, if you check the output here, you will get the following result:
  • Replace this text with your endorsement! -- </noinclude>~~~~<noinclude>