{# shiori.html 11/25/2012 jichi # @param language unicode not used # @param text unicode not None The orignal text to translate # @param feature unicode or None # @param kanji [unicode] or None # @param tuples [unicode word, unicode html] # @param eb_strings [unicode] # # Escaping is disabled to improve performance. -#} %set gg = "https://www.google.com/?#hl=ja&safe=off&q=" %set bd = "https://www.baidu.com/s?wd=" %if feature
{{feature}}
%endif

+google {{' '}}+baidu

%if kanji

% for line in kanji

{{line}}
% endfor

%endif %if tuples % for word, html in tuples

【{{word}}】 {{' '}}+gg {{' '}}+bd
{{html}}

% endfor %endif %if eb_strings
% for s in eb_strings

{{s}}

% endfor %endif