254
edits
Line 24: | Line 24: | ||
|File version||<code>set('version', if(F.Version>1, 'v'+F.Version, ''))</code> | |File version||<code>set('version', if(F.Version>1, 'v'+F.Version, ''))</code> | ||
|- valign="top" | |- valign="top" | ||
|Padded episode number|| | |Padded episode number||<pre>set('mepno', max(A.TotalEpisodeCount, E.EpisodeTypeCount)) | ||
set('epno', padl(E.EpisodeNo, max(1, length(mepno)), '0')) | set('epno', padl(E.EpisodeNo, max(1, length(mepno)), '0')) | ||
if(E.TypeId=2, set('epno', 'S'+epno)) | if(E.TypeId=2, set('epno', 'S'+epno)) | ||
Line 30: | Line 30: | ||
if(E.TypeId=4, set('epno', 'T'+epno)) | if(E.TypeId=4, set('epno', 'T'+epno)) | ||
if(E.TypeId=5, set('epno', 'P'+epno)) | if(E.TypeId=5, set('epno', 'P'+epno)) | ||
if(E.TypeId=6, set('epno', 'O'+epno))</pre | if(E.TypeId=6, set('epno', 'O'+epno))</pre> | ||
|- valign="top" | |- valign="top" | ||
|First letter for organizing<br>by letter||<code>set('head', copy(atitle, 1, 1))<br>if(numeric(head), set('head', '0-9'))</code> | |First letter for organizing<br>by letter||<code>set('head', copy(atitle, 1, 1))<br>if(numeric(head), set('head', '0-9'))</code> |
edits