{{Legend3|color|Article code|Article name}}
{{Legend3|yellow|fr|France}}

Produces  fr