Diferenças entre edições de "Ajuda:Como editar"
Linha 2: | Linha 2: | ||
<div class="messagebox" style="float: right; width: 200px; margin-left: 10px; border:1px solid darkgrey; background:WhiteSmoke;">Nota: Pode usar a [[Twiki:Testes|página de testes]] para fazer as suas experiências de edição.</div> | <div class="messagebox" style="float: right; width: 200px; margin-left: 10px; border:1px solid darkgrey; background:WhiteSmoke;">Nota: Pode usar a [[Twiki:Testes|página de testes]] para fazer as suas experiências de edição.</div> | ||
+ | |||
===Introdução=== | ===Introdução=== | ||
Linha 22: | Linha 23: | ||
− | == | + | == Os códigos wiki para formatar artigos== |
− | + | Para fazer com que o texto se pareça com o que está na coluna da esquerda abaixo (efeito obtido), escreva aquilo que se encontra na coluna da direita (código). Você pode deixar esta página aberta numa janela separada do navegador para servir como referência. Se você quiser apenas experimentar sem correr o risco de fazer algum mal a uma página, você pode praticar no ([[Wikipedia:Página de testes|Parque dos Miúdos]]). | |
− | |||
− | === | + | === Texto, secções, parágrafos, listas e linhas=== |
{| border="1" cellpadding="2" cellspacing="0" | {| border="1" cellpadding="2" cellspacing="0" | ||
− | |- | + | |----- |
− | ! | + | ! Resultado obtido |
− | ! | + | ! A escrever |
− | |- | + | |----- |
| | | | ||
− | + | <big><font color="#079600">'''Cabeçalhos:'''</font> | |
− | + | == Nova secção == | |
− | + | === Sub-secção === | |
− | + | ==== Sub-sub-secção ==== | |
− | | | + | | <pre><nowiki> |
− | <pre><nowiki> | + | |
− | + | == Nova secção == | |
+ | |||
+ | === Sub-secção === | ||
+ | |||
+ | ==== Sub-sub-secção ==== | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |- | + | |
+ | |----- | ||
| | | | ||
− | + | <big><font color="#079600">'''Novo parágrafo:'''</font> | |
− | + | ||
+ | Um final de linha apenas é usado para separar frases dentro de um parágrafo. | ||
+ | Um novos parágrafo é criado pressionando-se duas vezes a tecla ''enter'', no seu teclado. | ||
+ | |||
+ | Ou seja, para iniciar outro parágrafo tem de haver uma linha em branco entre as frases. | ||
− | |||
− | |||
| | | | ||
− | <pre><nowiki> | + | <pre><nowiki>Um final de linha apenas é usado para separar |
− | + | frases dentro de um parágrafo. | |
− | + | Um novos parágrafo é criado pressionando-se | |
− | + | duas vezes a tecla ''enter'', no seu teclado. | |
+ | |||
+ | Ou seja, para iniciar outro parágrafo tem de haver | ||
+ | uma linha em branco entre as frases. | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
− | |||
− | |||
− | |||
− | + | |----- valign="top" | |
− | + | | | |
+ | <big><font color="#079600">'''Quebrar linhas:'''</font> | ||
− | + | Você pode quebrar linhas<br> | |
− | + | sem começar um novo parágrafo. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | | <pre><nowiki>Você pode quebrar linhas<br> | |
− | + | sem começar um novo parágrafo.</nowiki></pre> | |
− | + | |----- | |
− | + | ||
− | |- | + | |
| | | | ||
− | + | <big><font color="#079600">'''Lista com marcadores:'''</font> | |
− | * | + | * Listas são fáceis de fazer: |
− | + | ** comece cada linha com um asterisco | |
− | <pre><nowiki> | + | ** mais asteriscos significam níveis mais profundos |
− | + | | <pre><nowiki>* Listas são fáceis de fazer: | |
− | + | ** comece cada linha com um asterisco | |
+ | ** mais asteriscos significam níveis mais profundos | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |- | + | |----- |
| | | | ||
− | + | <big><font color="#079600">'''Lista numerada:'''</font> | |
− | + | # Listas numeradas também são boas | |
+ | # aqui está um item | ||
+ | ## aqui está um sub-item | ||
+ | ## e aqui outro | ||
+ | #Mas lembre-se que o símbolo # tem de estar completamente enconstado à esquerda. | ||
+ | | <pre><nowiki># Listas numeradas também são boas | ||
+ | # aqui está um item | ||
+ | ## aqui está um sub-item | ||
+ | ## e aqui outro | ||
+ | #Mas lembre-se que o símbolo # tem de estar | ||
+ | completamente enconstado à esquerda.</nowiki></pre> | ||
− | + | |----- | |
+ | | | ||
+ | <big><font color="#079600">'''Lista combinada:'''</font> | ||
− | * | + | * Você pode até mesmo combinar funções |
− | + | *# para formar um lista diferente | |
+ | *#* como aqui | ||
+ | | <pre><nowiki>* Você pode até mesmo combinar funções | ||
+ | *# para formar um lista diferente | ||
+ | *#* como aqui</nowiki></pre> | ||
+ | |----- | ||
+ | | | ||
+ | <big><font color="#079600">'''Título com texto:'''</font> | ||
+ | ; Título : com texto | ||
+ | ; Item : a definição do item | ||
+ | | <pre><nowiki>; Título : com texto | ||
+ | ; Item : a definição do item </nowiki></pre> | ||
+ | |----- | ||
+ | | | ||
+ | <big><font color="#079600">'''Identação:'''</font> | ||
+ | : Dois pontos servem para identar uma linha ou parágrafo. | ||
+ | ::Duas vezes dois pontos identam ainda mais. | ||
+ | Um caracter numa nova linha inicia um novo parágrafo. | ||
+ | Nota: Geralmente usado em [[Wikipedia:Página de discussão|páginas de discussão]] para diferenciar entre os diferentes comentários com facilidade. | ||
+ | | <pre><nowiki>: Dois pontos servem para identar uma linha ou parágrafo. | ||
+ | ::Duas vezes dois pontos identam ainda mais. | ||
+ | Um caracter numa nova linha inicia um novo parágrafo. | ||
+ | </nowiki></pre> | ||
+ | |----- valign="top" | ||
| | | | ||
− | <pre><nowiki> | + | <big><font color="#079600">'''Não formatar:'''</font> |
− | + | <pre><nowiki>Se uma linha começa com um espaço então | |
− | + | ela será formatada exatamente | |
+ | como for digitada; | ||
+ | com uma fonte de tamanho fixo; | ||
+ | e as linhas não serão quebradas; | ||
+ | isto é útil para: | ||
+ | * colagem de texto preformatado; | ||
+ | * descrição de algoritmos; | ||
+ | * código fonte de programas | ||
+ | * arte ascii;</nowiki></pre> | ||
+ | |||
+ | Atenção: os ''browsers'' não quebram automaticamente linhas desse tipo, <br>e simplesmente aumentam indefinidamente a largura da janela, que pode ser um efeito não desejável. | ||
− | + | | <pre><nowiki> Se uma linha começa com um espaço então | |
− | + | ela será formatada exatamente | |
− | + | como for digitada; | |
+ | com uma fonte de tamanho fixo; | ||
+ | e as linhas não serão quebradas; | ||
+ | isto é útil para: | ||
+ | * colagem de texto preformatado; | ||
+ | * descrição de algoritmos; | ||
+ | * código fonte de programas | ||
+ | * arte ascii;</nowiki></pre> | ||
− | + | |----- valign="top" | |
− | + | ||
− | + | ||
− | |- valign="top" | + | |
| | | | ||
− | + | <big><font color="#079600">'''Mostrar o código wiki:'''</font> | |
− | + | ||
− | + | Ha três maneiras para exibir o codigo wiki, ao invés de formatação: | |
− | + | #<code>você pode usar o componente <nowiki><code></nowiki></code> | |
+ | #<pre>você pode usar o componente <pre></pre> | ||
+ | #<nowiki>você pode usar o componente <nowiki></nowiki> | ||
+ | A diferença entre o “code” e “pre” é que o componente "pre" preserva quebra de linhas, enquanto o componente "code" não. O componente "nowiki" tag funciona como o componente “code” exceto que ele não usa fonte monospace. | ||
− | + | | <pre>Há três maneiras para exibir o codigo wiki, ao invés de formatação:</pre> | |
− | + | <pre>#<code>você pode usar o componente <code></code></pre> | |
+ | <pre>#<pre>você pode usar o componente <pre></pre></pre></pre></pre></pre> | ||
+ | <pre>#<nowiki><nowiki>você pode usar o componente <nowiki></nowiki></nowiki></pre> | ||
+ | <pre>A diferença entre o “code” e “pre” é que o componente | ||
+ | "pre" preserva quebra de linhas, enquanto o componente "code" não. | ||
+ | O componente "nowiki" tag funciona como o componente “code” | ||
+ | exceto que ele não usa fonte monospace. </pre> | ||
− | + | |----- valign="top" | |
− | + | | | |
− | + | <big><font color="#079600">'''Centrar texto:'''</font> | |
− | + | ||
− | + | <center>Texto centrado.</center> | |
− | <pre><nowiki> | + | | <pre><nowiki><center>Texto centrado.</center></nowiki></pre> |
− | + | ||
− | + | ||
− | + | ||
− | + | |----- valign="top" | |
− | + | | | |
+ | <big><font color="#079600">'''Linha divisória:'''</font> | ||
− | + | Uma linha horizontal de divisão com texto em cima | |
− | + | ---- | |
− | + | e em baixo. | |
− | + | Ou ainda duas linhas | |
− | + | ---- | |
− | + | ---- | |
− | + | ||
+ | Nota: muito útil para separar conversas diferentes em páginas de discussão. | ||
+ | | <pre><nowiki> Uma linha horizontal de divisão com texto em cima | ||
+ | ---- | ||
+ | e em baixo. | ||
− | + | Ou ainda duas linhas | |
− | + | ---- | |
− | + | ----</nowiki></pre> | |
− | + | |} | |
− | + | ||
− | + | == Links, URLs, imagens == | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | [[Wikipedia: | + | {{ver artigos principais|[[Ajuda:Guia de edição/Ligações internas|Ligações internas]], [[Wikipedia:Links externos|Ligações externas]] e [[Ajuda:Guia de edição/Como usar imagens|Imagens]]}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {| border="1" cellpadding="2" cellspacing="0" | |
− | + | |----- | |
− | + | ! Resultado obtido | |
− | + | ! A escrever | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | |----- valign="top" | |
− | + | | | |
− | + | <big><font color="#079600">'''Ligação interna:'''</font> | |
− | + | ||
− | + | ||
− | |- valign="top" | + | |
− | | | + | |
− | + | Ele está a estudar [[matemática discreta]]. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | <br><small>Nota: A primeira letra do artigo-alvo é automaticamente maiúscula. | ||
+ | <br>Os espaços internos em branco são automaticamente representados como caracteres "underscore" (digitar um caractere "underscore" tem o mesmo efeito que digitar | ||
+ | um espaço, porém isto não é recomendado).</small> <br><small>Portanto o link acima é para | ||
+ | <nowiki>http://www.Wikipedia.org/wiki/Matemática_discreta</nowiki>, ou seja, para o | ||
+ | artigo com o nome "Matemática discreta". | ||
+ | | <pre><nowiki>Se está estudando [[matemática discreta]].</nowiki></pre> | ||
+ | |----- | ||
| | | | ||
− | < | + | <big><font color="#079600">'''Ligação interna para secção de artigo:'''</font> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | Link para uma seção de uma página, exemplo [[Lista_de_cidades_por_país#Marrocos]] | |
− | + | <small>Nota: links para seções inexistentes são tratados como se fossem links para o topo da página. | |
− | + | | <pre><nowiki>[[Lista_de_cidades_por_país#Marrocos]]</nowiki></pre> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | <pre><nowiki> | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | [ | + | |
− | + | ||
− | + | ||
− | # | + | |
− | + | ||
− | </nowiki></pre> | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | |----- valign="top" | |
− | + | | | |
− | + | <big><font color="#079600">''' Escolha do nome para a ligação interna:'''</font> | |
− | + | ||
− | + | Mesmo alvo, nomes diferentes: [[Wikipedia:FAQ|Perguntas frequentes]]. | |
− | + | ---- | |
− | + | Esconder o termo entre parêntesis: [[reino (biologia)|reino]]. | |
− | + | ---- | |
+ | Esconder o namespace: [[Wikipedia:FAQ|FAQ]]. | ||
− | + | | <pre><nowiki>Mesmo alvo, nomes diferentes: | |
− | | | + | [[Wikipedia:FAQ|Perguntas frequentes]].</nowiki></pre> |
− | <pre><nowiki> | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <pre><nowiki>Esconder o termo entre parêntesis: [[reino (biologia)|reino]]. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
− | |||
− | |||
− | + | <small>Nota: O servidor preenche a parte | |
+ | que vem depois de | após você gravar a página | ||
− | + | <pre><nowiki>Esconder o namespace: [[Wikipedia:FAQ|FAQ]]. </nowiki></pre> | |
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | |----- valign="top" | |
− | + | | | |
− | + | <big><font color="#079600">'''Terminação da palavra na ligação interna:'''</font> | |
− | | | + | |
− | + | ||
− | + | Combinar as terminações das palavras com a ligação: [[gene]]s | |
| | | | ||
− | |||
− | |||
− | |||
− | |||
− | + | <pre><nowiki>Combinar as terminações das palavras com a ligação: [[gene]]s</nowiki></pre> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | |----- valign="top" | |
− | + | | | |
− | | | + | <big><font color="#079600">'''Ligação ISBN:'''</font> |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | Para criar links para livros, você usa os links [[Especial:Fontes de livros| ISBN 0123456789X]]. | |
− | | | + | |
| | | | ||
− | + | <nowiki>ISBN 0123456789X</nowiki> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </nowiki> | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | |----- valign="top" | |
+ | | | ||
+ | <big><font color="#079600">'''Redireccionamento:'''</font> | ||
− | + | [[Ajuda:Guia de edição/Redireccionar páginas|Redireccionamento]] – a busca pelo título de um artigo será redireccionada para outro, se colocar um texto como este na primeira linha dele. | |
− | | | + | | <pre><nowiki>#REDIRECT [[Estados Unidos da América]]</nowiki></pre> |
− | <pre><nowiki> | + | |
− | [[ | + | |
− | </nowiki></pre> | + | |
− | + | ||
− | = | + | |----- valign="top" |
− | + | |<big><font color="#079600">'''Ligação externa:'''</font></big> | |
− | + | Link externo: [http://pt.wikipedia.org Wikipédia] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | [ | + | |
− | + | ||
− | + | ||
− | + | | <pre><nowiki>Link externo: [http://pt.wikipedia.org Wikipédia]</nowiki></pre> | |
− | + | ||
− | + | ||
− | |<pre> | + | |
− | <nowiki>[ | + | |
− | + | ||
− | |- valign="top" | + | |----- valign="top" |
− | | | + | | |
− | + | <big><font color="#079600">'''URL'''</font> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | Ou apenas forneça a URL: http://pt.wikipedia.org | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <small>Nota: Num [[URL]] todos os caracteres devem estar entre: A-Z, a-z, 0-9, ._\/~%-+&#?!=()@ \x80-\xFF. Se um URL contém um caracter diferente, ele deve ser convertido; por exemplo, ^ deve ser escrito como %5E (segundo lê-se na tabela [[ASCII]]).</small> | |
− | + | | <pre><nowiki>Ou apenas forneça a URL: http://pt.wikipedia.org </nowiki></pre> | |
− | [[ | + | |
− | |<pre> | + | |
− | + | ||
− | <nowiki> | + | |
− | + | ||
− | |- valign="top" | + | |----- valign="top" |
− | | | + | | |
− | + | <big><font color="#079600">'''Usar imagem:'''</font> | |
− | + | ||
− | < | + | |
− | + | ||
− | + | Uma figura: [[Imagem:Wikipedia-logo-pt.png|Wikipedia - A Enciclopédia Livre]] | |
− | + | ||
− | [[: | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <small>Nota: Somente as imagens que foram previamente carregadas no Commons podem ser usadas. Para carregar imagens veja [[Ajuda:Como carregar ficheiros no Commons|como carregar ficheiros no Commons]] e a [[Wikipedia:política de uso de imagens|política de imagens]].</small> | |
− | + | ||
− | [[: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | | <pre><nowiki>Uma figura: [[Imagem:Wikipedia-logo-pt.png]]</nowiki></pre> ou, |
− | + | com a presença de texto alternativo (''altamente'' recomendado) <!-- na verdade | |
− | + | é obrigatório com HTML4 --><pre><nowiki>[[Imagem:Wikipedia-logo-pt.png|Wikipedia - A Enciclopédia | |
− | < | + | Livre]] </nowiki></pre>Navegadores web mostram o texto alternativo quando eles não são capazes <br>de mostrar a imagem -- por exemplo, quando a imagem não foi carregada, ou quando<br> o navegador somente mostra texto, ou quando o navegador fala o texto em voz alta. |
− | + | ||
− | + | ||
− | |- valign="top" | + | |----- valign="top" |
− | + | ||
− | + | ||
− | + | ||
| | | | ||
− | + | <big><font color="#079600">'''Ligar à página de uma imagem:'''</font> | |
− | | | + | |
+ | Clicar numa imagem faz com que apareça uma página de descrição, à qual também se pode ligar diretamente: [[:Imagem:Wikipedia-logo-pt.png]] | ||
+ | | <pre><nowiki> | ||
+ | [[:Imagem:Wikipedia-logo-pt.png]] | ||
</nowiki></pre> | </nowiki></pre> | ||
+ | |----- valign="top" | ||
+ | | | ||
+ | <big><font color="#079600">'''Ligar a outros ficheiros:'''</font> | ||
+ | |||
+ | Para incluir links para arquivos que não sejam imagens, como sons, ou imagens mostradas como links ao invés de serem desenhadas na página, use um link do tipo "media".<br>[[media:Sg_mrob.ogg|Som]]<br> | ||
+ | | | ||
+ | <pre> | ||
+ | <nowiki> | ||
+ | [[media:Sg_mrob.ogg|Som]] | ||
+ | </nowiki></pre> | ||
|} | |} | ||
− | + | == Formatação de caracteres == | |
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |----- | ||
+ | ! Resultado obtido | ||
+ | ! A escrever | ||
− | + | |----- valign="top" | |
+ | | | ||
+ | <big><font color="#079600">'''Itálico e negrito'''</font> | ||
+ | |||
+ | ''Esta linha está em itálico.'' (envolta com duplo apóstrofo) | ||
− | + | <i>Esta também!</i> (envolta com tags de HTML) | |
− | + | <em>E ainda esta!</em> (usando um código ainda diferente). | |
− | + | '''Esta linha está em bold/negrito''' (envolta com triplo apóstrofo) | |
− | + | <b>Esta também!</b> (envolta com tags de HTML) | |
− | + | Por exemplo, em fórmulas matemáticas: | |
− | + | ||
− | + | :<b>F</b> = <i>m</i><b>a</b> | |
− | + | ||
− | + | <small>Nota: Todavia a diferença entre estes dois métodos não é muito importante para os navegadores gráficos, e a maioria das pessoas pode ignorá-la. | |
− | + | ||
| | | | ||
− | '' | + | <pre><nowiki>''Esta linha está em itálico.'' (envolta com duplo apóstrofo) |
+ | |||
+ | <i>Esta também!</i> (envolta com tags de HTML) | ||
+ | |||
+ | <em>E ainda esta!</em> (usando um código ainda diferente). | ||
+ | |||
+ | '''Esta linha está em bold/negrito''' (envolta com triplo apóstrofo) | ||
+ | |||
+ | <b>Esta também!</b> (envolta com tags de HTML) | ||
+ | |||
+ | Por exemplo, em fórmulas matemáticas: | ||
+ | |||
+ | :<b>F</b> = <i>m</i><b>a</b></nowiki></pre> | ||
+ | |||
+ | |----- valign="top" | ||
| | | | ||
− | < | + | <big><font color="#079600">'''Combinação de métodos'''</font> |
− | '' | + | |
− | '' | + | |
− | + | ||
− | </ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ''Enfatizar'', '''com força''', '''''com bastante força'''''. | |
+ | |||
+ | <small>Nota:Estes são apóstrofos duplos e triplos, e não aspas duplas. | ||
| | | | ||
− | <pre><nowiki> | + | <pre><nowiki>''Enfatizar'', '''com força''', |
− | + | '''''com bastante força'''''.</nowiki></pre> | |
− | + | ||
− | </nowiki></pre> | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | |----- valign="top" | |
− | + | | | |
− | + | <big><font color="#079600">'''Termos técnicos'''</font> | |
− | |- valign="top" | + | |
− | | | + | Uma fonte estilo máquina de escrever para <tt>termos técnicos</tt>. |
− | + | | <pre><nowiki>Uma fonte estilo máquina de escrever para <tt>termos | |
+ | técnicos</tt>.</nowiki></pre> | ||
+ | <!-- tt é na verdade um 'teletipo', e não | ||
+ | 'temo técnico' --> | ||
+ | |||
+ | |----- valign="top" | ||
+ | | | ||
+ | <big><font color="#079600">'''Reduzir fonte'''</font> | ||
+ | |||
+ | Você pode usar um <small>texto pequeno</small> para legendas ou notas. | ||
+ | | <pre><nowiki>Você pode usar um <small>texto pequeno</small> para | ||
+ | legendas ou notas.</nowiki></pre> | ||
+ | |||
+ | |----- valign="top" | ||
+ | | | ||
+ | <big><font color="#079600">'''Riscar e sublinhar texto'''</font> | ||
+ | |||
+ | Você pode <strike>riscar material que deva ser | ||
+ | apagado</strike> e <u>sublinhar novo material</u>.. | ||
+ | | <pre><nowiki>Você pode <strike>riscar material que deva ser | ||
+ | apagado</strike> e <u>sublinhar novo material</u>.</nowiki></pre> | ||
+ | |||
+ | |||
+ | |----- valign="top" | ||
| | | | ||
− | < | + | <big><font color="#079600">'''Sobrescrito e subscrito '''</font> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | Você pode fazer <sup>sobrescrito</sup> e <sub>subscrito</sub>. | |
− | < | + | f(x) = a<sub>0</sub> + a<sub>1</sub>x<sub>1</sub> + |
− | + | ||
− | + | ||
− | + | ||
− | + | | <pre><nowiki> Você pode fazer <sup>sobrescrito</sup> | |
− | + | e <sub>subscrito</sub>. | |
+ | |||
+ | f(x) = a<sub>0</sub> + a<sub>1</sub>x<sub>1</sub> + </pre></nowiki> | ||
+ | |||
+ | |----- valign="top" | ||
| | | | ||
− | < | + | <big><font color="#079600">'''Cor e tamanho'''</font> |
− | + | ||
− | + | ||
− | + | Você pode controlar o <font size=+1>tamanho</font> da fonte e sua <font color=blue>cor</font>! | |
− | < | + | |
− | + | Pode também utilizar a propriedade color com uma cor RGB (Red, Green, Blue) | |
− | + | ||
− | + | <font size=+2 color=red>f(x) = a<sub>0</sub> + a<sub>1</sub>x<sub>1</sub>...</font> | |
− | </ | + | |
− | |- valign="top" | + | | <pre><nowiki> Você pode controlar o |
+ | <font size=+1>tamanho</font> da fonte e sua | ||
+ | <font color=blue>cor</font>! | ||
+ | |||
+ | Pode também utilizar a propriedade | ||
+ | color com uma cor RGB (Red, Green, Blue) | ||
+ | |||
+ | <font size=+2 color=red>f(x) = a<sub>0</sub> + | ||
+ | a<sub>1</sub>x<sub>1</sub>...</font></pre></nowiki | ||
+ | |||
+ | |----- valign="top" | ||
| | | | ||
− | + | <big><font color="#079600">'''Acentos e notações lexicais '''</font> | |
− | < | + | |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | '' | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | '' | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | À Á Â Ã Ä Å <br> | |
− | + | Æ Ç È É Ê Ë <br> | |
− | <br | + | Ì Í |
− | <pre><nowiki> | + | Î Ï Ñ Ò <br> |
− | &Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; | + | Ó Ô Õ |
+ | Ö Ø Ù <br> | ||
+ | Ú Û Ü ß | ||
+ | à á <br> | ||
+ | â ã ä å æ | ||
+ | ç <br> | ||
+ | è é ê ë ì í<br> | ||
+ | î ï ñ ò ó ô <br> | ||
+ | œ õ | ||
+ | ö ø ù ú <br> | ||
+ | û ü ÿ | ||
+ | | <pre><nowiki> | ||
+ | &Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; | ||
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; | &AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; | ||
− | &Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve; | + | &Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve; |
&Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave; | &Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave; | ||
− | &Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute; | + | &Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute; |
&acirc; &atilde; &auml; &aring; &aelig; &ccedil; | &acirc; &atilde; &auml; &aring; &aelig; &ccedil; | ||
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute; | &egrave; &eacute; &ecirc; &euml; &igrave; &iacute; | ||
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; | &icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; | ||
− | &oelig; &otilde; &ouml; &oslash; &ugrave; &uacute; | + | &oelig; &otilde; &ouml; &oslash; &ugrave; &uacute; |
− | &ucirc; &uuml; &yuml; | + | &ucirc; &uuml; &yuml;</nowiki></pre> |
− | </nowiki></pre> | + | |----- valign="top" |
− | |- valign="top" | + | |
| | | | ||
− | + | <big><font color="#079600">''' Pontuação '''</font> | |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | ''' | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ¿ ¡ « » § ¶<br> | |
− | <br | + | † ‡ • — |
− | + | | <pre><nowiki> | |
− | < | + | &iquest; &iexcl; &laquo; &raquo; &sect; &para; |
− | + | &dagger; &Dagger; &bull; &mdash;</nowiki></pre> | |
− | < | + | |
− | + | ||
− | + | |----- valign="top" | |
+ | | | ||
+ | <big><font color="#079600">''' Símbolos comerciais '''</font> | ||
− | + | ™ © ® ¢ € ¥ <br> | |
− | + | £ ¤ | |
− | + | | <pre><nowiki> | |
− | + | &trade; &copy; &reg; &cent; &euro; &yen; | |
− | + | &pound; &curren; | |
− | | | + | |
− | + | ||
− | <pre><nowiki> | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</nowiki></pre> | </nowiki></pre> | ||
+ | |----- valign="top" | ||
+ | | | ||
+ | <big><font color="#079600">''' Índice e expoente '''</font> | ||
− | + | Índice: x<sub>2</sub><br> | |
− | x< | + | Expoente: x<sup>2</sup> ou x² |
− | + | ||
− | x& | + | |
− | + | ||
− | + | ||
+ | <small>Nota: O último método de escrever índices superiores não pode ser usado em todos os contextos, mas seu uso é recomendado sempre que possível (como em unidades de medida) porque a maioria dos navegadores gasta menos tempo na formatação das linhas com ele. ε<sub>0</sub> = 8.85 × 10<sup>−12</sup>C² / J m. | ||
+ | | <pre><nowiki>Índice: x<sub>2</sub> | ||
+ | Expoente: x<sup>2</sup> ou x&sup2; | ||
&epsilon;<sub>0</sub> = | &epsilon;<sub>0</sub> = | ||
8.85 &times; 10<sup>&minus;12</sup> | 8.85 &times; 10<sup>&minus;12</sup> | ||
− | C&sup2; / J m. | + | C&sup2; / J m.</nowiki></pre> |
+ | |----- valign="top" | ||
+ | | | ||
+ | <big><font color="#079600">''' Caracteres gregos '''</font> | ||
− | + | α β γ δ ε ζ <br> | |
− | + | η θ ι κ λ μ ν <br> | |
− | + | ξ ο π ρ σ ς <br> | |
− | + | τ υ φ χ ψ ω<br> | |
− | + | Γ Δ Θ Λ Ξ Π <br> | |
− | <br | + | Σ Φ Ψ Ω |
− | + | | <pre><nowiki> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | <pre><nowiki> | + | |
&alpha; &beta; &gamma; &delta; &epsilon; &zeta; | &alpha; &beta; &gamma; &delta; &epsilon; &zeta; | ||
− | &eta; &theta; &iota; &kappa; &lambda; &mu; &nu; | + | &eta; &theta; &iota; &kappa; &lambda; &mu; &nu; |
− | &xi; &omicron; &pi; &rho; &sigma; &sigmaf; | + | &xi; &omicron; &pi; &rho; &sigma; &sigmaf; |
&tau; &upsilon; &phi; &chi; &psi; &omega; | &tau; &upsilon; &phi; &chi; &psi; &omega; | ||
− | &Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi; | + | &Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi; |
&Sigma; &Phi; &Psi; &Omega; | &Sigma; &Phi; &Psi; &Omega; | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |- valign="top" | + | |----- valign="top" |
| | | | ||
− | ''' | + | <big><font color="#079600">''' Caracteres matemáticos '''</font> |
− | < | + | |
− | + | ∫ ∑ ∏ √ − ± ∞<br> | |
− | + | ≈ ∝ ≡ ≠ ≤ ≥ →<br> | |
− | × | + | × · ÷ ∂ ′ ″<br> |
− | + | ∇ ‰ ° ∴ ℵ ø<br> | |
− | + | ∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇<br> | |
− | + | ¬ ∧ ∨ ∃ ∀ ⇒ ⇔<br> | |
− | + | → ↔<br> | |
− | + | ||
− | | | + | | valign="middle" | <pre><nowiki> |
− | + | ||
− | <pre><nowiki> | + | |
&int; &sum; &prod; &radic; &minus; &plusmn; &infin; | &int; &sum; &prod; &radic; &minus; &plusmn; &infin; | ||
− | &asymp; &prop; &equiv; &ne; &le; &ge; | + | &asymp; &prop; &equiv; &ne; &le; &ge; &rarr; |
&times; &middot; &divide; &part; &prime; &Prime; | &times; &middot; &divide; &part; &prime; &Prime; | ||
&nabla; &permil; &deg; &there4; &alefsym; &oslash; | &nabla; &permil; &deg; &there4; &alefsym; &oslash; | ||
− | &isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe; | + | &isin; &notin; &cap; &cup; &sub; &sup; &sube; |
− | &not; &and; &or; &exist; &forall; &rArr; | + | &supe;&not; &and; &or; &exist; &forall; &rArr; |
− | &rarr | + | &hArr;&rarr; &harr;</nowiki></pre> |
− | </nowiki></pre | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |----- valign="top" |
− | + | | <i>x</i><sup>2</sup> ≥ 0 | |
+ | verdadeiro. | ||
− | + | <small>Nota: Para criar espaçamentos, use espaços inquebráveis - <tt>&nbsp;</tt>. | |
+ | <br><tt>&nbsp;</tt> também evita quebras de linha no meio do texto. Útil para fórmulas. | ||
+ | | <pre><nowiki> | ||
+ | <i>x</i><sup>2</sup>&nbsp;&nbsp;&ge;&nbsp;&nbsp;0 verdadeiro. | ||
+ | </nowiki></pre> | ||
+ | |----- | ||
| | | | ||
− | < | + | <big><font color="#079600">''' Fórmulas complicadas '''</font> |
− | + | ||
− | + | ||
− | <math>\ | + | <math>\sum_{n=0}^\infty \frac{x^n}{n!}</math> |
− | + | * Veja [[Ajuda:Guia de edição/Fórmulas TeX|Sobre fórmulas TeX]] | |
+ | | <pre><nowiki> | ||
+ | <math>\sum_{n=0}^\infty \frac{x^n}{n!}</math> | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |- | + | |----- |
| | | | ||
− | + | <big><font color="#079600">'''Suspensão da interpretação da marcação '''</font> | |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | ''' | + | |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <nowiki>Link → (<i>para</i>) a [[FAQ da Wikipedia]]</nowiki> | |
+ | <small>Nota: Usado para mostrar literalmente dados que, de contrário, teriam significado especial. | ||
− | + | <small> Cancela todos os códigos wiki, inclusive aqueles semelhantes a códigos HTML. | |
− | + | <small>Não cancela entidades de caracter HTML. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
| | | | ||
− | < | + | <pre><nowiki><nowiki>Link &rarr; (<i>para</i>) |
− | + | a [[FAQ da Wikipedia]]</nowiki></nowiki></pre> | |
− | + | |----- | |
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </nowiki> | + | |
− | |- | + | |
− | + | ||
| | | | ||
− | + | <big><font color="#079600">''' Inserção de comentários invisíveis '''</font> | |
− | + | ||
+ | ''Não são mostrados na página'' | ||
− | + | <small>Nota: usado, por exemplo, para deixar comentários numa página para futuros editores. Só é visível ao editar uma página. | |
− | + | | | |
− | + | <pre><nowiki><!-- o comentário vai aqui --></nowiki></pre> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </nowiki></pre> | + | |
|} | |} | ||
− | == | + | ==Tabelas== |
− | {{ | + | {{ver artigo principal|[[ Ajuda:Guia de edição/Usar tabelas|Como usar tabelas]]}} |
− | + | ||
− | + | ||
− | + | ;Exemplos | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | = | + | {| border=1 |
− | + | |----- | |
+ | | Item um || Item dois | ||
+ | |----- | ||
+ | | Item tres || Item quatro | ||
+ | |} | ||
− | + | Uma tabela mais moderna: | |
+ | {| border=1 | ||
+ | |----- | ||
+ | | Item um || Item dois | ||
+ | |----- | ||
+ | | rowspan=2 | Item tres || Item quatro | ||
+ | |----- | ||
+ | | Item cinco | ||
+ | |} | ||
− | + | ;Códigos | |
+ | <pre> | ||
+ | {| border=1 | ||
+ | |----- | ||
+ | | Item um || Item dois | ||
+ | |----- | ||
+ | | Item tres || Item quatro | ||
+ | |} | ||
− | + | Uma tabela mais moderna: | |
− | + | {| border=1 | |
− | + | |----- | |
− | + | | Item um || Item dois | |
− | + | |----- | |
− | + | | rowspan=2 | Item tres || Item quatro | |
− | + | |----- | |
− | + | | Item cinco | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {| | + | |
− | |- | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | | | + | |
− | | | + | |
− | + | ||
− | + | ||
− | |- | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | |- | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|} | |} | ||
+ | </pre> | ||
− | + | ==Onde treinar== | |
− | + | Pratique editar páginas no nosso [[Wikipedia:Página de testes|Parque dos Miúdos]]! | |
− | + | Depois, vá adiante e [[Wikipedia:Seja audaz|seja audaz]]! | |
− | + | ||
− | + | ||
− | + | ||
− | == | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {{ | + | =={{ver também}}== |
+ | *[[Ajuda:Guia de edição/Dicas e truques|Dicas e truques]] | ||
+ | *[[Wikipedia:FAQ de edição|FAQ de edição]] | ||
+ | *[[Wikipedia:Como contribuir para a Wikipedia|Como contribuir para a Wikipédia]], sobre o que escrever e como. | ||
− | + | =={{ligações externas}}== | |
+ | *{{en}} [http://www.youtube.com/watch?v=6gbMNhnl1SU&mode=related&search=wikipedia Vídeo mostrando edição de um sistema wikimedia] | ||
− | + | [[Categoria:!Guia de edição|Formatação]] |
Revisão das 08h49min de 13 de outubro de 2007
O Think Finance Wiki é um wiki e isso significa que qualquer um pode facilmente editar qualquer página desprotegida e gravar essas edições de forma a ficarem disponíveis para toda a comunidade ler.
Índice
Introdução
Editar a maior parte das páginas do Think Finance Wiki é fácil. Simplesmente clique na tab "editar" no topo da página, ou no link "editar" numa das secções. Isto activará uma nova página com o conteúdo da página original, mas editável. Quando tiver terminado pode fazer um pequeno sumário do que fez no pequeno campo no fundo da página, pode fazer uma previsão de como ficará a página com as sual alterações, e uma vez satisfeito pode gravar as suas alterações clicando no botão "Salvar página". A partir desse momento as suas alterações estarão disponíveis para toda a comunidade.
Também pode editar a página de discussão do artigo, que contém comentários ao artigo e uma discussão sobre o seu conteúdo. Na página de discussão deverá lembrar-se de assinar os seus comentários, o que se faz escrevendo:
~~~~
De notar que o software mantém automaticamente uma lista de todas as alterações por parte de todos os autores, o que facilita a manutenção dos artigos, bem como a atribuição de créditos.
Se o artigo ainda não possuir uma secção de principais contribuidores, poderá acrescenta-la escrevendo:
== Principais contribuidores == {{Special:Contributors/nome do artigo}}
Os códigos wiki para formatar artigos
Para fazer com que o texto se pareça com o que está na coluna da esquerda abaixo (efeito obtido), escreva aquilo que se encontra na coluna da direita (código). Você pode deixar esta página aberta numa janela separada do navegador para servir como referência. Se você quiser apenas experimentar sem correr o risco de fazer algum mal a uma página, você pode praticar no (Parque dos Miúdos).
Texto, secções, parágrafos, listas e linhas
Resultado obtido | A escrever |
---|---|
Cabeçalhos: Nova secçãoSub-secçãoSub-sub-secção |
== Nova secção == === Sub-secção === ==== Sub-sub-secção ==== |
Novo parágrafo: Um final de linha apenas é usado para separar frases dentro de um parágrafo. Um novos parágrafo é criado pressionando-se duas vezes a tecla enter, no seu teclado. Ou seja, para iniciar outro parágrafo tem de haver uma linha em branco entre as frases. |
Um final de linha apenas é usado para separar frases dentro de um parágrafo. Um novos parágrafo é criado pressionando-se duas vezes a tecla ''enter'', no seu teclado. Ou seja, para iniciar outro parágrafo tem de haver uma linha em branco entre as frases. |
Quebrar linhas: Você pode quebrar linhas |
Você pode quebrar linhas<br> sem começar um novo parágrafo. |
Lista com marcadores:
|
* Listas são fáceis de fazer: ** comece cada linha com um asterisco ** mais asteriscos significam níveis mais profundos |
Lista numerada:
|
# Listas numeradas também são boas # aqui está um item ## aqui está um sub-item ## e aqui outro #Mas lembre-se que o símbolo # tem de estar completamente enconstado à esquerda. |
Lista combinada:
|
* Você pode até mesmo combinar funções *# para formar um lista diferente *#* como aqui |
Título com texto:
|
; Título : com texto ; Item : a definição do item |
Identação:
Um caracter numa nova linha inicia um novo parágrafo. Nota: Geralmente usado em páginas de discussão para diferenciar entre os diferentes comentários com facilidade. |
: Dois pontos servem para identar uma linha ou parágrafo. ::Duas vezes dois pontos identam ainda mais. Um caracter numa nova linha inicia um novo parágrafo. |
Não formatar: Se uma linha começa com um espaço então ela será formatada exatamente como for digitada; com uma fonte de tamanho fixo; e as linhas não serão quebradas; isto é útil para: * colagem de texto preformatado; * descrição de algoritmos; * código fonte de programas * arte ascii; Atenção: os browsers não quebram automaticamente linhas desse tipo, |
Se uma linha começa com um espaço então ela será formatada exatamente como for digitada; com uma fonte de tamanho fixo; e as linhas não serão quebradas; isto é útil para: * colagem de texto preformatado; * descrição de algoritmos; * código fonte de programas * arte ascii; |
Mostrar o código wiki: Ha três maneiras para exibir o codigo wiki, ao invés de formatação:
A diferença entre o “code” e “pre” é que o componente "pre" preserva quebra de linhas, enquanto o componente "code" não. O componente "nowiki" tag funciona como o componente “code” exceto que ele não usa fonte monospace. |
Há três maneiras para exibir o codigo wiki, ao invés de formatação: #<code>você pode usar o componente <code></code> #<pre>você pode usar o componente <pre></pre></pre></pre></pre> #<nowiki>você pode usar o componente <nowiki></nowiki> A diferença entre o “code” e “pre” é que o componente "pre" preserva quebra de linhas, enquanto o componente "code" não. O componente "nowiki" tag funciona como o componente “code” exceto que ele não usa fonte monospace. |
Centrar texto: |
<center>Texto centrado.</center> |
Linha divisória: Uma linha horizontal de divisão com texto em cima e em baixo. Ou ainda duas linhas Nota: muito útil para separar conversas diferentes em páginas de discussão. |
Uma linha horizontal de divisão com texto em cima ---- e em baixo. Ou ainda duas linhas ---- ---- |
Links, URLs, imagens
Predefinição:Ver artigos principais
Resultado obtido | A escrever |
---|---|
Ligação interna: Ele está a estudar matemática discreta.
|
Se está estudando [[matemática discreta]]. |
Ligação interna para secção de artigo: Link para uma seção de uma página, exemplo Lista_de_cidades_por_país#Marrocos Nota: links para seções inexistentes são tratados como se fossem links para o topo da página. |
[[Lista_de_cidades_por_país#Marrocos]] |
Escolha do nome para a ligação interna: Mesmo alvo, nomes diferentes: Perguntas frequentes. Esconder o termo entre parêntesis: reino. Esconder o namespace: FAQ. |
Mesmo alvo, nomes diferentes: [[Wikipedia:FAQ|Perguntas frequentes]]. Esconder o termo entre parêntesis: [[reino (biologia)|reino]]. Nota: O servidor preenche a parte que vem depois de | após você gravar a página Esconder o namespace: [[Wikipedia:FAQ|FAQ]]. |
Terminação da palavra na ligação interna: Combinar as terminações das palavras com a ligação: genes |
Combinar as terminações das palavras com a ligação: [[gene]]s |
Ligação ISBN: Para criar links para livros, você usa os links ISBN 0123456789X. |
ISBN 0123456789X |
Redireccionamento: Redireccionamento – a busca pelo título de um artigo será redireccionada para outro, se colocar um texto como este na primeira linha dele. |
#REDIRECT [[Estados Unidos da América]] |
Ligação externa:
Link externo: Wikipédia |
Link externo: [http://pt.wikipedia.org Wikipédia] |
URL Ou apenas forneça a URL: http://pt.wikipedia.org Nota: Num URL todos os caracteres devem estar entre: A-Z, a-z, 0-9, ._\/~%-+&#?!=()@ \x80-\xFF. Se um URL contém um caracter diferente, ele deve ser convertido; por exemplo, ^ deve ser escrito como %5E (segundo lê-se na tabela ASCII). |
Ou apenas forneça a URL: http://pt.wikipedia.org |
Usar imagem: Uma figura: Wikipedia - A Enciclopédia Livre Nota: Somente as imagens que foram previamente carregadas no Commons podem ser usadas. Para carregar imagens veja como carregar ficheiros no Commons e a política de imagens. |
Uma figura: [[Imagem:Wikipedia-logo-pt.png]]ou, com a presença de texto alternativo (altamente recomendado) [[Imagem:Wikipedia-logo-pt.png|Wikipedia - A Enciclopédia Livre]]Navegadores web mostram o texto alternativo quando eles não são capazes de mostrar a imagem -- por exemplo, quando a imagem não foi carregada, ou quando o navegador somente mostra texto, ou quando o navegador fala o texto em voz alta. |
Ligar à página de uma imagem: Clicar numa imagem faz com que apareça uma página de descrição, à qual também se pode ligar diretamente: Imagem:Wikipedia-logo-pt.png |
[[:Imagem:Wikipedia-logo-pt.png]] |
Ligar a outros ficheiros: Para incluir links para arquivos que não sejam imagens, como sons, ou imagens mostradas como links ao invés de serem desenhadas na página, use um link do tipo "media". |
[[media:Sg_mrob.ogg|Som]] |
Formatação de caracteres
Resultado obtido | A escrever |
---|---|
Itálico e negrito Esta linha está em itálico. (envolta com duplo apóstrofo) Esta também! (envolta com tags de HTML) E ainda esta! (usando um código ainda diferente). Esta linha está em bold/negrito (envolta com triplo apóstrofo) Esta também! (envolta com tags de HTML) Por exemplo, em fórmulas matemáticas:
Nota: Todavia a diferença entre estes dois métodos não é muito importante para os navegadores gráficos, e a maioria das pessoas pode ignorá-la. |
''Esta linha está em itálico.'' (envolta com duplo apóstrofo) <i>Esta também!</i> (envolta com tags de HTML) <em>E ainda esta!</em> (usando um código ainda diferente). '''Esta linha está em bold/negrito''' (envolta com triplo apóstrofo) <b>Esta também!</b> (envolta com tags de HTML) Por exemplo, em fórmulas matemáticas: :<b>F</b> = <i>m</i><b>a</b> |
Combinação de métodos Enfatizar, com força, com bastante força. Nota:Estes são apóstrofos duplos e triplos, e não aspas duplas. |
''Enfatizar'', '''com força''', '''''com bastante força'''''. |
Termos técnicos Uma fonte estilo máquina de escrever para termos técnicos. |
Uma fonte estilo máquina de escrever para <tt>termos técnicos</tt>. |
Reduzir fonte Você pode usar um texto pequeno para legendas ou notas. |
Você pode usar um <small>texto pequeno</small> para legendas ou notas. |
Riscar e sublinhar texto Você pode |
Você pode <strike>riscar material que deva ser apagado</strike> e <u>sublinhar novo material</u>.
|
Sobrescrito e subscrito Você pode fazer sobrescrito e subscrito. f(x) = a0 + a1x1 + |
<nowiki> Você pode fazer <sup>sobrescrito</sup> e <sub>subscrito</sub>. f(x) = a<sub>0</sub> + a<sub>1</sub>x<sub>1</sub> +</nowiki> |
Cor e tamanho Você pode controlar o tamanho da fonte e sua cor! Pode também utilizar a propriedade color com uma cor RGB (Red, Green, Blue) f(x) = a0 + a1x1... |
<nowiki> Você pode controlar o <font size=+1>tamanho</font> da fonte e sua <font color=blue>cor</font>! Pode também utilizar a propriedade color com uma cor RGB (Red, Green, Blue) <font size=+2 color=red>f(x) = a<sub>0</sub> + a<sub>1</sub>x<sub>1</sub>...</font></nowiki |
Acentos e notações lexicais À Á Â Ã Ä Å |
À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü ß à á â ã ä å æ ç è é ê ë ì í î ï ñ ò ó ô œ õ ö ø ù ú û ü ÿ |
Pontuação ¿ ¡ « » § ¶ |
¿ ¡ « » § ¶ † ‡ • — |
Símbolos comerciais ™ © ® ¢ € ¥ |
™ © ® ¢ € ¥ £ ¤ |
Índice e expoente Índice: x2 Nota: O último método de escrever índices superiores não pode ser usado em todos os contextos, mas seu uso é recomendado sempre que possível (como em unidades de medida) porque a maioria dos navegadores gasta menos tempo na formatação das linhas com ele. ε0 = 8.85 × 10−12C² / J m. |
Índice: x<sub>2</sub> Expoente: x<sup>2</sup> ou x² ε<sub>0</sub> = 8.85 × 10<sup>−12</sup> C² / J m. |
Caracteres gregos α β γ δ ε ζ |
α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω Γ Δ Θ Λ Ξ Π Σ Φ Ψ Ω |
Caracteres matemáticos ∫ ∑ ∏ √ − ± ∞ |
∫ ∑ ∏ √ − ± ∞ ≈ ∝ ≡ ≠ ≤ ≥ → × · ÷ ∂ ′ ″ ∇ ‰ ° ∴ ℵ ø ∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇¬ ∧ ∨ ∃ ∀ ⇒ ⇔→ ↔ |
x2 ≥ 0
verdadeiro. Nota: Para criar espaçamentos, use espaços inquebráveis - .
|
<i>x</i><sup>2</sup> ≥ 0 verdadeiro. |
Fórmulas complicadas <math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
|
<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math> |
Suspensão da interpretação da marcação Link → (<i>para</i>) a [[FAQ da Wikipedia]] Nota: Usado para mostrar literalmente dados que, de contrário, teriam significado especial. Cancela todos os códigos wiki, inclusive aqueles semelhantes a códigos HTML. Não cancela entidades de caracter HTML. |
<nowiki>Link → (<i>para</i>) a [[FAQ da Wikipedia]]</nowiki> |
Inserção de comentários invisíveis Não são mostrados na página Nota: usado, por exemplo, para deixar comentários numa página para futuros editores. Só é visível ao editar uma página. |
<!-- o comentário vai aqui --> |
Tabelas
Predefinição:Ver artigo principal
- Exemplos
Item um | Item dois |
Item tres | Item quatro |
Uma tabela mais moderna:
Item um | Item dois |
Item tres | Item quatro |
Item cinco |
- Códigos
{| border=1 |----- | Item um || Item dois |----- | Item tres || Item quatro |} Uma tabela mais moderna: {| border=1 |----- | Item um || Item dois |----- | rowspan=2 | Item tres || Item quatro |----- | Item cinco |}
Onde treinar
Pratique editar páginas no nosso Parque dos Miúdos! Depois, vá adiante e seja audaz!
Ver também
- Dicas e truques
- FAQ de edição
- Como contribuir para a Wikipédia, sobre o que escrever e como.
Links relevantes