Thanks for the reply.
Is this the problem? Mediawiki should treat {{{parameter}}} as the parameter not part of the {{ template }}
How to fix this problem thanks
Message: 7 Date: Thu, 17 Nov 2005 10:46:22 -0800 From: Joshua Yeidel yeidel@wsu.edu Subject: Re: [Mediawiki-l] template problem, donot understand {{{name}}} To: mediawiki list mediawiki-l@Wikimedia.org Message-ID: BFA20FFE.12EE0%yeidel@wsu.edu Content-Type: text/plain; charset="US-ASCII"
"{{" begins the template "call". It is ended by the first occurrence of "}}" -- in your case, immediately after "1". Everything after "1}}" is treated as plain text.
-- Joshua
On 11/16/05 7:39 PM, "judi chen" judi_chen@yahoo.com wrote:
Hi, Thanks for the reply. Here is my problem.
I have a template: t2 with the following code start-{{{1}}}-middle-{{{2}}}-end
An if I do {{t2|{{{1}}}|a}} to call the Template:t2
I suppose to get this as output, start-{{{1}}}-middle-a-end
But rather I got this on my wiki
start-{{{1-middle-{{{2}}}-end}|a}}
That is my problem
Any suggestions thanks jc
__________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
On 11/17/05 4:26 PM, "judi chen" judi_chen@yahoo.com wrote:
Thanks for the reply.
Is this the problem? Mediawiki should treat {{{parameter}}} as the parameter not part of the {{ template }}
How to fix this problem thanks
You _intend_ for Mediawiki to treat "{{{1}}}" as a parameter value, and not as part of the template call, but it's not clear to me that it _should_ do that.
The notation "{{{1}}}" is used in a template _body_ as a placeholder for a parameter value that will be passed in a template _call_. You are using it as a parameter value within a template call, which (it seems) was not anticipated by the people who coded the parser.
Have you tried:
{{t2|<nowiki>{{{1}}}</nowiki>|a}}
This might prevent the interpretation of the "}}" as closing the template call.
-- Joshua
Message: 7 Date: Thu, 17 Nov 2005 10:46:22 -0800 From: Joshua Yeidel yeidel@wsu.edu Subject: Re: [Mediawiki-l] template problem, donot understand {{{name}}} To: mediawiki list mediawiki-l@Wikimedia.org Message-ID: BFA20FFE.12EE0%yeidel@wsu.edu Content-Type: text/plain; charset="US-ASCII"
"{{" begins the template "call". It is ended by the first occurrence of "}}" -- in your case, immediately after "1". Everything after "1}}" is treated as plain text.
-- Joshua
On 11/16/05 7:39 PM, "judi chen" judi_chen@yahoo.com wrote:
Hi, Thanks for the reply. Here is my problem.
I have a template: t2 with the following code start-{{{1}}}-middle-{{{2}}}-end
An if I do {{t2|{{{1}}}|a}} to call the Template:t2
I suppose to get this as output, start-{{{1}}}-middle-a-end
But rather I got this on my wiki
start-{{{1-middle-{{{2}}}-end}|a}}
That is my problem
Any suggestions thanks jc
Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org