Difference between revisions of "Template:Cite web/Portuguese/doc"
imported>Buidhe m (Buidhe moved page Template:Template:Cite web/Portuguese/doc to Template:Cite web/Portuguese/doc without leaving a redirect: oops) |
imported>Gonnym |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->{{Cs1 wrapper|base=Cite web}} | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
| − | + | {{Cs1 wrapper|base=Cite web}} | |
| + | {{Subst only|auto=yes}} | ||
| + | |||
== Usage == | == Usage == | ||
| − | The '''[[Template: | + | The '''[[Template:Cite web]]''' handles Portuguese-language (or Catalan) parameters for {{tl|Cite web}}, as in the [[Portuguese Wikipedia]] template [[:pt:Predefinição:Citar_web]], or with Catalan "títol=" for title. As of February 2016, {cite_web} would issue a red-error message for each unrecognized Portuguese or Catalan parameter as "{{color|#CC0000|Unknown parameter <code>|xx{{{=|}}}</code> ignored...}}" and so {citar_web} here simply switches any Portuguese/Catalan parameter into the English equivalent, |
and translates any date/month names into English, | and translates any date/month names into English, | ||
until those cites can be hand-translated into English where needed. | until those cites can be hand-translated into English where needed. | ||
| Line 12: | Line 14: | ||
== List of parameter names == | == List of parameter names == | ||
The major parameter keywords are listed below. | The major parameter keywords are listed below. | ||
| − | + | {| class=wikitable | |
| − | ! colspan=3 | + | ! colspan=3 | List of parameters |
| − | + | |- | |
! Portuguese !! Catalan !! English | ! Portuguese !! Catalan !! English | ||
| − | + | |- | |
| − | + | | título / titulo || títol || title | |
| − | + | |- | |
| − | + | | titulotrad || --- || trans-title | |
| − | + | |- | |
| − | + | | ultimo<br />ultimo2<br />ultimo3 || cognom<br />cognom2<br />cognom3 || last<br />last2<br />last3 | |
| − | + | |- | |
| − | + | | primeiro<br />primeiro2<br />primeiro3 || nom<br />nom2<br />nom3 || first<br />first2<br />first3 | |
| − | + | |- | |
| − | + | | autor<br />autor2<br />autor3 || autor<br />autor2<br />autor3 || author<br />author2<br />author3 | |
| − | + | |- | |
| − | + | | autorlink<br />autorlink2<br />autorlink3 || enllaçautor<br />enllaçautor2<br />enllaçautor3 || authorlink<br />authorlink2<br />authorlink3 | |
| − | + | |- | |
| − | + | | coautores || coautors || coauthors | |
| − | + | |- | |
| − | + | | obra || obra || work | |
| − | + | |- | |
| − | + | | jornal <br />periódico || jornal || journal | |
| − | + | |- | |
| − | + | | series || series || series | |
| − | + | |- | |
| − | + | | número / numero || numero || issue / number | |
| − | + | |- | |
| − | + | | publicado || editor || publisher | |
| − | + | |- | |
| − | + | | data || data || date | |
| − | + | |- | |
| − | + | | acessodata /<br />acessadoem /<br />acessomesdia || consulta || accessdate | |
| − | + | |- | |
| − | + | | acessoano || añoacceso || accessdate | |
| − | + | |- | |
| − | + | | ano || año || year | |
| − | + | |- | |
| − | + | | mês || mes || month | |
| − | + | |- | |
| − | + | | pagina || pàgina || page | |
| − | + | |- | |
| − | + | | páginas <br />paginas || pàgines || pages | |
| − | + | |- | |
| − | + | | formato || format || format | |
| − | + | |- | |
| − | + | | tipo || tipo || type | |
| − | + | |- | |
| − | + | | língua / lingua<br />lang || llengua || language | |
| − | + | |- | |
| − | + | | isbn <br />issn<br />doi<br />bibcode<br />arxiv || --- || isbn <br />issn<br />doi<br />bibcode<br />arxiv | |
| − | + | |- | |
| − | + | | id || id || id | |
| − | + | |- | |
| − | + | | cid / ref || ref || ref | |
| − | + | |- | |
| − | + | | url / URL || url / URL || url / URL | |
| − | + | |- | |
| − | + | | arquivourl || arxiuurl || archiveurl | |
| − | + | |- | |
| − | + | | arquivodata || arxiudata || archivedate | |
| − | + | |- | |
| − | + | | ligação inativa <br />urlmorta || enlaceroto || url-status | |
| − | + | |- | |
| − | + | | subscricao || --- || subscription | |
| − | + | |- | |
| − | + | | pontofinal || --- || postscript | |
| − | + | |- | |
| − | + | | citação / citacao || citació || quote | |
| − | + | |} | |
The various Portuguese parameters are listed on the [[Portuguese Wikipedia]] in template [[:pt:Predefinição:Citar_web]] from 2014 to July 2017. | The various Portuguese parameters are listed on the [[Portuguese Wikipedia]] in template [[:pt:Predefinição:Citar_web]] from 2014 to July 2017. | ||
| Line 95: | Line 97: | ||
== List of month names == | == List of month names == | ||
Below is a table of month names. Note how Portuguese dates use the form "7 de <month> de 2014" with words "''de''" (of) around the month name. | Below is a table of month names. Note how Portuguese dates use the form "7 de <month> de 2014" with words "''de''" (of) around the month name. | ||
| − | :{ | + | :{| class=wikitable <!-- |
--> style="text-align:center; text-size:82%" | --> style="text-align:center; text-size:82%" | ||
| − | ! colspan=3 | + | ! colspan=3 | List of month names |
| − | + | |- | |
! Portuguese !! Catalan !! English | ! Portuguese !! Catalan !! English | ||
| − | + | |- | |
| − | + | | janeiro || gener || January | |
| − | + | |- | |
| − | + | | fevereiro || febrer || February | |
| − | + | |- | |
| − | + | | março || març || March | |
| − | + | |- | |
| − | + | | abril || abril || April | |
| − | + | |- | |
| − | + | | maio || maig || May | |
| − | + | |- | |
| − | + | | junho || juny || June | |
| − | + | |- | |
| − | + | | julho || juliol || July | |
| − | + | |- | |
| − | + | | agosto || agost || August | |
| − | + | |- | |
| − | + | | setembro || setembre || September | |
| − | + | |- | |
| − | + | | outubro || octubre || October | |
| − | + | |- | |
| − | + | | novembro || novembre || November | |
| − | + | |- | |
| − | + | | dezembro || desembre || December | |
| − | + | |- | |
| − | + | |} | |
== Performance considerations == | == Performance considerations == | ||
| − | The Template:Citar_web runs 20-25 per second, but users should translate to {{tl|cite web}}, as time permits. The translations of { | + | The Template:Citar_web runs 20-25 per second, but users should translate to {{tl|cite web}}, as time permits. The translations of {citar web} would typically require expertise in Portuguese (or Catalan), plus knowledge of the [[Portuguese Wikipedia]] cites or [[Catalan Wikipedia]] ''Plantilla:Ref-web'' (template), plus knowledge of parameters of the enwiki [[Template:Cite_web]]. The parameter list and months, listed above, can be used to assist translation of parameter names and dates. |
Care should be taken to correctly hand-translate cite data into English; otherwise, the auto-translation of parameters is likely to be more accurate. | Care should be taken to correctly hand-translate cite data into English; otherwise, the auto-translation of parameters is likely to be more accurate. | ||
| Line 142: | Line 144: | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| + | [[Category:Infobox importer templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 18:34, 23 October 2020
| This is a documentation subpage for Template:Cite web/Portuguese. It contains usage information, categories and other content that is not part of the original template page. |
| 40x40px | This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
| 40x40px | This template should always be substituted (i.e., use {{subst:Cite web/Portuguese}}). Any accidental transclusions will be automatically substituted by a bot. |
Contents
Usage
The Template:Cite web handles Portuguese-language (or Catalan) parameters for {{Cite web}}, as in the Portuguese Wikipedia template pt:Predefinição:Citar_web, or with Catalan "títol=" for title. As of February 2016, {cite_web} would issue a red-error message for each unrecognized Portuguese or Catalan parameter as "Unknown parameter |xx ignored..." and so {citar_web} here simply switches any Portuguese/Catalan parameter into the English equivalent,
and translates any date/month names into English,
until those cites can be hand-translated into English where needed.
Due to translation of dates/months, the runtime speed of the template is about 50-55 per second, and usage should be limited to about 250 {citar_web} per page, depending on performance needs.
List of parameter names
The major parameter keywords are listed below.
| List of parameters | ||
|---|---|---|
| Portuguese | Catalan | English |
| título / titulo | títol | title |
| titulotrad | --- | trans-title |
| ultimo ultimo2 ultimo3 |
cognom cognom2 cognom3 |
last last2 last3 |
| primeiro primeiro2 primeiro3 |
nom nom2 nom3 |
first first2 first3 |
| autor autor2 autor3 |
autor autor2 autor3 |
author author2 author3 |
| autorlink autorlink2 autorlink3 |
enllaçautor enllaçautor2 enllaçautor3 |
authorlink authorlink2 authorlink3 |
| coautores | coautors | coauthors |
| obra | obra | work |
| jornal periódico |
jornal | journal |
| series | series | series |
| número / numero | numero | issue / number |
| publicado | editor | publisher |
| data | data | date |
| acessodata / acessadoem / acessomesdia |
consulta | accessdate |
| acessoano | añoacceso | accessdate |
| ano | año | year |
| mês | mes | month |
| pagina | pàgina | page |
| páginas paginas |
pàgines | pages |
| formato | format | format |
| tipo | tipo | type |
| língua / lingua lang |
llengua | language |
| isbn issn doi bibcode arxiv |
--- | isbn issn doi bibcode arxiv |
| id | id | id |
| cid / ref | ref | ref |
| url / URL | url / URL | url / URL |
| arquivourl | arxiuurl | archiveurl |
| arquivodata | arxiudata | archivedate |
| ligação inativa urlmorta |
enlaceroto | url-status |
| subscricao | --- | subscription |
| pontofinal | --- | postscript |
| citação / citacao | citació | quote |
The various Portuguese parameters are listed on the Portuguese Wikipedia in template pt:Predefinição:Citar_web from 2014 to July 2017.
Examples
Below are some examples using {citar_web}.
- {{citar web |autor=Juan Doe |titulo=El Titulo |url=http://x.com |data=7 de maio de 2012 |língua=English}}
→ Juan Doe (7 May 2012). "El Titulo".
- {{citar web |autor=Juan Doe |titulo=El Titulo |url=http://x.com |data=7 de maio de 2012 |língua=English}}
- {{citar web |url=http://www.abpd.org.br/noticias_internas.asp?noticia=195 |titulo=CD — TOP 20 Semanal |publicado=[[ABPD]] |acessodata=27 de Fevereiro de 2010}}
→ "CD — TOP 20 Semanal". ABPD. Retrieved 27 February 2010. (example from Shakira album "She Wolf")
- {{citar web |url=http://www.abpd.org.br/noticias_internas.asp?noticia=195 |titulo=CD — TOP 20 Semanal |publicado=[[ABPD]] |acessodata=27 de Fevereiro de 2010}}
List of month names
Below is a table of month names. Note how Portuguese dates use the form "7 de <month> de 2014" with words "de" (of) around the month name.
List of month names Portuguese Catalan English janeiro gener January fevereiro febrer February março març March abril abril April maio maig May junho juny June julho juliol July agosto agost August setembro setembre September outubro octubre October novembro novembre November dezembro desembre December
Performance considerations
The Template:Citar_web runs 20-25 per second, but users should translate to {{cite web}}, as time permits. The translations of {citar web} would typically require expertise in Portuguese (or Catalan), plus knowledge of the Portuguese Wikipedia cites or Catalan Wikipedia Plantilla:Ref-web (template), plus knowledge of parameters of the enwiki Template:Cite_web. The parameter list and months, listed above, can be used to assist translation of parameter names and dates.
Care should be taken to correctly hand-translate cite data into English; otherwise, the auto-translation of parameters is likely to be more accurate.
See also
- Template:Cita news – the equivalent template of {{cite news}}
Template:Non-English citation templates
External links
- pt:Predefinição:Citar_web - Portuguese equivalent of {{cite web}}
- ca:Plantilla:Ref-web - Catalan equivalent of {{cite web}}
- cz:Šablona:Citace elektronického periodika - Czech equivalent of {{cite web}}