Mudanças entre as edições de "Dicas de formatação"

De Stoa
Ir para: navegação, pesquisa
(Ferramentas para organizar seus verbetes - seções, parágrafos, listas e linhas)
Linha 127: Linha 127:
 
==Divisões internas==
 
==Divisões internas==
 
===Ferramentas para organizar seus verbetes - seções, parágrafos, listas e linhas===
 
===Ferramentas para organizar seus verbetes - seções, parágrafos, listas e linhas===
{| border="1" cellpadding="2" cellspacing="0"
+
{| width="80%"  border="1" cellpadding="2" cellspacing="0"
 
|-
 
|-
 
!O que digitar
 
!O que digitar
Linha 294: Linha 294:
 
|<center>Centered text.</center>
 
|<center>Centered text.</center>
 
|-
 
|-
* Please note the US-English spelling of "center".
 
 
|<pre><nowiki>A horizontal dividing line:  
 
|<pre><nowiki>A horizontal dividing line:  
 
this is above it...
 
this is above it...

Edição das 17h28min de 25 de abril de 2007

Conteúdo

 [ocultar

Edição simples de texto

ATENÇÃO: antes de inserir ou editar qualquer texto, lembre-se que este é um material didático, não uma comunidade do Orkut. O que você posta nessas páginas é um verbete, não um comentário simples. Portanto se assegure que seu conteúdo é relevante e inédito, lendo o que seus colegas postaram antes de inserir sua parte - principalmente quando se tratar de verbetes coletivos. Tenha noção ou seu conteúdo será apagado e você, advertido.

Em caso de dúvidas, examine primeiro esta seção. Se não encontrar a resposta, pode me mandar um e-mail.

Acompanhe as dicas de formatação a seguir:

Revisões

Como na Wikipédia, o objetivo deste sistema é criar uma fonte de referência pública, que todos os alunos podem consultar e editar. A razão disto é muito simples: compartilhar conhecimento. Na maioria das vezes, alguém já terá postado sobre o assunto que você tem para contribuir. Sua tarefa nesses casos é editar o artigo e acrescentar a sua parte. Nesse processo, você complementa o que já pesquisou e ajuda a criar um material de referência mais completo.
Para editar um verbete já existente, clique no link edit que fica no canto superior de seu título. Repare que existem diversos links desses, cada um relativo ao texto diretamente abaixo. O link levará você à página de edição, com o código que o servidor usa para produzir a página final.
Por mais que esse código pareça assustador, ele foi feito para ser o mais amigável possível, como um editor de texto simples. Suas principais funções estão em sua barra de navegação:


Barra de botões 0.gif
Se quiser experimentar use este link, não as páginas de conteúdo final.

Novos verbetes

Cada vez que se criar um link para um verbete inexistente, o sistema criará uma página nova, com o formulário acima. Por isso, se a página que você pretende escrever não existe ainda, vá para a página que chamaria seu conteúdo e a edite para criar um link. Grave a página e a acesse. Ao clicar no novo link que você criou, o sistema abre um formulário para seu novo verbete. Em caso de dúvidas, fale comigo.

Escreva seu texto ou alteração

No formulário, digite simplesmente seu texto, sem se preocupar com acentuação. Para marcações especiais, use a barra de formatação. É tão simples quanto editar um blog. À medida que você aplica estilos de formatação e links, no entanto, seu texto se torna mais difícil de ler. Para quem não está habituado eu recomendo ter uma cópia em um editor de texto e alterar um sub-tópico por vez, evitando danos a outras áreas.
Mas não se intimide: a única forma de pegar prática é treinar. Se der errado, recomece. Se for mexer no texto já começado por outros, imprima o original e o copie para um editor de texto, se prevenindo para o eventual caso em que seja obrigado a refazê-lo.

Para criar links

Para criar um link para uma página externa, basta escrevê-lo (ex: http://www.wikipedia.org).
Se quiser colocar outro nome que não o link direto, escreva-o após o endereço ([http://www.wikipedia.org Wikipédia em inglês] esconde o link e deixa o texto Wikipédia em inglês).
Se o link for para um verbete desta Wiki, coloque-o entre colchetes duplos ([[Aulas]] gera o link para a página Aulas).
Se o link for para uma sub-seção de uma página, coloque o símbolo # antes do nome da seção ([[Aulas #Aula 3]] redireciona para o sub-item Aula 3 na página Aulas, assim).

Registre suas alterações

Se você alterou uma página, registre resumidamente o que fez no campo logo abaixo da edição de texto. Isso facilita a identificação da autoria de cada verbete.

Reveja suas alterações antes de gravá-las

Sempre que você fizer alguma alteração de porte, clique no botão Mostrar previsão antes de gravar a página. Isso permite a correção de erros antes de tornar a página permanente. Ao gravá-la (salvar), suas alterações serão imediatamente aplicadas ao verbete.

Date e assine

Ao terminar a criação ou alterações do texto, não se esqueça de clicar no botão de assinatura e registrar suas mudanças, assim:

--Luli 20:21, 24 Abril 2007 (BRT)Luli

Formatação de texto

Se você quiser formatar páginas usando o código Wiki, ou simplesmente compreendê-lo melhor, consulte a tabela a seguir:

O que digitar Como fica
Para se escrever textos em ''itálico'',
coloque dois apóstrofos (') de cada lado.

3 apóstrofos deixarão o texto em '''negrito'''. 

5 apóstrofos o formatarão em 
'''''negrito e itálico'''''.

(Usar 4 apóstrofos não fará nada de especial,
eles apenas deixarão '''' restos''''
como parte do texto.)

Para se escrever textos em itálico,
coloque dois apóstrofos (') de cada lado.

3 apóstrofos deixarão o texto em negrito.

5 apóstrofos o formatarão em negrito e itálico.

(Usar 4 apóstrofos não fará nada de especial, eles apenas deixarão ' restos' como parte do texto.)

Uma quebra de linha
geralmente não tem efeito no layout.
Elas podem ser utilizadas para separar
frases dentro de um parágrafo
(e facilitar a revisão de sua formatação).

Uma linha em branco, no entanto,
inicia um novo parágrafo.

Quando usada em uma lista, uma quebra
de linha ''afeta''<br>
o layout ([[#listas|veja abaixo]]).

Uma quebra de linha geralmente não tem efeito no layout. Elas podem ser utilizadas para separar frases dentro de um parágrafo (e facilitar a revisão de sua formatação).

Uma linha em branco, no entanto, inicia um novo parágrafo.

Quando usada em uma lista, uma quebra de linha afeta
o layout (veja abaixo).

Você pode forçar a quebra<br>
de linhas<br>
sem iniciar um novo parágrafo.<br>
Fica estranho, use conscientemente.

Para maior eficiência de sua página Wiki,<br>
não comece o '''bold''' ou ''itálico''
em uma linha para terminar em outra.

Você pode forçar a quebra
de linhas
sem iniciar um novo parágrafo.
Fica estranho, use conscientemente.

Para maior eficiência de sua página Wiki,
não comece o bold ou itálico em uma linha para terminar em outra.

Divisões internas

Ferramentas para organizar seus verbetes - seções, parágrafos, listas e linhas

O que digitar Como fica
= NÃO USE ESTE =

== Nova seção ==

=== Sub-seção ===

==== Sub-subseção ====
Nova seção
Sub-seção
Sub-subseção


Comece as seções com seus títulos.

ATENÇÃO: um único = de cada lado determina o maior nível de seção, equivalente a um título de página. Por convenção, ele é reservado para tal e não usado internamente. Para fazer seções, recomenda-se:


  • Começar com um título secundário (==); e
  • Respeitar a hierarquia de níveis (evitar ir do segundo para o quarto níveis; ou vice-versa).

Um índice é acrescentado automaticamente a qualquer artigo que tenha 4 ou mais seções.

will automatically be added to an article that has four or more sections.

  • If appropriate, place subsections in an appropriate order. If listing countries, for example, place them in alphabetical order rather than, say, relative to population of OECD countries, or some random order.
  • If you want to keep headings out of the TOC you have to use HTML heading tags and close them without using a slash e.g. <h4>heading too low level to be in the toc of large page<h4>.
A single
newline
has no
effect on the
layout.

But an empty line
starts a new paragraph.
;Newline:

A single newline has no effect on the layout.

But an empty line starts a new paragraph, or ends a list or indented part. (<p> disables this paragraphing until </p> or the end of the section)

(In Cologne Blue two newlines and a div tag give just one newline; in the order newline, div tag, newline, the result is two newlines.)

A semicolon at the start of a line is not rendered, but has the effect of rendering the newline. A colon in such a line is not rendered, but has the effect of starting a new, indented line, see definition list.

You can make the wikitext more readable by putting in newlines. You might find this causes future problems — see w:Wikipedia:Don't use line breaks for details.

  • When used in a list, a newline does affect the layout (See Help:List).
You can break lines<br/>
without starting a new paragraph.
You can break lines
without starting a new paragraph.

(The HTML tag <br/> is sufficient. The system produces the XHTML code <br />.)

  • Please use this sparingly.
  • Close markup between lines; do not start a link or italics or bold on one line and close it on the next.
* Unordered Lists are easy to do:
** start every line with a star
*** more stars means deeper levels
*A newline
*in a list  
marks the end of the list.
*Of course
*you can
*start again.

* Unordered Lists are easy to do:
    • start every line with a star
      • more stars means deeper levels
  • A newline
  • in a list

marks the end of the list.

  • Of course
  • you can
  • start again.
# Numbered lists are also good
## very organized
## easy to follow
#A newline
#in a list  
marks the end of the list.
#New numbering starts
#with 1.
# Numbered lists are also good
    1. very organized
    2. easy to follow
  1. A newline
  2. in a list

marks the end of the list.

  1. New numbering starts
  2. with 1.
* You can even do mixed lists
*# and nest them
*#* or break lines<br/>in lists
* You can even do mixed lists
    1. and nest them
      • or break lines
        in lists
; word : definition of the word
; longer phrase 
: phrase defined
Definition list
word 
definition of the word
longer phrase
phrase defined
  • One item per line; a newline can appear before the colon, but using a space before the colon improves parsing.
: A colon indents a line or paragraph.
A manual newline starts a new paragraph.
;indenting
A colon at the start of a line indents a paragraph.

A manual newline starts a new paragraph.

  • This is often used for discussion on Talk pages.

In the case of a semicolon and some text in front of the colon, the first colon starts a new line (indented as before) even though it is in the wikitext not at the start of the line, see definition list.

<blockquote>
The '''blockquote''' command will indent 
both margins when needed instead of the 
left margin only as the colon does.  
</blockquote>
When there is a need for separating a block of text
the blockquote command will indent both margins when needed instead of the left margin only as the colon does.

This is useful for (as the name says) inserting blocks of quoted (and cited) text.

<center>Centered text.</center>
Centered text.
A horizontal dividing line: 
this is above it...
----
...and this is below it.
A horizontal dividing line:

this is above it...


...and this is below it.

If you don't use a section header, you don't get a TOC entry.

Links

Internal links

General notes:

  • Enclose the target name in double square brackets — "[[" and "]]"
  • First letter of target name is automatically capitalized
  • Spaces are represented as underscores (but don't do underscores yourself)
  • Links to nonexistent pages are shown in red — Help:Starting a new page tells about creating the page.
  • When the mouse cursor "hovers" over the link, you see a "hover box" containing... hover over links below to see.
O que digitar Como fica
Sue is reading the 
[[official position]]
(or [[Official position]]s).
;Basic

Sue is reading the official position (or Official positions).

 ''[[Wikipedia]]'' 
;Basic + Text formatting

You can also italicize/etc. links: e.g., Wikipedia.

*See [[m:Help:Interwiki linking]].
*[[:fr:Wikipédia:Aide]].
;Interwiki linking

A link to the page on another wiki (e.g. the same subject in another language)

*[[List of cities by country#Morocco]]
*[[List of cities by country#Norway]]
;Section of page

If the section doesn't exist, the link goes to the top of the page. If there are multiple sections by the same name, link to specific ones by adding how many times that header has already appeared (e.g. if there are 3 sections entitled "Example header," and you wish to link to the third one, then use [[#Example section 3]]. For more info, see Help:Editing FAQ.

*[[Help:Link|About Links]]
;Piped link

Use a pipe "|" to create a link label:

*Parentheses: [[kingdom (biology)|]]. 

|*Colon: [[m:Requests for adminship|]].
"blank" pipes hide:

After you save, the server automatically fills in the link label.

A red link ([[like this one]]) points to a page
that doesn't exist yet.
;Links to nonexistent pages

A red link (like this one) points to a page that doesn't exist yet.

  • You can create it by clicking on the link.
  • Have a look at how to start a page guide and the naming conventions page for your project.
Please "sign" comments on talk pages:
: Your user name: ~~~
: Your user name plus timestamp: ~~~~
: Five tildes give a timestamp: ~~~~~
;Link to yourself

Please "sign" comments on talk pages:

Your user name: Karl Wick
Your user name plus timestamp: Karl Wick 08:10 Oct 5, 2002 (UTC)
Five tildes give a timestamp: 17:55, 12 April 2006 (UTC)

The server will fill in the link after you save.

#REDIRECT [[United States]]
;Redirects

one article title to another with this special link.

ISBN 0123456789X
RFC 123
;"Magic" links
[[media:Sg_mrob.ogg|Sound]]
;Media links

To include links to non-image uploads such as sounds, use a "media" link.
Sound

[[Category:English documentation]]
;Category listing links (these appear at page bottom and list the page in the Category)

To list a page in a Category and have a link to the Category at page bottom.

[[:Category:English documentation]]
;Category non-listing links (these appear inline without listing the page in the Category)

To link to a Category without causing the page to be listed in the category, add a colon
Category:English documentation

[[July 20]] [[1969]]
[[20 July]] [[1969]]
and [[1969]]-[[07-20]]
;Dates:

Use links for dates, so everyone can set their own display order. Use Special:Preferences to change your own date display setting.
July 20 1969 20 July 1969 and 1969-07-20

[[Special:Whatlinkshere/Help:Editing]]
;Special pages

"What links here" etc. can be linked as:
Special:Whatlinkshere/Help:Editing

Links externos

[http://www.nupedia.com Nupedia],
[http://www.nupedia.com]
Nupedia, [1]
[mailto:email@example.com Email Example],
[mailto:email@example.com]
Email Example,

[2]

Or just give the URL:
http://www.nupedia.com.
Or just give the URL: http://www.nupedia.com.
  • In the URL all symbols must be among: A-Z a-z 0-9 ._\/~%- &#?!=()@ \x80-\xFF. If a URL contains a different character it should be converted; for example, ^ has to be written ^ (to be looked up in ASCII). A blank space can also be converted into an underscore.

.

Ferramentas pessoais
Espaços nominais

Variantes
Ações
Navegação
Imprimir/exportar
Ferramentas