Difference between revisions of "Cheat sheet"
From The Grove - Academia de Idiomas
| Line 8: | Line 8: | ||
===Adicionando vídeos do Youtube=== | ===Adicionando vídeos do Youtube=== | ||
| − | '''Code''': <pre>{{#ev:youtube|ID}}</pre> | + | '''Code''': <pre width="30%">{{#ev:youtube|ID}}</pre> |
'''Guide''': http://www.mediawiki.org/wiki/Extension:EmbedVideo | '''Guide''': http://www.mediawiki.org/wiki/Extension:EmbedVideo | ||
| Line 19: | Line 19: | ||
===Collapsible Text=== | ===Collapsible Text=== | ||
| − | '''Code''': <pre><div class="toccolours mw-collapsible mw-collapsed" style="width: | + | '''Code''': <pre width="80%"><div class="toccolours mw-collapsible mw-collapsed" style="width:600px"> |
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">This one only shows when you click "expand"</div> | <div class="mw-collapsible-content">This one only shows when you click "expand"</div> | ||
| Line 27: | Line 27: | ||
'''Example''': | '''Example''': | ||
| − | <div class="toccolours mw-collapsible mw-collapsed" style="width: | + | <div class="toccolours mw-collapsible mw-collapsed" style="width:600px"> |
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">This one only shows when you click "expand"</div> | <div class="mw-collapsible-content">This one only shows when you click "expand"</div> | ||
| Line 35: | Line 35: | ||
===Quiz=== | ===Quiz=== | ||
| − | '''Code''':<pre><quiz> | + | '''Code''':<pre width="30%"><quiz display=simple> |
{Question | {Question | ||
|type="()"} | |type="()"} | ||
| Line 47: | Line 47: | ||
'''Example''': | '''Example''': | ||
| − | <quiz> | + | <quiz display=simple> |
{Question | {Question | ||
|type="()"} | |type="()"} | ||
| Line 58: | Line 58: | ||
<br> | <br> | ||
===Gallery=== | ===Gallery=== | ||
| − | '''Code''':<pre> | + | '''Code''':<pre width="80%"> |
<gallery caption="Sample gallery" widths="180px" heights="120px" perrow="5"> | <gallery caption="Sample gallery" widths="180px" heights="120px" perrow="5"> | ||
File:Asteroidsscale.jpg | File:Asteroidsscale.jpg | ||
| Line 90: | Line 90: | ||
===Destacando texto=== | ===Destacando texto=== | ||
| − | '''Code/Example''':<pre> | + | '''Code/Example''':<pre width="40%"> |
<pre width=50%> | <pre width=50%> | ||
I look forward to meeting you. | I look forward to meeting you. | ||
| Line 100: | Line 100: | ||
===Table=== | ===Table=== | ||
| − | '''Code''':<pre> | + | '''Code''':<pre width="50%"> |
{| class="wikitable" align="right" | {| class="wikitable" align="right" | ||
!colspan="5"| verb + verb(ing) | !colspan="5"| verb + verb(ing) | ||
| Line 132: | Line 132: | ||
| miss || postpone || risk | | miss || postpone || risk | ||
|} | |} | ||
| + | |||
| + | ===Adicionando tabs=== | ||
| + | |||
| + | '''Code''': | ||
| + | <pre width="25%"> | ||
| + | = Discussion = | ||
| + | |||
| + | = Teacher Guide = | ||
| + | |||
| + | <headertabs /> | ||
| + | </pre> | ||
| + | |||
| + | '''Guide''': http://www.mediawiki.org/wiki/Extension:Header_Tabs | ||
| + | |||
| + | '''Example''': | ||
| + | = Discussion = | ||
| + | |||
| + | = Teacher Guide = | ||
| + | |||
| + | <headertabs /> | ||
Revision as of 20:19, 5 March 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:600px"> 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
Example:
This text is not collapsible; but the next is collapsible and hidden by default:
This one only shows when you click "expand"
Quiz
Code:
<quiz display=simple>
{Question
|type="()"}
+ The correct answer.
- Distractor.
- Distractor.
- Distractor.
</quiz>
Guide: https://en.wikiversity.org/wiki/Help:Quiz
Example:
Gallery
Code:
<gallery caption="Sample gallery" widths="180px" heights="120px" perrow="5"> File:Asteroidsscale.jpg File:Asteroidsscale.jpg|Captioned File:Asteroidsscale.jpg|Captioned with alt text|alt=The Wikipedia logo File:Asteroidsscale.jpg|[[Help:Contents/Links|Links]] can be put in captions. File:Asteroidsscale.jpg|Full [[MediaWiki]] <br />[[syntax]] may now be used... File:Asteroidsscale.jpg File:Asteroidsscale.jpg|Captioned File:Asteroidsscale.jpg|Captioned with alt text|alt=The Wikipedia logo File:Asteroidsscale.jpg|[[Help:Contents/Links|Links]] can be put in captions. File:Asteroidsscale.jpg|Full [[MediaWiki]] <br />[[syntax]] may now be used... </gallery>
Guide: http://en.wikipedia.org/wiki/Wikipedia:Gallery_tag
Example:
Destacando texto
Code/Example:
<pre width=50%>
I look forward to meeting you.
They left without saying "Goodbye."
</pre>
Table
Code:
{| class="wikitable" align="right"
!colspan="5"| verb + verb(ing)
|+ align="bottom" |
'''Table 2'''
|-
| avoid || dislike || enjoy || finish || mind
|-
| practice || imagine || suggest || stop || deny
|-
| delay || regret || admit || consider || involve
|-
| miss || postpone || risk
|}
Guide: http://www.mediawiki.org/wiki/Help:Tables
Example:
| verb + verb(ing) | ||||
|---|---|---|---|---|
| avoid | dislike | enjoy | finish | mind |
| practice | imagine | suggest | stop | deny |
| delay | regret | admit | consider | involve |
| miss | postpone | risk | ||
Adicionando tabs
Code:
= Discussion = = Teacher Guide = <headertabs />
Guide: http://www.mediawiki.org/wiki/Extension:Header_Tabs
Example:
Discussion
Teacher Guide
<headertabs />