User talk:Schwede66/sandbox/Template:NZOC

Could you please give me a hand with setting up a simple ref template? I've written the documentation, started the template in this sandbox, and what I'd like to achieve is as follows:
 * The template itself should eventually have a hidden table that relates names of athletes and their number. I will create such table when the template is done.
 * The template uses the athlete's number and that looks up the athlete's name. The URL is created by adding hyphens between first and last names.
 * The cite web output uses accessdate, the athlete's name as article title, and NZOC as the publisher.

I've looked through quite a number of athlete pages and there do not appear to be exceptions to the shown article title and what is used for the url. The seem to use common name, for example Derek Jamie Forbes is listed as DJ Forbes just as he is known. https://www.olympic.org.nz/index.php/athletes/DJ-Forbes

Any queries, please let me know.  Schwede 66  19:13, 17 September 2016 (UTC)