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 | |Padded episode number||<code><pre>set('mepno', max(A.TotalEpisodeCount, E.EpisodeTypeCount)) | ||
set('epno', padl(E.EpisodeNo, max(1, length(mepno)), '0')) | |||
if(E.TypeId=2, set('epno', 'S'+epno)) | |||
if(E.TypeId=3, set('epno', 'C'+epno)) | |||
if(E.TypeId=4, set('epno', 'T'+epno)) | |||
if(E.TypeId=5, set('epno', 'P'+epno)) | |||
if(E.TypeId=6, set('epno', 'O'+epno))</pre></code> | |||
|- 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