sandbox
usage:
{{testdoi|10.1016/j.coi.2004.08.001}}
generated link:
https://dx.doi.org/10.1016/j.coi.2004.08.001
basic:
doi:{{{doi|}}}
with nil value warning:
doi:{{{doi|{{orange|doi value required}}}}}