Saltar para o conteúdo

Módulo:Info/Gene/prova/pt

Origem: Wikipédia, a enciclopédia livre.
local p = { }

p.CFG = { --Configuration values
	SeparatorStr = ",",
	ThousandSeparator = '.',
	LeftToRigthWriting = true,
	InfoboxFontSize = '85%',
	InfoboxWidth = '26.4em',
	-- Global Color Scheme
	rowBGcolor = '#eee',
	titleBGcolor = '#ddd',
	sideTitleBGcolor = '#c3fdb8',
  -- NEW
	topTitleBGcolor = '', -- '' for no color (transparent); with a color: i.e. '#b0d1ad'
	TitleIcon = '', -- For icon at left of title text: i.e. 'Chromosome2 icon.svg'
	-- The next three items indicate the minimum width of the indicated bar should have, 
	-- if possible, to accommodate the label splitted into words as appropriate.
	PDB_bar_width = '30px', -- For PDB_lnk
	id_bar_width = '56px', -- For aliases_lnk and ext_id
	GO_bar_width = '76px', -- For GO_mol_funct, GO_cell_comp and GO_bio_process
	-- The next three items indicate the widths for the 'Gene location' tables
	-- The next two items usually: label_locus_width + cytoband_width = 44%
	label_locus_width = '12%',
	cytoband_width = '32%',
	label_locus_width = '12%',
	label_StartEnd_width = '12%', -- this item indicates the width for the column of 'Start' and 'End' labels
	BgeeBioGPS_width = '12%', -- Indicates the width for the column of 'Start' and 'End' labels of 'Gene location' tables
	ArticleLnk = true, -- Create link to existing articles in local language in items for Human RNA expression pattern
	-- The next two items create a link to WD in several items. 
	-- But they are always false if the wiki language is 'en' or 'simple'.
	WDLnk_Transl = true,  -- Show a link icon to translate an item to your language
	WDLnk_CorrectTransl = true,  -- Show a link icon to correct the already made English translation of an item 
	-- The next options In English wikipedia are false:
	OrthologsCollapsed = true, -- If "true" the orthologs list is initially displayed expanded 
	ShowDiseases = true, -- It shows the diseases section
	ShowDrugs = true, -- It shows the drugs section
}

