Difference between revisions of "Cheat sheet"
From The Grove - Academia de Idiomas
Line 56: | Line 56: | ||
</quiz> | </quiz> | ||
+ | <br> | ||
+ | ===Gallery=== | ||
+ | '''Code''':<pre> | ||
+ | <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> | ||
+ | </pre> | ||
+ | '''Guide''': http://en.wikipedia.org/wiki/Wikipedia:Gallery_tag | ||
− | == | + | '''Example''': |
− | + | <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 | ||
File:Asteroidsscale.jpg|Captioned | File:Asteroidsscale.jpg|Captioned | ||
Line 70: | Line 88: | ||
File:Asteroidsscale.jpg|Full [[MediaWiki]] <br />[[syntax]] may now be used... | File:Asteroidsscale.jpg|Full [[MediaWiki]] <br />[[syntax]] may now be used... | ||
</gallery> | </gallery> | ||
+ | |||
+ | ==Testes== | ||
+ | |||
+ | Adicione os testes que quiser abaixo desta linha: | ||
+ | ---- |
Revision as of 23:08, 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
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> {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:
Testes
Adicione os testes que quiser abaixo desta linha: