I'm using authoryear style (biblatex) and I want to remove "et al" from (in-text) citation while showing only the first author name in it.
But I want to show "et al." in bibliography (maxbibname=3).
\documentclass{article}
\usepackage[style=authoryearcomp,uniquename=false,uniquelist=false,%
maxcitenames=1,maxbibnames=3,sortcites=true,%
firstinits=true,doi=false,url=false,isbn=false,%
hyperref,backend=biber,useprefix]{biblatex}
\DeclareFieldFormat
[article,book,inbook,incollection,inproceedings,patent,thesis,unpublished]
{title}{#1\isdot} %titoli non virgolettati
\DeclareNameAlias{sortname}{last-first} %prima il cognome e poi il nome
\DeclareFieldFormat{journaltitle}{{#1}\isdot}%titolo rivista normale
\DeclareFieldFormat{pages}{#1}% no prefix for the `pages` field in the bibliography
\DeclareFieldFormat[article]{title}{\textit{#1}\isdot}%titolo articolo corsivo
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}%issue tra parentesi\renewcommand*{\bibpagespunct}{\addcolon\space}
\renewcommand{\labelnamepunct}{\addspace}
\renewbibmacro{in:}{%
\ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct}}}%rimuovo l'"In" prima del titolo della rivista
\renewcommand*{\finalnamedelim}{\addcomma\space}%rimuovo l'"and per il nome dell' ultimo autore e separo i nomi con virgole
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
% \setunit*{\adddot}% DELETED
% NEW (optional); there's also \addnbthinspace
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}
\DeclareCiteCommand{\parencite}[\mkbibbrackets]%parentesi quadre
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{postnote}}
\DeclareCiteCommand*{\parencite}[\mkbibbrackets]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{citeyear}}
{\multicitedelim}
{\usebibmacro{postnote}}
\DefineBibliographyStrings{english}{andothers={}}%%%%%%%%%IMPORTANT%%%%%%%%%%%
\renewcommand*{\nameyeardelim}{\addcomma\addspace}%virgola tra autore e anno nella citazione
\renewcommand*{\revsdnamepunct}{}%tolgo virgola tra cognome e nome nella bibliografia
\renewbibmacro*{journal+issuetitle}{% %metto la virgola dopo il nome del journal
\usebibmacro{journal}%
\setunit*{\addcomma\space}%
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addspace}}%
\usebibmacro{volume+number+eid}%
\setunit{\addspace}%
\usebibmacro{issue+date}%
\setunit{\addcolon\space}%
\usebibmacro{issue}%
\newunit}
\renewcommand*{\newunitpunct}{\addcomma\space}%virgola dopo il nome dell'articolo
\renewcommand*{\bibpagespunct}{\addcolon\space}% duepunti dopo issue
\begin{filecontents}{\jobname.bib}
@ARTICLE{key,
author = { {\lowercase{d}}e Gennaro, B. and Gallo, M. and Lanzotti,A. and Mandela,N. },
title = {Metodo di preparazione dell'elaborato di Laurea},
year = {2012},
journal = {Journal of Thesis Preparation},
volume = {14},
number = {3},
pages = {342--351}
}
\end{filecontents}
\begin{document}
\parencite{key}
\printbibliography
\end{document}
With the line \DefineBibliographyStrings{english}{andothers={}} I removed "et al." both from the citation and the bibliography while I wanted to remove it only from the citation (what I need is [de Gennaro, 2012] ) and mantain the "et al." in the bibliography after the first author name if there are more than 3 authors (I need: de Gennaro et al. (2012) .......)

biblatexforget about "et al."s, but Biber has to do sorting and disambiguation and is not that easily fooled. One could cheat and use thealphabeticstyle withmaxalphanames=1and\renewcommand*{\labelalphaothers}{}, plus a labelname format that prints the entire name. But that is hardly nice. – moewe Aug 22 '15 at 10:00\addbibresource{\jobname.bib}after\end{filecontents}. – moewe Aug 22 '15 at 10:43