Content:File relations: Difference between revisions

no edit summary
(→‎File-File Relations: chapter linkers)
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
==Overview==
File relations, like the name implies, are relations between files on AniDB. There are two types of file relations; [[#File-File Relations|File-File]] and [[#File-Ep Relations|File-Ep]].
File relations, like the name implies, are relations between files on AniDB. There are two types of file relations; [[#File-File Relations|File-File]] and [[#File-Ep Relations|File-Ep]].
The former tells how two different files relate and the later tells how a file relates to different episodes.
The former tells how two different files relate and the later tells how a file relates to different episodes.
Line 15: Line 16:
# On the Add File-Ep Relation page fill the percentage of the given episode the file covers and select the episode
# On the Add File-Ep Relation page fill the percentage of the given episode the file covers and select the episode
# Press "Add" and you are done.
# Press "Add" and you are done.
=== Percentage ranges for file-ep relations ===
File-episode relations follow the rules of [https://en.wikipedia.org/wiki/Number_line number lines] for all [https://en.wikipedia.org/wiki/Integer integer numbers] in the inclusive range <code>[0,100]</code>. In simpler terms, ranges should be directly connected. Examples:
  2 file release, each covering 1/2 of the episode:
  [0,50] --> 0% to 50% for part 1
  [50,100] --> 50% to 100% for part 2
  3 file release, each covering 1/3 of the episode:
  [0,33] --> 0% to 33% for part 1
  [33,67] --> 33% to 67% for part 2
  [67,100] --> 67% to 100% for part 3
  4 file release, each covering 1/4 of the episode:
  [0,25] --> 0% to 25% for part 1
  [25,50] --> 25% to 50% for part 2
  [50,75] --> 50% to 75% for part 3
  [75,100] --> 75% to 100% for part 4
==== Explanation of number lines when used for AniDB episode ranges ====
[[File:Number line 4 inclusive.png|border]]<br>
'''Correct:''' Ranges cover the entire number line when they are directly connected, as is the case with <code>[0,25]</code>, <code>[25,50]</code>, <code>[50,75]</code>, and <code>[75,100]</code>; there are no gaps in the number line.<br><br>
[[File:Number line 4 exclusive.png|border]]<br>
'''Incorrect:''' If the ranges are not directly connected, as in the case with <code>[0,25]</code>, <code>[26,50]</code>, <code>[51,75]</code>, and <code>[76,100]</code>, the values in the range <code>(25,26)</code> (e.g. 25.00000000001 to 25.99999999999), <code>(50,51)</code>, and <code>(75,76)</code> would be incorrectly excluded.


==File-File Relations==
==File-File Relations==
Line 24: Line 47:
* '''external-sub-for''';  to relate a subtitle file to its respective video file.
* '''external-sub-for''';  to relate a subtitle file to its respective video file.
* '''newer-ver-of'''; to indicate that there's a newer version of a given file (kind of like the current versioning system).
* '''newer-ver-of'''; to indicate that there's a newer version of a given file (kind of like the current versioning system).
* '''bundle'''; to indicate that a group of two, or more, files are related, and normally, needed in group.
* <s>'''bundle'''; to indicate that a group of two, or more, files are related, and normally, needed in group.</s> Deprecated
* '''op/end-for'''; indicates that a given video file is an opening or ending to another video file.
* '''op/end-for'''; indicates that a given video file is an opening or ending to another video file.
* '''external-audio-for''' ; to relate an audio file to it's respective video file.
* '''external-audio-for''' ; to relate an audio file to it's respective video file.
Line 40: Line 63:
* '''external-audio-for'''; can only be used to relate a ''audio'' file to a ''video'' file (as in, you need to select the audio file and add a file relation to the video file from within the audio file page).
* '''external-audio-for'''; can only be used to relate a ''audio'' file to a ''video'' file (as in, you need to select the audio file and add a file relation to the video file from within the audio file page).
* '''uses material from'''; can link most filetypes together.
* '''uses material from'''; can link most filetypes together.
* '''chapter-linker for'''; can link most filetypes together.
* '''chapter-linker for'''; can link most filetypes together. Example: {{short|f413388|<nowiki>"Suzumiya Haruhi no Yuuutsu" chapter linker by [Hitsuji]</nowiki>}}
* '''other'''; this one covers every other cases. Though if ''in doubt it's best to ask'' in IRC or in forum.
* '''other'''; this one covers every other cases. Though if ''in doubt it's best to ask'' in IRC or in forum.


staff
1,118

edits

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