local p = { }

p.CFG = { --Configuration values
	SeparatorStr = ",",
	ThousandSeparator = ',',
	LeftToRigthWriting = false,
	InfoboxFontSize = '90%',
	InfoboxWidth = '23em',
	-- Global Color Scheme
	rowBGcolor = '#eee',
	titleBGcolor = '#ffcfd2',
	sideTitleBGcolor = '#fbf8cc',
  -- 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 = '68px', -- 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 = '38%',
	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 = false, -- If "true" the orthologs list is initially displayed expanded
	ShowDiseases = false, -- It shows the diseases section
	ShowDrugs = false, -- 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'},
	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 = 'You can translate it', --NEW! In Wikidata
	youCanModifyIt = 'You can modify it', --NEW! In Wikidata
	LookLocalArticle = "Look at the article", --NEW! You can add " in YourLanguage"
	proteinL = 'protein',
	AvailableStructures = 'بنى متوفرة',
	PDB_lnk = 'بنك بيانات البروتين',
	PDBListTitle = "قائمة رموز معرفات بنك بيانات البروتين",
	checkOrtholog = 'Ortholog search: ',
	checkOrthologH = 'Human UniProt search: ',
	IdentifiersU = "معرفات",
	aliases_lnk = 'منظمة جينوم الإنسان|أسماء بديلة',
	HUGO_lnk = 'HUGO', --NEW
	ext_id = "معرفات خارجية",
	OMIM_lnk = 'الوراثة المندلية البشرية عبر الإنترنت',
	Homolo_lnk = 'HomoloGene',
	GeneCards_lnk = 'GeneCards',
	MGI_lnk = 'Mouse_Genome_Informatics|MGI',
	ChEMBL_lnk = 'مختبر علم الأحياء الجزيئي الأوروبي الكيميائي',
	IUPHAR_lnk = 'الاتحاد الدولي للصيدلة الأساسية والسريرية',
	EC_lnk = 'رقم التصنيف الإنزيمي',
	OMA_lnk = 'Orthologous_MAtrix|OMA',
	RelDiseases = 'Genetically Related Diseases',
	AssocDiseases = "Diseases that are genetically associated with ",
	SeeEditWDRef = " view/edit references on wikidata",
	TargDrug = "Targeted by Drug",
	InterDrug = "Drugs that physically interact with ",
	HumanL = 'الإنسان',
	MouseL = 'الفأر',
	HumanU = 'الإنسان',
	MouseU = 'الفأر',
	GL_GeneLoc = 'موقع الجين',
	GL_Human_lnk = "Human Genome|الإنسان",
	GL_Mouse_lnk = "Laboratory mouse|الفأر",
	GL_chr_lnk = "صبغي",
	GL_locus_lnk = "Locus (genetics)|Band",
	GL_gstart = "Start",
	GL_gend = "End",
	GL_tooltip = "Genomic location for ",
	GL_ortholog = "(ortholog)",
	Ensembl_lnk = "Ensembl",
	BasePair = "bp",
	BasePair_only_lnk = "زوج قاعدي",
	--In the next two variables,  the first %s is replaced for the chromosome number (Auto) or X or Y (Sex)
	HumanChromosomeIdeogr = 'Human chromosomes, framed: %s',
	MouseChromosomeIdeogr = 'Mouse chromosomes, framed: %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 = 'Chromosome %s (%s)',
	ChromosomeSex_lnk = '%s chromosome (%s)',
	ChromosomeAutoSex_abbr = '%s (%s)',
	ChromosomeMit = "Mitochondrial DNA (%s)", --the %s is replaced for the species (human or mouse)
	RNAexpres = "نمط التعبير عن الحمض النووي الريبوزي",
	RNAexpres_more_exprdata = "المزيد من بيانات التعبير المرجعية",
	RNAexpres_more_expl = 'Top expressed in',
	Bgee = "Bgee",
	BioGPS = "BioGPS",
	GO_title_lnk = "علم الوجود الجيني",
	GO_mol_funct = "وظائف جزيئية",
	GO_cell_comp = "مكونات خلوية",
	GO_bio_process = "عمليات حيوية",
	Orth_Orthologs = "تماثلات متسلسلة",
	Orth_Categ = 'Category:',
	Orth_C_Num = 'Genes on human chromosome %s', -- the %s is replaced for a number
	Orth_C_Sex = 'Genes on human chromosome %s', -- the %s is replaced for X or Y
	Orth_C_Mit = 'Human mitochondrial genes',
	Orth_HumanGens = 'Human genes',
	Orth_Entrez_lnk = "أنتريه",
	Orth_Ensembl_lnk = "Ensembl",
	Orth_UniProt_lnk = "يونيبروت",
	Orth_RefSeq_lnk = "قاعدة بيانات مرجعية|RefSeq",
	Orth_RefSeq = "RefSeq",
	Orth_UCSC = "ا كروز (%s)", -- the %s is replaced for link to Orth_UCSC_lnk
	Orth_UCSC_lnk = 'UCSC Genome Browser|UCSC', --NEW
	SourcesTP = "Sources",
	refseq_RNAm = '(RNAm)',
	refseq_protein = '(بروتين)',
	SpeciesU = "أنواع",
	PubMed_Search = "بحث %s", -- the %s is replaced for link to PubMed_lnk
	PubMed_lnk = 'ببمد',
	Wikidata_lnk = 'ويكي بيانات',
	SeeEditHuman = 'عرض/عدّل إنسان', --CHANGED content, original: 'View/Edit Human'
	SeeEditMouse = 'عرض/عدّل فأر', --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 = 'cite_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 = {title=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