AniDB O'Matic - Documentation: Local file renaming: Difference between revisions

Line 68: Line 68:
'''Group name'''
'''Group name'''
<pre>
<pre>
set('groupname', if(F.GroupId>0, if(length(G.Name)>0, G.Name, G.Shortname), 'no group'))
set('groupname', if(G, if(length(G.Name)>0, G.Name, G.Shortname), 'no group'))
set('groupname', if(length(groupname)>0, '['+groupname+']'))
set('groupname', if(length(groupname)>0, '['+groupname+']'))
</pre>
</pre>
'''Group short name'''
'''Group short name'''
<pre>
<pre>
set('groupname', if(F.GroupId>0, if(length(G.Shortname)>0, G.Shortname, G.Name), 'no group'))
set('groupname', if(G, if(length(G.Shortname)>0, G.Shortname, G.Name), 'no group'))
set('groupname', if(length(groupname)>0, '['+groupname+']'))
set('groupname', if(length(groupname)>0, '['+groupname+']'))
</pre>
</pre>
254

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.