Unfortunately, the results are the same.
On Feb 20, 2008, at 5:19 PM, Lennie Jarratt wrote:
Use === instead of == on each side of the header.
Lennie
On Feb 20, 2008 4:12 PM, Eric Gorr <mailist(a)ericgorr.net> wrote:
I am trying to figure out how templates work and
have run into some
trouble. I've got a template defined as:
==Description==<br>
{{{Description}}}<br>
===Parameters===<br>
{{{Parameters}}}<br>
===Return Value===<br>
{{{ReturnValue}}}<br>
==Notes==<br>
{{{Notes}}}<br>
==Examples==<br>
{{{Examples}}}<br>
==Change Log==<br>
{{{ChangeLog}}}<br>
==See Also==<br>
{{{SeeAlso}}}<br>
[[Category:{{{Category}}}]]
The problem is that when I use the template by doing:
{{FunctionDefinition
|Description=GetFileIndex Description
|Parameters=Joe
|ReturnValue=its return value
|Notes=some notes
|Examples=the examples
|ChangeLog=the changelog
|SeeAlso=my see also
|Category=ATestCategory}}
The substitution happens correctly, but the section headers are just
appearing as
==Description==
etc. and I would like to see them show up as regular wiki section
headers.
Now, if I change the template to be:
<h1>Description</h1><br>
etc.
the section headers do show up as I expect them to be...is this the
correct method?
I also noticed that the 'edit' link also appears next to the section
header and clicking on it produces an error - can this section 'edit'
link be suppressed?
Thank you.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l