Difference between revisions of "Template:Cite web/Portuguese/doc"

From blackwiki
Jump to navigation Jump to search
imported>Tom.Reding
m (Undid revision 990684826 by Tom.Reding (talk) Just in case)
 
(12 intermediate revisions by 7 users not shown)
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]]) -->
<!-- {{Subst only|auto=yes}} -->
+
{{Cs1 wrapper|base=Cite web}}
 +
{{Subst only|auto=yes}}
 +
 
 
== Usage ==
 
== Usage ==
  
The '''[[Template:Citar_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>&#124;xx{{{=|}}}</code> ignored...}}" and so {citar_web} here simply switches any Portuguese/Catalan parameter into the English equivalent,
+
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>&#124;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 cellspacing=5
+
{| class=wikitable
! colspan=3 {{!}} List of parameters
+
! colspan=3 | List of parameters
{{!}}-
+
|-
 
! Portuguese !! Catalan !! English
 
! Portuguese !! Catalan !! English
{{!}}-
+
|-
{{!}} título / titulo {{!!}} títol {{!!}} title
+
| título / titulo || títol || title
{{!}}-
+
|-
{{!}} titulotrad {{!!}} --- {{!!}} trans-title
+
| titulotrad || --- || trans-title
{{!}}-
+
|-
{{!}} ultimo<br>ultimo2<br>ultimo3 {{!!}} cognom<br>cognom2<br>cognom3 {{!!}} last<br>last2<br>last3
+
| 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
+
| 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
+
| 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
+
| autorlink<br />autorlink2<br />autorlink3 || enllaçautor<br />enllaçautor2<br />enllaçautor3 || authorlink<br />authorlink2<br />authorlink3
{{!}}-
+
|-
{{!}} coautores {{!!}} coautors {{!!}} coauthors
+
| coautores || coautors || coauthors
{{!}}-
+
|-
{{!}} obra {{!!}} obra {{!!}} work
+
| obra || obra || work
{{!}}-
+
|-
{{!}} jornal <br>periódico {{!!}} jornal {{!!}} journal
+
| jornal <br />periódico || jornal || journal
{{!}}-
+
|-
{{!}} series {{!!}} series {{!!}} series
+
| series || series || series
{{!}}-
+
|-
{{!}} número / numero {{!!}} numero {{!!}} issue / number
+
| número / numero || numero || issue / number
{{!}}-
+
|-
{{!}} publicado {{!!}} editor {{!!}} publisher
+
| publicado || editor || publisher
{{!}}-
+
|-
{{!}} data {{!!}} data {{!!}} date
+
| data || data || date
{{!}}-
+
|-
{{!}} acessodata /<br>acessadoem /<br>acessomesdia {{!!}} consulta {{!!}} accessdate
+
| acessodata /<br />acessadoem /<br />acessomesdia || consulta || accessdate
{{!}}-
+
|-
{{!}} acessoano {{!!}} añoacceso {{!!}} accessdate
+
| acessoano || añoacceso || accessdate
{{!}}-
+
|-
{{!}} ano {{!!}} año  {{!!}} year
+
| ano || año  || year
{{!}}-
+
|-
{{!}} mês {{!!}} mes {{!!}} month
+
| mês || mes || month
{{!}}-
+
|-
{{!}} pagina {{!!}} pàgina {{!!}} page
+
| pagina || pàgina || page
{{!}}-
+
|-
{{!}} páginas <br>paginas {{!!}} pàgines {{!!}} pages
+
| páginas <br />paginas || pàgines || pages
{{!}}-
+
|-
{{!}} formato {{!!}} format {{!!}} format
+
| formato || format || format
{{!}}-
+
|-
{{!}} tipo {{!!}} tipo {{!!}} type
+
| tipo || tipo || type
{{!}}-
+
|-
{{!}} língua / lingua<br>lang {{!!}} llengua {{!!}} language
+
| 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
+
| isbn <br />issn<br />doi<br />bibcode<br />arxiv || --- || isbn <br />issn<br />doi<br />bibcode<br />arxiv
{{!}}-
+
|-
{{!}} id {{!!}} id {{!!}} id
+
| id || id || id
{{!}}-
+
|-
{{!}} cid / ref {{!!}} ref {{!!}} ref
+
| cid / ref || ref || ref
{{!}}-
+
|-
{{!}} url / URL {{!!}} url / URL {{!!}} url / URL
+
| url / URL || url / URL || url / URL
{{!}}-
+
|-
{{!}} arquivourl {{!!}} arxiuurl {{!!}} archiveurl
+
| arquivourl || arxiuurl || archiveurl
{{!}}-
+
|-
{{!}} arquivodata {{!!}} arxiudata {{!!}} archivedate
+
| arquivodata || arxiudata || archivedate
{{!}}-
+
|-
{{!}} ligação inativa <br>urlmorta {{!!}} enlaceroto {{!!}} deadurl
+
| ligação inativa <br />urlmorta || enlaceroto || url-status
{{!}}-
+
|-
{{!}} subscricao {{!!}} --- {{!!}} subscription
+
| subscricao || --- || subscription
{{!}}-
+
|-
{{!}} pontofinal {{!!}} --- {{!!}} postscript
+
| pontofinal || --- || postscript
{{!}}-
+
|-
{{!}} citação / citacao {{!!}} citació {{!!}} quote
+
| 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 86: Line 88:
 
Below are some examples using {citar_web}.
 
Below are some examples using {citar_web}.
  
:* <nowiki>{{citar web |autor=Juan Doe |titulo=El Titulo |url=http://x.com |data=7 de maio de 2012 |língua=English}}</nowiki><!--
+
:* <nowiki>{{Cite web/Portuguese |autor=Juan Doe |titulo=El Titulo |url=http://x.com |data=7 de maio de 2012 |língua=English}}</nowiki><!--
   --><br>→ {{citar web |autor=Juan Doe |titulo=El Titulo |url=http://x.com |data=7 de maio de 2012 |língua=English}}
+
   --><br />→ {{cite web
 +
| url=http://x.com
 +
| trans-title=
 +
|url-status=
 +
| title=El Titulo
 +
| author=Juan Doe
 +
| author2=
 +
| author3=
 +
| last=
 +
| first=
 +
| authorlink=
 +
| coauthors=
 +
| subscription=
 +
| format=
 +
| work=<!--
 +
    -->
 +
| series=
 +
| volume=
 +
| issue=
 +
| editor=
 +
| publisher=
 +
| agency=
 +
| location=
 +
| page=
 +
| pages=<!--
 +
  -->
 +
| ref=
 +
| date=7 May 2012
 +
| year=
 +
| month=
 +
| accessdate=<!--
 +
-->
 +
  |
 +
| language=English<!--end switch-->
 +
| doi=
 +
| id=
 +
| archiveurl=<!--
 +
  -->
 +
| archivedate=
 +
| quote=
 +
| postscript=
 +
<!----------------------- More parameters-->
 +
| last2=
 +
| first2=
 +
| authorlink2=
 +
| last3=
 +
| first3=
 +
| authorlink3=
 +
| chapter=
 +
| issn=
 +
| isbn=
 +
| type=
 +
| editor-last=
 +
| editor-first=
 +
| website=
 +
| journal=
 +
}}
  
:* <nowiki>{{citar web |url=http://www.abpd.org.br/noticias_internas.asp?noticia=195 |titulo=CD&nbsp;— TOP 20 Semanal |publicado=[[ABPD]] |acessodata=27 de Fevereiro de 2010}}</nowiki><!--
+
:* <nowiki>{{Cite web/Portuguese |url=http://www.abpd.org.br/noticias_internas.asp?noticia=195 |titulo=CD&nbsp;— TOP 20 Semanal |publicado=[[ABPD]] |acessodata=27 de Fevereiro de 2010}}</nowiki><!--
   --><br>→ {{citar web/sandbox |url=http://www.abpd.org.br/noticias_internas.asp?noticia=195 |titulo=CD&nbsp;— TOP 20 Semanal |publicado=[[Associação Brasileira dos Produtores de Discos|ABPD]] |acessodata=27 de Fevereiro de 2010}}<!--
+
   --><br />→ {{cite web
 +
| url=http://www.abpd.org.br/noticias_internas.asp?noticia=195
 +
| trans-title=
 +
|url-status=
 +
| title=CD&nbsp;— TOP 20 Semanal
 +
| author=<!--
 +
    -->
 +
| author2=
 +
| author3=
 +
| last=
 +
| first=
 +
| authorlink=
 +
| coauthors=
 +
| subscription=
 +
| format=
 +
| work=<!--
 +
    -->
 +
| series=
 +
| volume=
 +
| issue=
 +
| editor=
 +
| publisher=[[Associação Brasileira dos Produtores de Discos|ABPD]]
 +
| agency=
 +
| location=
 +
| page=
 +
| pages=<!--
 +
  -->
 +
| ref=
 +
| date=
 +
| year=
 +
| month=
 +
| accessdate=27 February 2010<!--
 +
-->
 +
  |
 +
| language=<!--
 +
  --><!--end switch-->
 +
| doi=
 +
| id=
 +
| archiveurl=<!--
 +
  -->
 +
| archivedate=
 +
| quote=
 +
| postscript=
 +
<!----------------------- More parameters-->
 +
| last2=
 +
| first2=
 +
| authorlink2=
 +
| last3=
 +
| first3=
 +
| authorlink3=
 +
| chapter=
 +
| issn=
 +
| isbn=
 +
| type=
 +
| editor-last=
 +
| editor-first=
 +
| website=
 +
| journal=
 +
}}<!--
 
   --> (example from Shakira album "''[[She Wolf]]")''
 
   --> (example from Shakira album "''[[She Wolf]]")''
  
 
== 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 cellspacing=5 <!--
+
:{| class=wikitable <!--
 
         --> style="text-align:center; text-size:82%"
 
         --> style="text-align:center; text-size:82%"
! colspan=3 {{!}} List of month names
+
! colspan=3 | List of month names
{{!}}-
+
|-
 
! Portuguese !! Catalan !! English
 
! Portuguese !! Catalan !! English
{{!}}-
+
|-
{{!}} janeiro {{!!}} gener {{!!}} January
+
| janeiro || gener || January
{{!}}-
+
|-
{{!}} fevereiro {{!!}} febrer {{!!}} February
+
| fevereiro || febrer || February
{{!}}-
+
|-
{{!}} março  {{!!}} març {{!!}} March
+
| março  || març || March
{{!}}-
+
|-
{{!}} abril  {{!!}} abril {{!!}} April
+
| abril  || abril || April
{{!}}-
+
|-
{{!}} maio  {{!!}} maig {{!!}} May
+
| maio  || maig || May
{{!}}-
+
|-
{{!}} junho  {{!!}} juny {{!!}} June
+
| junho  || juny || June
{{!}}-
+
|-
{{!}} julho  {{!!}} juliol {{!!}} July
+
| julho  || juliol || July
{{!}}-
+
|-
{{!}} agosto  {{!!}} agost {{!!}} August
+
| agosto  || agost || August
{{!}}-
+
|-
{{!}} setembro &nbsp; {{!!}} setembre &nbsp;{{!!}} September
+
| setembro &nbsp; || setembre &nbsp;|| September
{{!}}-
+
|-
{{!}} outubro {{!!}} octubre {{!!}} October
+
| outubro || octubre || October
{{!}}-
+
|-
{{!}} novembro {{!!}} novembre {{!!}} November
+
| novembro || novembre || November
{{!}}-
+
|-
{{!}} dezembro {{!!}} desembre {{!!}} December
+
| 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 {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.
+
The Template:Citar_web runs 20-25 per second, but users should translate to {{tl|cite web}}, as time permits. The translations of {Cite web/Portuguese} 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.
  
 
== See also ==
 
== See also ==
* [[Template:Cita news]]&nbsp;– the equivalent template of {{tl|cite news}}
 
 
{{Non-English citation templates}}
 
{{Non-English citation templates}}
 +
 
== External links ==
 
== External links ==
 
* [[:pt:Predefinição:Citar_web]] - Portuguese equivalent of {{tl|cite web}}
 
* [[:pt:Predefinição:Citar_web]] - Portuguese equivalent of {{tl|cite web}}
Line 142: Line 258:
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Citation Style 1 meta-templates|W]]
+
[[Category:Infobox importer templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 01:27, 26 November 2020

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}.

  • {{Cite web/Portuguese |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".
  • {{Cite web/Portuguese |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")

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 {Cite web/Portuguese} 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:Non-English citation templates

External links