Predefinição:Navegar/doc: diferenças entre revisões

Conteúdo apagado Conteúdo adicionado
mSem resumo de edição
Giro720 (discussão | contribs)
parte traduzido manualmente, parte pelo google (preguiça); reviso mais tarde
Linha 4:
 
<section begin="Usage" />
<syntaxhighlight lang="html+handlebars" style="width:80% >
{{navegar
| título =
Linha 17:
<section end="Usage" />
 
ThisEsta templatepredefinição isé meantdestinada toa beser usedusada atno thetopo topda ofpágina ados trabalhos workescritos,{{ref|1}} ande itssua subsections.subseções Fill(partes, incapítulos, anyetc). relevantPreencha informationas informações relevantes, ande leavedeixe unknownparâmmetros ordesconhecidos inapplicableou parametersque emptynão se apliquem a obra em branco. '''Don'tPor favor, não remova removeparâmetro unusednão parametersutilizados''', asvisto thisque willque breakisso thepoderá templatecorromper anda makepredefinição e dificultar a botmanutenção maintenancepor difficultrobos. For easy use, see also the ''[[:en:Help:Header preloading script gadget|header preloading script gadget]]'' in your preferences.
 
==DocumentationDocumentação==
===ParametersParâmetros===
====MandatoryObrigatórios====
* {{parameterparâmetro|título}} = titletítulo ofda theobra; work,para for subpagesubpáginas use [[#RelativeLinks relativos|links|relative linksrelativos]]
* {{parameterparâmetro|autor}} = namenome ofdo authorautor, notsem ligação wikilinkedwiki
** whereaonde controlfor ofnecessário linkingo iscontrole requireddos link addpara o nome do autor, adicione o parâmetro {{parameter|author_override}}. Links maypodem beser createdcriados manuallymanualmente withindentro do {{parameter|author_override}}, whileenquanto theyeles aresão automaticgerados withautomaticamente thecom o parâmetro {{parameter|autor}} parameter. CommonEsse usesgeralmente includeé linkso tocaso thepara Portal:obras namespacede (e.g.múltiplos for organizational authorship) and the inclusion of multiple authorsautores. See [[#No link to author page|No link to author page]]
* {{parameterparâmetro|seção}} = namebine ofda subdivisionsubdivisão ofdo worktrabalho, usuallygeralmente usedutilizado onnas subpagessubpáginas
* {{parameterparâmetro|anterior}} = namenome ofdo previousparte/seção part of workanterior; relativecom linkslink onrelativo subpagespara subpáginas, fulle links otherwisecompletos caso contrário
* {{parameterparâmetro|posterior}} = namenome ofdo nextparte/seção partposterior; ofcom work,link relativerelativo linkspara on subpagessubpáginas, fulle links otherwisecompletos caso contrário
* {{parameterparâmetro|notas}} = notesnotas toexplicativas explainsobre theo worktrabalho, topara addadicionar contextcontexto, or toou impartpara concisetransmitir informationinformações thatconcisas addsque valueagreguem tovalor theao readerleitor
 
====Optional Opcional ====
* {{parameterparâmetro|editor}} = editor ofdo the worktrabalho, notsem link wikilinkedwiki. Use {{parameterparâmetro|override_editor}} forpara fullcontrole controltotal.
* {{parameterparâmetro|tradutor}} = namenome ofdo translatortradutor, notsem wikilinkedlink wiki; orou {{parameterparâmetro|override_translator}} seeveja [[#Translations |Translations Traduções]]
* {{parameterparâmetro|contributor}} = namenome ofdo theautor authordesta ofseção, this section,se ifnão notfor theo samemesmo asdo authorautor thedo overalltrabalho workgeral; orou synonymsinônimo {{parameterparâmetro|section_author}}.
*: Notsem wikilinkedlink wiki; use {{Parameterparâmetro|override_contributor}} orou {{Parameterparâmetro|override_section_author}} ifse youvocê needprecisar toespecificar specifyo thedestino linkdo targetlink.
* {{parameterparâmetro|section_translator}} = namenome ofdo thetradutor translatordesta ofseção, this section,se ifnão notfor theo samemesmo asque translatortradutor thedo overalltrabalho workgeral.
*: Notsem wikilinkedlink wiki; use {{Parameterparâmetro|override_section_translator}} ifse youvocê needprecisar toespecificar specifyo thedestino linkdo targetlink.
* {{parameterparâmetro|ano}} = ano year ofde publicationpublicação, addsadiciona worktrabalho toà thecategoria categorydo for the yearano, seeconsulte [[:Category Categoria:Works byTrabalhos yearpor ano]].
*:Entrar "?" para um trabalho sem ano de publicação conhecido e deixe em branco se simplesmente não tiver essa informação.
*:Enter "?" for a work with no known publication year, and leave blank if you simply don't have this information.
*:Do notNão use AD orou CE forpara anynenhum trabalho de Anno Domini /Current Era worksAtual (yearano 1 toaté theo presentpresente). Use BCE (do notnão use BC) forpara alltodos yearsos beforeanos yearanteriores ao ano 1; leavedeixe aum spaceespaço betweenentre theo numbernúmero ande theas lettersletras (''e.g. por exemplo '' <code> 150 BCEa.C. </code>).
*: As datas aproximadas podem ser inseridas de uma das seguintes maneiras:
*:Approximate dates can be entered in one of the following ways:
*: #Decades Décadas, centuriesséculos orou periodsperíodos canpodem beser usedusados instead​​em ofvez ade yearum ano (''e.g. por exemplo '' <code> 1060s </code>, <code>11th centuryséculo 11 </code> orou <code> Medieval </code>).
*: #To usePara ausar yearum inano theno circaformato formatcirca, enterdigite-o it ascomo "c / Y" (''e.g. por exemplo '' <code> c / 1066 </code> orou <code> c / 150 BCEaC </code>). (TheO useuso ofde "ca" orou "circa" insteadem ofvez de "c" willtambém alsoserá be recognisedreconhecido.) Isso This willserá displayexibido ascomo, forpor exampleexemplo, "c. 1066".
*: #To usePara ausar approximateuma choiceescolha ofaproximada twode yearsdois anos, enter it asdigite "Y / Y" (''e.g. por exemplo '' <code> 1066/1067 </code>). Isso This will displayserá asexibido itconforme isestá writtenescrito.
*: O comportamento deste parâmetro pode ser modificado por:
*: The behaviour of this parameter can be further modified by:
*: * {{parameterparâmetro|noyear}} = willimpedirá preventque theo yearano beingseja displayedexibido inno thecabeçalho, headermas butainda willadicionará stillo addtrabalho theà workcategoria todo the category for the yearano. Para Forutilização usenos incasos casesem whereque theo yearano is alreadyconste includeddo intítulo theda title of the workobra. Qualquer Anyuso usedeste of this parameterparâmetro, evenmesmo withoutsem texttexto, will workfuncionará. ExampleExemplo: <code> | noyear = yes </code>. Todas Allas pagespáginas withcom thiseste parameterparâmetro willserão beadicionadas added toa [[:Category Categoria:Pages withPáginas noyearsem ano]] forpara trackingrastrear itsseu usageuso.
*: * {{parâmetro|noyearcat}} = exibirá o ano, mas no cabeçalho, mas não adicionará o trabalho à categoria do ano. Para uso nos casos em que existe uma subcategoria específica para o tipo de trabalho, para evitar inundar a categoria principal para o ano. Como acima, qualquer uso do parâmetro acionará esta ação. As páginas serão adicionadas à categoria de rastreamento [[: Categoria: Páginas com noyearcat]].
*:* {{parameter|noyearcat}} = will display the year but in the header but will not add the work to the category for the year. For use in cases where a specific subcategory exists for the type of work to avoid flooding the main category for the year. As above, any use of the parameter will trigger this action. Pages will be added to the tracking category [[:Category:Pages with noyearcat]].
*: * {{parâmetro|override_year}} = exibirá o texto fornecido e não tentará adicionar o trabalho à categoria do ano. Para uso em qualquer outro caso não coberto pelos outros parâmetros. As páginas serão adicionadas à categoria de rastreamento [[: Categoria: Páginas com ano de substituição]].
*:* {{parameter|override_year}} = will display the given text and will not attempt to add the work to the category for the year. For use in any other case not covered by the other parameters. Pages will be added to the tracking category [[:Category:Pages with override year]].
* {{parâmetro|categorias}} = lista de categorias separadas por barras
* {{parameter|categories}} = Forward-slash-separated list of categories
* {{parameterparâmetro|shortcut}} = TheO shortcutatalho topara thisesta pagepágina, ifse it existsexistir. ThisIsso isnormalmente normallyé reservedreservado forpara veryobras largede referencereferência worksmuito grandes (''e.g. por exemplo '' [[EB11]])
 
;See Consulte [[#SisterIrmã, relatedautor author,relacionado ande links do portal wiki links|Sister Irmã, relatedautor author,relacionado ande links do portal wiki links]]
* {{parameterparâmetro | portal}}
* {{parameterparâmetro | related_author}}
* {{parameterparâmetro | wikipedia}}
* {{parameterparâmetro |commons comuns}}
* {{parameterparâmetro | commonscat}}
* {{parameterparâmetro | wikiquote}}
* {{parameterparâmetro | wikinews}}
* {{parameterparâmetro | wiktionary}}
* {{parameterparâmetro | wikibooks}}
* {{parameterparâmetro |wikiversity wikiversidade}}
* {{parameterparâmetro | wikispecies}}
* {{parameterparâmetro | wikivoyage}}
* {{parameterparâmetro | wikidata}}
* {{parameterparâmetro | wikilivres}}
* {{parameterparâmetro | meta}}
 
<section begin="Full" /><pre>
Linha 94:
</pre><section end="Full" />
 
===Relative linksLinks relativos ===
WithCom lengthy,trabalhos multi-pageextensos worksde várias páginas, usingo uso de [[m: Help: Link # Subpage_feature |relative links relativos]] isé highlyaltamente recommendedrecomendado. ThisIsso shortensencurta theo codecódigo ande ensuresgarante thatque aum worktrabalho remainspermaneça linkedvinculado togethermesmo evense iffor itmovido isou moved or reorganisedreorganizado. TheOs threetrês formatsformatos aresão <nowiki> [[/ subpage]] </nowiki> (subpagesubpágina), <nowiki> [[../]] </nowiki> (parentpai), ande <nowiki> [[../sibling] ] </nowiki> (siblingirmão) <ref>The specificO formformulário específico <nowiki> [[../sibling/]] </nowiki> canpode beser usedusado onem aum siblingirmão topara providefornecer bothum alink relativerelativo link,e o andrótulo thedo link labelpara toum airmão sibling pagepágina. </ref>; seeveja theo exampleexemplo usagede belowuso abaixo. NoteObserve thatque <nowiki> [[../]] </nowiki> willse expandexpandirá topara theo titletítulo ofda thepágina parent pagepai, whicho isque é ideal if the work isse renamedo attrabalho afor laterrenomeado timeposteriormente.
 
This depends on a page conforming to the page title standards in the [[WS:STYLE|Style guide]], with works in the form <nowiki>[[Work title]]</nowiki> and <nowiki>[[Work title/Subpage]]</nowiki>.
 
Isso depende de uma página em conformidade com os padrões de título de página no [[WS: ESTILO | Guia de estilo]], com trabalhos no formato <nowiki> [[Título do trabalho]] </nowiki> e <nowiki> [[Título do trabalho] / Subpágina]] </nowiki>.
{{smallrefs}}
 
Linha 113 ⟶ 112:
}}
 
===Special casesCasos especiais ===
====Translations Traduções ====
<pre> | tradutor = Joe </pre>
O nome do tradutor. Isso será automaticamente vinculado a uma página do autor, a menos que contenha o caractere "[".
The name of the translator. This will automatically be linked to an author page unless it contains the "[" character.
 
* AUm valuevalor ofde "?" orou "unknowndesconhecido" addsadiciona {{tl | tradutor desconhecido}} to theà pagepágina.
* AO value ofvalor "notnão mentionedmencionado" addsadiciona '' tradutor não mencionadolocal '' toà the pagepágina. <! ---This shouldIsso only bedeve usedser whereusado theonde translatedo worktrabalho wastraduzido publishedfoi beforepublicado antes de 1923 .--->
 
====No Sem link topara a página do authorautor page====
<pre> | autor = | author_override = Joe </pre>
Exibe o nome do autor sem um link para a página do autor (para obras que não têm autores tradicionais).
Displays the author's name without a link to an author page (for works that don't have traditional authors).
 
== Exemplos de uso ==
==Usage examples==
===Normal===
<syntaxhighlight lang="html5" >
Linha 319 ⟶ 318:
* {{tl|portal header}} for template header used in Portal: namespace
* {{tl|translation header}} for template header used in Translation: namespace
* {{tl|RunningHeaderCabeçalho}} for the headers to be used in source texts
 
<includeonly><!-- Por favor coloque categorias abaixo dessa linha, e interwikis no Wikidata-->