Template:Query concept/render text by languange codes

From TDWG Terms Wiki
Jump to: navigation, search

This template renders text by replacing languange codes to natural language:

en: english text,  de: deutscher Text,  ja:和文

becomes something like

<div lang="en" class="hanging-indent">English: english text</div><div lang="de">Deutsch: deutscher Text</div> etc.

Parameters

text 
the text to be rendered (“en: english text, de: deutscher Text, ja:和文”)
languages 
languages to be applied to the text parameter (“en, de, ja” i.e. comma separated)

Dependencies