Difference between revisions of "User talk:Ctsolakis"
From crtc.cs.odu.edu
(→collapse text) |
|||
Line 3: | Line 3: | ||
<!-- overflow:auto; to fix collapsed display, because the toggle link has float:right; --> | <!-- overflow:auto; to fix collapsed display, because the toggle link has float:right; --> | ||
<div class="toccolours mw-collapsible" style="width:400px; overflow:auto;"> | <div class="toccolours mw-collapsible" style="width:400px; overflow:auto;"> | ||
− | This text is collapsible. | + | This text is collapsible. test text |
</div> | </div> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<!-- overflow:auto; to fix collapsed display, because the toggle link has float:right; --> | <!-- overflow:auto; to fix collapsed display, because the toggle link has float:right; --> | ||
<div class="toccolours mw-collapsible" style="width:400px; overflow:auto;"> | <div class="toccolours mw-collapsible" style="width:400px; overflow:auto;"> | ||
− | This text is collapsible. | + | This text is collapsible. test text |
</div> | </div> | ||
+ | |||
== collapse tables == | == collapse tables == | ||
<syntaxhighlight lang="wiki" line='line'> | <syntaxhighlight lang="wiki" line='line'> |
Revision as of 16:42, 6 August 2018
Contents
collapse text
<!-- overflow:auto; to fix collapsed display, because the toggle link has float:right; -->
<div class="toccolours mw-collapsible" style="width:400px; overflow:auto;">
This text is collapsible. test text
</div>
This text is collapsible. test text
collapse tables
{| class="mw-collapsible mw-collapsed wikitable"
! The header || remains visible
|-
| This content || is hidden
|-
| at first || load time
|}
The header | remains visible |
---|---|
This content | is hidden |
at first | load time |
Extension SyntaxHighlight test
https://www.mediawiki.org/wiki/Extension:SyntaxHighlight
def quickSort(arr):
less = []
pivotList = []
more = []
if len(arr) <= 1:
return arr
else:
pass
template<typename Fn, Fn fn, typename... Args>
typename std::result_of<Fn(Args...)>::type
wrapper(Args&&... args) {
return fn(std::forward<Args>(args)...);
}
#define WRAPPER(FUNC) wrapper<decltype(&FUNC), &FUNC>
cite extension test
[https://www.mediawiki.org/wiki/Extension:Cite#Usage]
The Sun is pretty big.[1] The Moon, however, is not so big.[2]