User:Ohiostandard/Templates2

From Wikipedia, the free encyclopedia

No templates currently under development.  – OhioStandard (talk) 19:17, 3 June 2010 (UTC)

Example (talkcontribs) has made few or no other edits outside this topic.

—Preceding unsigned comment added by 70.121.201.58 (talk) 06:51, 2 January 2010 (UTC)


No templates currently under development here.  – OhioStandard (talk) 13:41, 21 July 2010 (UTC)

Fun with wikicode![edit]

Suppose I added the first sentence below to an article's talk page, signed my contribution with the usual four tilde characters, and hit "save". Then further suppose another user came along and appended rest of the wikicode/markup thats shown (in edit mode) below:

Can anyone explain to me what the purpose and affect of the following trailing code that's included above might be?

{{ #if: | The preceding [[Wikipedia:Signatures|unsigned]] comment was added at {{{2}}} (UTC).}}

It doesn't seem to do anything... unless it prevents SignBot from coming along and appending the username/talk/contribs info of the account who added the wikicode? If that's the case, I'd be curious to understand how it does that, if anyone is feeling especially ambitious and charitable. ( And being directed to "The Big Book of Wikicode" that must exist somewhere. ) I'm reasonably familiar with several programming languages if knowing that would make anyone more likely to try to explain how it works. Thanks,  – OhioStandard (talk) 13:41, 21 July 2010 (UTC)

it does do something if you add a date into the spa like this: {{subst:spa|GB fan|12:46, 21 July 2010}} it creates GB fan (talkcontribs) has made few or no other edits outside this topic. The preceding unsigned comment was added at 12:46, 21 July 2010 (UTC)., ~~ GB fan ~~ talk 12:47, 21 July 2010 (UTC)
It is so that you can add unsigned and the spa wording with one template if the spa didn't sign. ~~ GB fan ~~ talk 12:48, 21 July 2010 (UTC)
Got it, thanks so much! I'm always impressed at the extent and depth of technical knowledge available here. Can you also tell me where I should look to learn more about wikicode without just asking y'all?  – OhioStandard (talk) 13:16, 21 July 2010 (UTC)
I just picked it up from playing with it the last few years. Don't really have any advice as to where to go to learn it. ~~ GB fan ~~ talk 13:21, 21 July 2010 (UTC)
Okay, thanks!  – OhioStandard (talk) 13:44, 21 July 2010 (UTC)

Modifying a template[edit]

Here's the code for the template that you can use to "give someone a cookie", viz. Template:WikiCookie, which is instandiated or invoked by {{WikiCookie}} or {{WikiCookie|Optional caption}}.

Source code: (minus the nowiki tags, of course)

[[File:Choco chip cookie.png|left|thumb|150px|{{{message|}}}{{{1|}}}]]<noinclude> {{documentation}} </noinclude>

So what if I were to try this:

Sherlock Holmes Award for Exceptional Sleuthing and Scholarship in Discovering the Facts of the Case in an Unfamiliar Area of Inquiry


In a barnstar format[edit]

The Sherlock Holmes Award for Exceptional Sleuthing to Discover the Facts in an Unfamiliar Area of Inquiry

Conferred for your tenacity and scholarship in researching the legal constraints on the disposal of nuclear waste at sea in connection with the Challenger Deep article. Not many editors will take such care to discover the facts in an area outside their area of training and expertise, and you did! We would have been all to seek without your scholarship in tracking down sources and taking the time to understand a rather complex series of documents. The article is very much the better for your exceptional diligence, and you should be proud of your contribution. Thanks!  – OhioStandard (talk) 18:07, 3 October 2010 (UTC)