Rosetta Code:Village Pump/Foldable output: Difference between revisions

Content added Content deleted
(→‎Template:Hidden: common.css)
No edit summary
Line 50: Line 50:
::It should probably be {{scrollbegin|30}} and {{scrollend}} so that the output can be pasted in between. Then it's more like a tag, but in a wiki way. --[[User:Mwn3d|Mwn3d]] 18:29, 29 October 2008 (UTC)
::It should probably be {{scrollbegin|30}} and {{scrollend}} so that the output can be pasted in between. Then it's more like a tag, but in a wiki way. --[[User:Mwn3d|Mwn3d]] 18:29, 29 October 2008 (UTC)
:::If it's just a CSS attribute, add it to [[Mediawiki:Common.css]]. --[[User:Short Circuit|Short Circuit]] 02:20, 30 October 2008 (UTC)
:::If it's just a CSS attribute, add it to [[Mediawiki:Common.css]]. --[[User:Short Circuit|Short Circuit]] 02:20, 30 October 2008 (UTC)



=== Template:Hidden ===
=== Template:Hidden ===
Line 55: Line 56:
The "overflow:scroll" is nice but I think that it could be usefull to also have foldable boxes like we can see on other mediawiki's. So I have tryed to import the "Template:Hidden" from Wikipedia ([http://en.wikipedia.org/wiki/Template:Hidden there]) to rosettacode ([http://rosettacode.org/wiki/Template:Hidden here]). Then I have just tryed to use it on [http://rosettacode.org/wiki/Ackermann_Function#Tail-Recursive this page] to provide a complete program, and instead of the foldable box appears a <nowiki>{{{2}}}</nowiki>. Maybe I have missed something? [[User:Blue Prawn|Blue Prawn]] 12:20, 30 December 2008 (UTC)
The "overflow:scroll" is nice but I think that it could be usefull to also have foldable boxes like we can see on other mediawiki's. So I have tryed to import the "Template:Hidden" from Wikipedia ([http://en.wikipedia.org/wiki/Template:Hidden there]) to rosettacode ([http://rosettacode.org/wiki/Template:Hidden here]). Then I have just tryed to use it on [http://rosettacode.org/wiki/Ackermann_Function#Tail-Recursive this page] to provide a complete program, and instead of the foldable box appears a <nowiki>{{{2}}}</nowiki>. Maybe I have missed something? [[User:Blue Prawn|Blue Prawn]] 12:20, 30 December 2008 (UTC)
:I think we need to steal stuff from their [[wp:MediaWiki:Common.css|common.css]] file to put in our [[MediaWiki:common.css|common.css]] file. I don't know a thing about CSS though. --[[User:Mwn3d|Mwn3d]] 17:49, 30 December 2008 (UTC)
:I think we need to steal stuff from their [[wp:MediaWiki:Common.css|common.css]] file to put in our [[MediaWiki:common.css|common.css]] file. I don't know a thing about CSS though. --[[User:Mwn3d|Mwn3d]] 17:49, 30 December 2008 (UTC)


== How can you scroll in a Python> tag ==
Colourised scrollable regions anyone? Thanks. --[[User:Paddy3118|Paddy3118]] 05:24, 31 January 2009 (UTC)