iI am from germanyGermany:
-Spitzname
- Spitzname
that'sThat's exactly what you are looking for. MaddieMaddie is a SpitznameSpitzname for Madeline. You only call the person by his/her Spitznametheir Spitzname when you are a good friend of the person. A Spitzname can be without any relation to the name. For example Madelines SpitznameSpitzname can aswellas well be whateveryouwant.
OpaOpa for example is a Kosename for GroßvaterGroßvater. Like papa for father.
-Neckname -Scherzname -Spottname
- Neckname
- Scherzname
- Spottname
iI never used any of these and iI never heard someone using them.