Template talk:CustomToggleButton
From Pathfinder Wiki
Revision as of 08:14, 9 November 2020 by DesignerThan (talk | contribs)
For this template I would need the ParserFunction [#forargs]. With that it would be possible to create a button to show/hide all boxes with a given namen. I think that would be nice for the answer pages. --DesignerThan (talk) 19:41, 8 November 2020 (EST)
- That will take some work, but it's doable. Right now we're still running MW 1.23, and the loops extension requires 1.35 or higher. But it is something we should do, and I don't keep up with the upgrades as well as I should. As part of doing an upgrade, I will do a backup, so I can put the backup file somewhere that you could download it. This might have to wait until the end of the month though when I have some time off from work. --Jomegat (talk) 20:06, 8 November 2020 (EST)
- That's a setting of the Box itself. Sadly it is not possible to change the text of this button depending of the state of the box. That I would need to program and I think that's not that easy. --DesignerThan (talk) 01:53, 9 November 2020 (EST)
- Man it was way to late yesterday so I have not seen your previouse answer. If I would have a backup I could set up a testenvironment on my webserver, where we can upgrade MW and test it. If you give me the rights and how to I could do the backup myself, but that's your decision.--DesignerThan (talk) 03:14, 9 November 2020 (EST)
- That's a setting of the Box itself. Sadly it is not possible to change the text of this button depending of the state of the box. That I would need to program and I think that's not that easy. --DesignerThan (talk) 01:53, 9 November 2020 (EST)