Mudanças entre as edições de "Dicas de formatação"
(→Divisões internas) |
|||
Linha 126: | Linha 126: | ||
==Divisões internas== | ==Divisões internas== | ||
− | '' | + | ''Ferramentas para organizar seus verbetes - seções, parágrafos, listas e linhas'' |
{| border="1" cellpadding="2" cellspacing="0" | {| border="1" cellpadding="2" cellspacing="0" | ||
|- | |- | ||
− | ! | + | !O que digitar |
− | ! | + | !Como fica |
|- | |- | ||
− | | | + | |<pre><nowiki> |
− | ;Sections and subsections | + | |
+ | == New section == | ||
+ | |||
+ | === Subsection === | ||
+ | |||
+ | ==== Sub-subsection ==== | ||
+ | </nowiki></pre> | ||
+ | |||
+ | |;Sections and subsections | ||
Start sections with header lines | Start sections with header lines | ||
Linha 164: | Linha 172: | ||
*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 [[w:OECD|OECD]] countries, or some random order. | *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 [[w:OECD|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. <nowiki><h4>heading too low level to be in the toc of large page<h4></nowiki>. | *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. <nowiki><h4>heading too low level to be in the toc of large page<h4></nowiki>. | ||
+ | |||
+ | |- | ||
|<pre><nowiki> | |<pre><nowiki> | ||
− | + | A single | |
+ | newline | ||
+ | has no | ||
+ | effect on the | ||
+ | layout. | ||
− | + | But an empty line | |
+ | starts a new paragraph.</nowiki></pre> | ||
− | + | |;[[w:newline|Newline]]: | |
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | ;[[w:newline|Newline]]: | + | |
A single | A single | ||
Linha 196: | Linha 206: | ||
* When used in a list, a newline ''does'' affect the layout (See [[Help:List]]). | * When used in a list, a newline ''does'' affect the layout (See [[Help:List]]). | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
+ | |<pre><nowiki>You can break lines<br/> | ||
+ | without starting a new paragraph.</nowiki></pre> | ||
|You can break lines<br/> | |You can break lines<br/> | ||
without starting a new paragraph.<p> | without starting a new paragraph.<p> | ||
Linha 213: | Linha 215: | ||
* Please use this sparingly. | * Please use this sparingly. | ||
* Close markup between lines; do not start a [[Help:Link|link]] or ''italics'' or '''bold''' on one line and close it on the next. | * Close markup between lines; do not start a [[Help:Link|link]] or ''italics'' or '''bold''' on one line and close it on the next. | ||
− | |||
− | |||
|- | |- | ||
− | | | + | |<pre><nowiki>* Unordered Lists are easy to do: |
− | * | + | |
** start every line with a star | ** start every line with a star | ||
*** more stars means deeper levels | *** more stars means deeper levels | ||
Linha 227: | Linha 226: | ||
*start again. | *start again. | ||
− | + | </nowiki></pre> | |
+ | |* ''Unordered Lists'' are easy to do: | ||
** start every line with a star | ** start every line with a star | ||
*** more stars means deeper levels | *** more stars means deeper levels | ||
Linha 236: | Linha 236: | ||
*you can | *you can | ||
*start again. | *start again. | ||
− | |||
− | |||
|- | |- | ||
− | | | + | |<pre><nowiki># Numbered lists are also good |
− | # Numbered lists are also good | + | |
## very organized | ## very organized | ||
## easy to follow | ## easy to follow | ||
Linha 248: | Linha 245: | ||
#New numbering starts | #New numbering starts | ||
#with 1. | #with 1. | ||
+ | </nowiki></pre> | ||
− | | | + | |# Numbered lists are also good |
## very organized | ## very organized | ||
## easy to follow | ## easy to follow | ||
Linha 257: | Linha 255: | ||
#New numbering starts | #New numbering starts | ||
#with 1. | #with 1. | ||
− | |||
|- | |- | ||
− | |||
− | |||
− | |||
− | |||
|<pre><nowiki>* You can even do mixed lists | |<pre><nowiki>* You can even do mixed lists | ||
*# and nest them | *# and nest them | ||
*#* or break lines<br/>in lists</nowiki></pre> | *#* or break lines<br/>in lists</nowiki></pre> | ||
+ | |* You can even do mixed lists | ||
+ | *# and nest them | ||
+ | *#* or break lines<br/>in lists | ||
|- | |- | ||
+ | |<pre><nowiki>; word : definition of the word | ||
+ | ; longer phrase | ||
+ | : phrase defined</nowiki></pre> | ||
|'''Definition list''' | |'''Definition list''' | ||
; word : definition of the word | ; word : definition of the word | ||
; longer phrase | ; longer phrase | ||
: phrase defined | : phrase defined | ||
− | |||
− | |||
− | |||
* One item per line; a newline can appear before the colon, but using a space before the colon improves parsing. | * One item per line; a newline can appear before the colon, but using a space before the colon improves parsing. | ||
|- | |- | ||
− | | | + | |<pre><nowiki>: A colon indents a line or paragraph. |
− | ;indenting | + | A manual newline starts a new paragraph. |
+ | </nowiki></pre> | ||
+ | |||
+ | |;indenting | ||
:A colon at the start of a line indents a paragraph. | :A colon at the start of a line indents a paragraph. | ||
A manual newline starts a new paragraph. | A manual newline starts a new paragraph. | ||
* This is often used for discussion on [[Help:Talk page|Talk page]]s. | * This is often used for discussion on [[Help:Talk page|Talk page]]s. | ||
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. | 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. | ||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | |<pre><nowiki> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <pre><nowiki> | + | |
<blockquote> | <blockquote> | ||
The '''blockquote''' command will indent | The '''blockquote''' command will indent | ||
Linha 301: | Linha 290: | ||
</blockquote> | </blockquote> | ||
</nowiki></pre> | </nowiki></pre> | ||
+ | |||
+ | |When there is a need for separating a block of text | ||
+ | <blockquote> | ||
+ | the '''blockquote''' command will indent both margins when needed instead of the left margin only as the colon does. | ||
+ | </blockquote> | ||
+ | This is useful for (as the name says) inserting blocks of quoted (and cited) text. | ||
+ | |||
|- | |- | ||
− | |||
− | |||
|<pre><nowiki><center>Centered text.</center></nowiki></pre> | |<pre><nowiki><center>Centered text.</center></nowiki></pre> | ||
+ | |<center>Centered text.</center> | ||
|- | |- | ||
− | |A | + | * Please note the US-English spelling of "center". |
+ | |<pre><nowiki>A horizontal dividing line: | ||
this is above it... | this is above it... | ||
---- | ---- | ||
...and this is below it. | ...and this is below it. | ||
− | + | </nowiki></pre> | |
− | + | |A [[w:horizontal dividing line|horizontal dividing line]]: | |
− | + | ||
this is above it... | this is above it... | ||
---- | ---- | ||
...and this is below it. | ...and this is below it. | ||
− | |||
− | |||
+ | If you don't use a section header, you don't get a TOC entry. | ||
+ | |} | ||
== Links, URLs == | == Links, URLs == |
Edição das 15h52min 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:
- 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 entender um pouco mais, 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, 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 |
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 Para maior eficiência de sua página Wiki, |
Divisões internas
Ferramentas para organizar seus verbetes - seções, parágrafos, listas e linhas
- Please note the US-English spelling of "center".
O que digitar | Como fica |
---|---|
== New section == === Subsection === ==== Sub-subsection ==== |
;Sections and subsections
Start sections with header lines Note: Single equal signs give the highest level heading, like the page title; usually projects have the convention not to use them.
New section Subsection Sub-subsection
|
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.
|
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 />.)
|
* 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:
marks the end of the list.
|
# 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
marks the end of the list.
|
* You can even do mixed lists *# and nest them *#* or break lines<br/>in lists |
* You can even do mixed lists
|
; word : definition of the word ; longer phrase : phrase defined |
Definition list
|
: A colon indents a line or paragraph. A manual newline starts a new paragraph. |
;indenting
A manual newline starts a new paragraph.
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> |
|
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, URLs
More information at Help:Link
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.
What it looks like | What you type |
---|---|
Sue is reading the official position (or Official positions). |
Sue is reading the [[official position]] (or [[Official position]]s). |
You can also italicize/etc. links: e.g., Wikipedia. |
''[[Wikipedia]]'' |
A link to the page on another wiki (e.g. the same subject in another language) |
*See [[m:Help:Interwiki linking]]. *[[:fr:Wikipédia:Aide]]. |
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. |
*[[List of cities by country#Morocco]] *[[List of cities by country#Norway]] |
Use a pipe "|" to create a link label: |
*[[Help:Link|About Links]] |
"blank" pipes hide:
After you save, the server automatically fills in the link label. |
*Parentheses: [[kingdom (biology)|]]. *Colon: [[m:Requests for adminship|]]. |
A red link (like this one) points to a page that doesn't exist yet.
|
A red link ([[like this one]]) points to a page that doesn't exist yet. |
Please "sign" comments on talk pages:
The server will fill in the link after you save. |
Please "sign" comments on talk pages: : Your user name: ~~~ : Your user name plus timestamp: ~~~~ : Five tildes give a timestamp: ~~~~~ |
one article title to another with this special link. |
#REDIRECT [[United States]] |
|
ISBN 0123456789X RFC 123 |
To include links to non-image uploads such as sounds, use a "media" link.
|
[[media:Sg_mrob.ogg|Sound]] |
To list a page in a Category and have a link to the Category at page bottom. |
[[Category:English documentation]] |
To link to a Category without causing the page to be listed in the category, add a colon |
[[:Category:English documentation]] |
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]] |
"What links here" etc. can be linked as: |
[[Special:Whatlinkshere/Help:Editing]] |
External links
Nupedia, [1] | [http://www.nupedia.com Nupedia], [http://www.nupedia.com] |
Email Example, | [mailto:email@example.com Email Example], [mailto:email@example.com] |
Or just give the URL: http://www.nupedia.com. | Or just give the URL: http://www.nupedia.com. |
.