Template talk:test

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
m (subst: Note on subst.)
(subst: - Code?)
Line 7: Line 7:
::Okay, I figured it out.  According to [[MetaWikiPedia:Help:Template#subst|this]], the reason it wasn't working is that parameters don't work with "subst".  They will work with "subst" in 1.4, however.  As of right now, <nowiki>{{test|diff=[http://www.hrwiki.org/index.php?title=Main_Page&diff=0&oldid=1]}}</nowiki> works.[[User:Tom|<nowiki></nowiki>]]  --  [[User:Tom|Tom]] 15:52, 6 Feb 2005 (MST)
::Okay, I figured it out.  According to [[MetaWikiPedia:Help:Template#subst|this]], the reason it wasn't working is that parameters don't work with "subst".  They will work with "subst" in 1.4, however.  As of right now, <nowiki>{{test|diff=[http://www.hrwiki.org/index.php?title=Main_Page&diff=0&oldid=1]}}</nowiki> works.[[User:Tom|<nowiki></nowiki>]]  --  [[User:Tom|Tom]] 15:52, 6 Feb 2005 (MST)
 +
 +
:::So what is the specific code layout for using this template? I think something like the code that was shown at the top of the [[Template talk:unsigned]] would be a bit helpful and clearer. {{User:Thunderbird L17/Siggie}} 20:41, 25 March 2006 (UTC)

Revision as of 20:41, 25 March 2006

subst

I'm thinking {{subst:test}} would be the best way to use something like this, right? I also like the idea of passing a parameter to the template as well. Something like the Template:Succession_box comes to mind so we could say "{{subst:test | diff = [http://www.hrwiki.org/index.php?title=Main_Page&diff=0&oldid=1]}}". Oooh, I'ma test that out now. I know I like to include a diff when I inform newcomers of what's going on. -- Tom 11:43, 6 Feb 2005 (MST)

I can't get the syntax right. I'll try again later. -- Tom 11:54, 6 Feb 2005 (MST)
{{subst:test}} is the prefered way of using this stub. I'll try to get the parameter working later. - Dr Haggis - Talk 14:10, 6 Feb 2005 (MST)
Okay, I figured it out. According to this, the reason it wasn't working is that parameters don't work with "subst". They will work with "subst" in 1.4, however. As of right now, {{test|diff=[http://www.hrwiki.org/index.php?title=Main_Page&diff=0&oldid=1]}} works. -- Tom 15:52, 6 Feb 2005 (MST)
So what is the specific code layout for using this template? I think something like the code that was shown at the top of the Template talk:unsigned would be a bit helpful and clearer. Thunderbird 20:41, 25 March 2006 (UTC)
Personal tools