254
edits
Line 8: | Line 8: | ||
==Sample patters== | ==Sample patters== | ||
'''English anime title with fallback''' | |||
<pre> | |||
set('atitle', at('en')) | |||
if(length(atitle)=0, set('atitle', at('x-jat'))) | |||
if(length(atitle)=0, set('atitle', at('x-jat', 'short'))) | |||
if(length(atitle)=0, set('atitle', at('ja'))) | |||
</pre> | |||
|- valign="top" | |- valign="top" | ||
|Japanese transcription anime<br> title with fallback||<code>set('atitle', at('x-jat'))<br>if(length(atitle)=0, set('atitle', at('x-jat', 'short')))<br>if(length(atitle)=0, set('atitle', at('en')))</code> | |Japanese transcription anime<br> title with fallback||<code>set('atitle', at('x-jat'))<br>if(length(atitle)=0, set('atitle', at('x-jat', 'short')))<br>if(length(atitle)=0, set('atitle', at('en')))</code> |
edits