Topic on Extension talk:Tabs

collapsed attribute in template can't work

1
59.172.176.183 (talkcontribs)

Hi@Joeytje50,

I create the mediawiki template "novel" as below:

{{#tag:tab |{{{content|{{{1|'''Warning! there is no content.'''}}}}}} |{{#if:{{{collapsed|}}}|{{{collapsed}}}}} |class=novel |openname="{{#if:{{{openname|}}}|{{{openname}}}}}(Click to show)" |closename="{{#if:{{{closename|}}}|{{{closename}}}}}(Click to hide)" |style="background:white; width:100%" }} 

But when I use the template:

{{template:novel |content=This is a test ! |collapsed=collapsed }} 

the toggle box can't appear collapsed ! Do you know why? I am looking forward to your repaly!

Reply to "collapsed attribute in template can't work"