Difference between revisions of "Cheat sheet"

From The Grove - Academia de Idiomas
Jump to: navigation, search
Line 18: Line 18:
 
Code: <pre><div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
Code: <pre><div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
This text is not collapsible; but the next is collapsible and hidden by default:
 
This text is not collapsible; but the next is collapsible and hidden by default:
<div class="mw-collapsible-content">{{Lorem}}</div>
+
<div class="mw-collapsible-content">This one only shows when you click "expand"</div>
 
</div></pre>
 
</div></pre>
  
Line 26: Line 26:
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
This text is not collapsible; but the next is collapsible and hidden by default:
 
This text is not collapsible; but the next is collapsible and hidden by default:
<div class="mw-collapsible-content">{{Lorem}}</div>
+
<div class="mw-collapsible-content">This one only shows when you click "expand"</div>
 
</div>
 
</div>
  
 
==Testes==
 
==Testes==

Revision as of 16:29, 8 February 2013

Esta página deve ser usada para testes e referências.

Referências

Adicionando vídeos do Youtube

Code:

{{#ev:youtube|ID}}

Guide: http://www.mediawiki.org/wiki/Extension:EmbedVideo

Example:

Collapsible Text

Code:

<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
This text is not collapsible; but the next is collapsible and hidden by default:
<div class="mw-collapsible-content">This one only shows when you click "expand"</div>
</div>

Guide: http://www.mediawiki.org/wiki/Manual:Collapsible_elements

Examples

This text is not collapsible; but the next is collapsible and hidden by default:

This one only shows when you click "expand"

Testes