--WARNING: If you use Google Translator or similar to translate the next p.RS items as a whole block, 
--   after translation: check that some definition name has not been translated as well
p.RS = { --Respurce strings
 -- NEW!: Parameter names. You can assign more than one or two parameters for each parameter,
 -- i.e., for Spanish: {'image', 'imagen'},  but always written between "{" and "}"
	imageNames = {'image','imagem'}, 
	captionNames = {'caption'},
 -- other strings
	--the next two items are required to translation for few languages
	XForChromosome = 'X',
	YForChromosome = 'Y',
 -- WARNING!!: xxx_lnk are links, in the wiki code will become [[RS.xxx_lnk]]
	NotApplicableStr = "n/a",
	youCanTranslateIt = 'Pode traduzi-lo', --NEW! In Wikidata
	youCanModifyIt = 'Pode modificá-lo', --NEW! In Wikidata
	LookLocalArticle = "Ver artigo em português", --NEW! In your language
	proteinL = 'proteína',
	AvailableStructures = 'Estruturas disponíveis',
	PDB_lnk = 'Protein Data Bank|PDB',
	PDBListTitle = "Lista de códigos id do PDB",
	checkOrtholog = 'Pesquisa ortóloga: ',
	checkOrthologH = 'Pesquisa UniProt Humana: ',
	IdentifiersU = "Identificadores",
	aliases_lnk = 'Human Genome Organisation|Nomes alternativos',
	HUGO_lnk = 'HUGO', --NOVO
	ext_id = "IDs externos",
	OMIM_lnk = 'Online Mendelian Inheritance in Man|OMIM',
	Homolo_lnk = 'HomoloGene',
	GeneCards_lnk = 'GeneCards',
	MGI_lnk = 'Mouse_Genome_Informatics|MGI',
	ChEMBL_lnk = 'ChEMBL',
	IUPHAR = 'União_Internacional_de_Farmacologia_Básica_e_Clínica|IUPHAR',
	EC_lnk = 'Número EC',
	OMA_lnk = 'Orthologous MAtrix|OMA',
	RelDiseases = 'Doenças Geneticamente Relacionadas',
	AssocDiseases = "Doenças geneticamente associadas a ",
	SeeEditWDRef = " visualizar/editar referências no wikidata",
	TargDrug = "Alvejado por Droga",
	InterDrug = "Medicamentos que interagem fisicamente com ",
	HumanL = 'humano',
	MouseL = 'rato',
	HumanU = 'Humano',
	MouseU = 'Rato',
	GL_GeneLoc = 'Localização do gene',
	GL_Human_lnk = "Genoma Humano|Humano",
	GL_Mouse_lnk = "Rato de laboratório|Rato",
	GL_chr_lnk = "Cromossoma",
	GL_locus_lnk = "Lócus (genética)|Banda",
	GL_gstart = "Início",
	GL_gend = "Fim",
	GL_tooltip = "Localização genómica para ",
	GL_ortholog = "(ortólogo)",
	Ensembl_lnk = "Ensembl",
	BasePair = "bp",
	BasePair_only_lnk = "Par de bases",
	--In the next two variables,  the first %s is replaced for the chromosome number (Auto) or X or Y (Sex)
	HumanChromosomeIdeogr = 'Cromossomas humanos, enquadrado: %s',
	MouseChromosomeIdeogr = 'Cromossomas de rato, enquadrado: %s',
	--In the next three variables:
	--  the first %s is replaced for the chromosome number (Auto) or X or Y (Sex), and 
	--  the second %s is replaced for the specie (human or mouse)
	ChromosomeAuto_lnk = 'Cromossoma %s (%s)',
	ChromosomeSex_lnk = 'Cromossoma %s (%s)', 
	ChromosomeAutoSex_abbr = '%s (%s)',
	ChromosomeMit = "ADN mitocondrial (%s)", --the %s is replaced for the specie (human or mouse)
	RNAexpres = "Padrão de [[Expressão génica|expressão de ARN]]",
	RNAexpres_more_exprdata = "Mais dados de expressão de referência",
	RNAexpres_more_expl = 'Principal expresso em',
	Bgee = "Bgee",
	BioGPS = "BioGPS",
	GO_title_lnk = "Ontologia genética",
	GO_mol_funct = "Função molecular",
	GO_cell_comp = "Componente celular",
	GO_bio_process = "Processo biológico",
	Orth_Orthologs = "Ortólogos",
	Orth_Categ = 'Categoria:',
	Orth_C_Num = 'Genes no cromossoma humano %s', -- the %s is replaced for a number
	Orth_C_Sex = 'Genes no cromossoma humano %s', -- the %s is replaced for X or Y
	Orth_C_Mit = 'Genes mitocondriais humanos',
	Orth_HumanGens = 'Genes humanos',
	Orth_Entrez_lnk = "Entrez",
	Orth_Ensembl_lnk = "Ensembl",
	Orth_UniProt_lnk = "UniProt",
	Orth_RefSeq_lnk = "RefSeq",
	Orth_RefSeq = "RefSeq",
	Orth_UCSC = "Localização (%s)", --  the %s is replaced for link to Orth_UCSC_lnk
	Orth_UCSC_lnk = 'UCSC Genome Browser|UCSC', --NOVO
	SourcesTP = "Fontes",
	refseq_RNAm = '(ARNm)',
	refseq_protein = '(proteína)',
	SpeciesU = "Espécie",
	PubMed_Search = "Pesquise %s", -- the %s is replaced for link to PubMed_lnk
	PubMed_lnk = 'PubMed',
	Wikidata_lnk = 'Wikidata',
	SeeEditHuman = 'Ver/Editar gene humano', --CHANGED content, original: 'View/Edit Human'
	SeeEditMouse = 'Ver/Editar gene do rato', --CHANGED content, original: 'View/Edit Mouse'
}
--Also you must create a redirect page for each human chromosome,
--i.e. the new page (if not yet exists) "Chromosome 2 (human)" must containts "#REDIRECT[[Chromosome 2]]"
  -- obviously, in this example you must change "Chromosome" for the translated word.

function p.MkExtLnk (frame, title_h, url_h, website_h) 
	--In this function, you perhaps* must change:
	--'cite_web' to the equivalent [[en:Template:Cite_web]] name in your wiki.
	return frame:expandTemplate {title = 'Citar web', 
		--Also, perhaps** you must change the next arguments names
		--  (title, url and website; but never title_h, url_h or website_h)
		--from the [[en:Template:Cite_web]],
		args = {titulo=title_h , url=url_h, website=website_h} } 
	--expandTemplate creates cite web template {{cite web|title=value|url=ref_link..ect}
	--* if the names are different or not exist a redirection to your template
	--** if your template does not support the English names as valid arguments
end	

return p