Mudanças entre as edições de "Dicas de formatação"
(→Divisões internas) |
|||
Linha 318: | Linha 318: | ||
</nowiki></pre> | </nowiki></pre> | ||
|} | |} | ||
+ | |||
+ | |||
+ | == Links, URLs == | ||
+ | More information at [[Help:Link]] | ||
+ | ==== Internal links ==== | ||
+ | General notes: | ||
+ | *Enclose the '''target name''' in double square brackets — <nowiki>"[[" and "]]"</nowiki> | ||
+ | *First letter of target name is automatically capitalized | ||
+ | *Spaces are represented as underscores (but don't do underscores yourself) | ||
+ | *[[like this one|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. | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |- | ||
+ | !What it looks like | ||
+ | !What you type | ||
+ | |- | ||
+ | | | ||
+ | ;Basic | ||
+ | Sue is reading the [[official position]] | ||
+ | (or [[Official position]]s). | ||
+ | |<pre><nowiki>Sue is reading the | ||
+ | [[official position]] | ||
+ | (or [[Official position]]s).</nowiki></pre> | ||
+ | |- | ||
+ | | | ||
+ | ;Basic + [[Help:Editing#Text_formatting_--_controlling_how_it_looks|Text formatting]] | ||
+ | You can also ''italicize''/etc. links: e.g., ''[[Wikipedia]]''. | ||
+ | |<pre><nowiki> ''[[Wikipedia]]'' </nowiki></pre> | ||
+ | |- | ||
+ | | | ||
+ | ;Interwiki linking | ||
+ | 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]]. | ||
+ | |<pre><nowiki> | ||
+ | *See [[m:Help:Interwiki linking]]. | ||
+ | *[[:fr:Wikipédia:Aide]]. | ||
+ | </nowiki></pre> | ||
+ | |- | ||
+ | | | ||
+ | ;Section of page | ||
+ | *[[List of cities by country#Morocco]] | ||
+ | *[[List of cities by country#Norway]] | ||
+ | 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 <nowiki>[[#Example section 3]]</nowiki>. For more info, see [[Help:Editing FAQ#Q: Can I link to a specific section header if there are multiple section headers of the same name? If so, how?|Help:Editing FAQ]]. | ||
+ | | | ||
+ | <pre><nowiki> | ||
+ | *[[List of cities by country#Morocco]] | ||
+ | *[[List of cities by country#Norway]] | ||
+ | </nowiki></pre> | ||
+ | |- | ||
+ | | | ||
+ | ;[[Help:Piped link|Piped link]] | ||
+ | Use a pipe "'''|'''" to create a '''link label''': | ||
+ | *[[Help:Link|About Links]] | ||
+ | |<pre><nowiki> | ||
+ | *[[Help:Link|About Links]] | ||
+ | </nowiki></pre> | ||
+ | |- | ||
+ | |'''"blank" pipes''' hide: | ||
+ | *Parentheses: [[kingdom (biology)|kingdom]]. | ||
+ | *Colon: [[m:Requests for adminship|Requests for adminship]]. | ||
+ | After you save, the server automatically fills in the link label. | ||
+ | |<pre><nowiki>*Parentheses: [[kingdom (biology)|]]. | ||
+ | *Colon: [[m:Requests for adminship|]].</nowiki></pre> | ||
+ | |- | ||
+ | | | ||
+ | ;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 [[Help:Starting a new page|how to start a page]] guide and the naming conventions page for your project. | ||
+ | |<pre><nowiki> | ||
+ | A red link ([[like this one]]) points to a page | ||
+ | that doesn't exist yet. | ||
+ | </nowiki></pre> | ||
+ | |- | ||
+ | | | ||
+ | ;Link to yourself | ||
+ | Please "sign" comments on talk pages: | ||
+ | : Your user name: [[User:Karl Wick|Karl Wick]] | ||
+ | : Your user name plus timestamp: [[User:Karl Wick|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. | ||
+ | |<pre><nowiki>Please "sign" comments on talk pages: | ||
+ | : Your user name: ~~~ | ||
+ | : Your user name plus timestamp: ~~~~ | ||
+ | : Five tildes give a timestamp: ~~~~~ | ||
+ | </nowiki></pre> | ||
+ | |- | ||
+ | | | ||
+ | ;[[Help:Redirect|Redirect]]s | ||
+ | one article title to another with this special link. | ||
+ | |<pre><nowiki>#REDIRECT [[United States]]</nowiki></pre> | ||
+ | |- | ||
+ | | | ||
+ | ;"Magic" links | ||
+ | * [[w:ISBN|ISBN]] links to books: ISBN 0123456789X (See [[Help:ISBN links]]) | ||
+ | * [[w:Request for Comments|RFC]] links to Requests for Comments: RFC 123 (See [[mediawiki:Rfcurl]]) | ||
+ | |<pre><nowiki> | ||
+ | ISBN 0123456789X | ||
+ | RFC 123</nowiki></pre> | ||
+ | |- | ||
+ | | | ||
+ | ;Media links | ||
+ | To include links to non-image uploads such as sounds, use a "media" link. | ||
+ | <br />[[media:Sg_mrob.ogg|Sound]] | ||
+ | |<pre><nowiki>[[media:Sg_mrob.ogg|Sound]] | ||
+ | </nowiki></pre> | ||
+ | |- | ||
+ | | | ||
+ | ;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.<br /> | ||
+ | [[Category:English documentation]] | ||
+ | |<pre><nowiki>[[Category:English documentation]] | ||
+ | </nowiki></pre> | ||
+ | |- | ||
+ | | | ||
+ | ;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'''<br /> | ||
+ | [[:Category:English documentation]] | ||
+ | |<pre><nowiki>[[:Category:English documentation]] | ||
+ | </nowiki></pre> | ||
+ | |- | ||
+ | | | ||
+ | ;Dates: | ||
+ | Use links for dates, so everyone can set their own display order. Use [[Special:Preferences]] to change your own date display setting.<br /> | ||
+ | [[July 20]] [[1969]] | ||
+ | [[20 July]] [[1969]] | ||
+ | and [[1969]]-[[07-20]] | ||
+ | |<pre><nowiki> | ||
+ | [[July 20]] [[1969]] | ||
+ | [[20 July]] [[1969]] | ||
+ | and [[1969]]-[[07-20]] | ||
+ | </nowiki></pre> | ||
+ | |- | ||
+ | | | ||
+ | ;Special pages | ||
+ | "What links here" etc. can be linked as:<br /> | ||
+ | [[Special:Whatlinkshere/Help:Editing]] | ||
+ | |<pre><nowiki> | ||
+ | [[Special:Whatlinkshere/Help:Editing]] | ||
+ | </nowiki></pre> | ||
+ | |} | ||
+ | |||
+ | ====External links==== | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |- | ||
+ | |[http://www.nupedia.com Nupedia], [http://www.nupedia.com] | ||
+ | |<pre><nowiki> | ||
+ | [http://www.nupedia.com Nupedia], | ||
+ | [http://www.nupedia.com]</nowiki></pre> | ||
+ | |- | ||
+ | |[mailto:email@example.com Email Example], | ||
+ | [mailto:email@example.com] | ||
+ | |<pre><nowiki>[mailto:email@example.com Email Example], | ||
+ | [mailto:email@example.com]</nowiki></pre> | ||
+ | |- | ||
+ | |Or just give the URL: http://www.nupedia.com. | ||
+ | *In the [[Help:URL|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 [[w:ASCII|ASCII]]). A blank space can also be converted into an underscore. | ||
+ | |<pre><nowiki>Or just give the URL: | ||
+ | http://www.nupedia.com.</nowiki></pre> | ||
+ | |} | ||
+ | . |
Edição das 15h42min 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
Organizing your writing — sections, paragraphs, lists and lines
What it looks like | What you type |
---|---|
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
|
== New section == === Subsection === ==== Sub-subsection ==== |
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.
|
A single newline has no effect on the layout. But an empty line starts 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 />.)
|
You can break lines<br/> without starting a new paragraph. |
marks the end of the list.
|
* 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. |
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. |
|
* You can even do mixed lists *# and nest them *#* or break lines<br/>in lists |
Definition list
|
; word : definition of the word ; longer phrase : phrase defined
|
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. |
: A colon indents a line or paragraph. A manual newline starts a new paragraph. |
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. |
<blockquote> The '''blockquote''' command will indent both margins when needed instead of the left margin only as the colon does. </blockquote> |
|
<center>Centered text.</center> |
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. |
A horizontal dividing line: this is above it... ---- ...and this is below it. |
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. |
.