RandomImage: Difference between revisions
(Now with a language-dependent implementation, accepting LANGUAGE as a single parameter) |
m (Syntax error, colon was needed) |
||
| Line 1: | Line 1: | ||
{{#switch {{{1}}} | {{#switch: {{{1}}} | ||
| Hebrew = {{RandomImageHE}} | | Hebrew = {{RandomImageHE}} | ||
| {{RandomImageEN}} | | {{RandomImageEN}} | ||
Revision as of 15:28, 10 December 2017
His Divine Grace A.C. Bhaktivedanta Swami Prabhupāda
usage: {{RandomImage|LANGUAGE}}
LANGUAGE: The language of the caption to show. USE: Czech/Bengali/Spanish/Chinese (Traditional)/Hebrew.
English shows without using the parameter, by default.
The direction of the image, is right-aligned or left-aligned, depends on the language given.
For all the languages that are left-to-right, the image is right-aligned and vice versa.