Open main menu

This template requires the following improvements:

  • random number of translations, including no translation at all (at the moment: exactly one translation)
  • replacement of the language codes by language names (e.g. "de" by "deutsch")
  • the description could be optional
  • there could be optional comments
  • could sort in language subcategories of Images containing text available in image description according to lang1 parameter

It is written in HTML instead of wikitext, because otherwise it would not work in some places (such as this page).


When the original language is German and the translation is English, the template is used like this:

{{slogan|caption= DESCRIPTION
|lang1=de |text1= ORIGINAL TEXT
|lang2=en |text2= TRANSLATED TEXT}}

Example for this image:

{{slogan|caption= slogan on the wall
|lang1=de |text1= JEDER PATRIOTISCHE DEUTSCHE WÄHLT<br>DIE KANDIDATEN DER [[:de:Nationale Front (DDR)|NATIONALEN FRONT]]<br>DES [[:de:Deutsche Demokratische Republik|DEMOKRATISCHEN DEUTSCHLAND]]
|lang2=en |text2= EVERY PATRIOTIC GERMAN VOTES FOR<br>THE CANDIDATES OF THE [[w:National Front (East Germany)|NATIONAL FRONT]]<br>OF [[w:East Germany|THE DEMOCRATIC GERMANY]]}}

This code gives the following result:


slogan on the wall
de en
JEDER PATRIOTISCHE DEUTSCHE WÄHLT
DIE KANDIDATEN DER NATIONALEN FRONT
DES DEMOKRATISCHEN DEUTSCHLAND
EVERY PATRIOTIC GERMAN VOTES FOR
THE CANDIDATES OF THE NATIONAL FRONT
OF THE DEMOCRATIC GERMANY