User:Fahrenheit: Difference between revisions

From AniDB
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
------------------ New Anime Page Patterns ------------------
== New Anime Page Patterns and Usage ==
%ann Anime Title (uses default language definitions)
The new anime page can use patterns to format your ed2k link praticaly any way you like, just use the 32 currently available formats to that end.
%anja Anime Title japkanji (defaults to %ann)
 
%anro Anime Title romaji (default fallback language)
----
%anen Anime title english (defaults to %ann)
==== Patterns available ====
%epn Episode Title (uses default language definitions)
 
%epja Episode title japkanji (defaults to %epn)
; %ann : Anime Title (uses default language definitions)
%epro Episode title romaji (defaults to %epn)
; %anja : Anime Title japkanji (defaults to %ann)
%epen Episode title english (default fallback language)
; %anro : Anime Title romaji (default fallback language)
%enr Episode number
; %anen : Anime title english (defaults to %ann)
%pn Part name ("EP" if anime.type != 4 || "PA" otherwise)
; %epn : Episode Title (uses default language definitions)
%pnf Full part name ("Episode" if anime.type != 4 || "Part" otherwise)
; %epja : Episode title japkanji (defaults to %epn)
%raw if file is raw (no subtitles outputs RAW)
; %epro : Episode title romaji (defaults to %epn)
%crc Crc sum or INVALID if crc invalid
; %epen : Episode title english (default fallback language)
%ver Version string (only if version > 1)
; %enr : Episode number
%cen Censored string
; %pn : Part name ("EP" if anime.type != 4 || "PA" otherwise)
%dub Dub languages (ALL OF THEM, comma separated)
; %pnf : Full part name ("Episode" if anime.type != 4 || "Part" otherwise)
%sub Sub languages (ALL OF THEM, comma separated)
; %raw : if file is raw (no subtitles outputs RAW)
%lang dub.sub_jp+.de+ (current db format)
; %crc : Crc sum or INVALID if crc invalid
%langs dub.sub_jp,de,en.de,en (extended format)
; %ver : Version string (only if version > 1)
%grp Group short name
; %cen : Censored string
%grn Group full name
; %dub : Dub languages (ALL OF THEM, comma separated)
%qual Quality
; %sub : Sub languages (ALL OF THEM, comma separated)
%src Source
; %lang : dub.sub_jp+.de+ (current db format)
%res Resolution
; %langs : dub.sub_jp,de,en.de,en (extended format)
%vid Video codec
; %grp : Group short name
%eps Total number of episodes
; %grn : Group full name
%type [unknown, TV, OVA, Movie, Other, web]
; %qual : Quality
%fid File ID
; %src : Source
%aid Anime ID
; %res : Resolution
%eid Episode ID
; %vid : Video codec
%gid Group ID
; %eps : Total number of episodes
; %type : [unknown, TV, OVA, Movie, Other, web]
; %fid : File ID
; %aid : Anime ID
; %eid : Episode ID
; %gid : Group ID
----
==== *If* like cases ====
 
Currently there's a way to make something like if cases, imagine that you want to show that a file is raw you could do something like this:
<tt>[%raw] %ann - %enr - %epn</tt>
But that would show for files that weren't raw some thing like this: <i>"[] Full Metal Panic! - 01 - The guy I kinda Like is a Sergeant"</i>.
 
What you can use is '<' and '>' pairs, if a pattern inside of '<' and '>' returns "" the entire text inside of the '<' and '>' would simply not be shown, so if you changed your tag to be something like this:
<tt><[%raw] > %ann - %enr - %epn</tt>
For non raw files it would simply output this: <i>"Full Metal Panic! - 01 - The guy I kinda Like is a Sergeant"</i>

Revision as of 15:40, 5 July 2006

New Anime Page Patterns and Usage

The new anime page can use patterns to format your ed2k link praticaly any way you like, just use the 32 currently available formats to that end.


Patterns available

%ann
Anime Title (uses default language definitions)
%anja
Anime Title japkanji (defaults to %ann)
%anro
Anime Title romaji (default fallback language)
%anen
Anime title english (defaults to %ann)
%epn
Episode Title (uses default language definitions)
%epja
Episode title japkanji (defaults to %epn)
%epro
Episode title romaji (defaults to %epn)
%epen
Episode title english (default fallback language)
%enr
Episode number
%pn
Part name ("EP" if anime.type != 4 || "PA" otherwise)
%pnf
Full part name ("Episode" if anime.type != 4 || "Part" otherwise)
%raw
if file is raw (no subtitles outputs RAW)
%crc
Crc sum or INVALID if crc invalid
%ver
Version string (only if version > 1)
%cen
Censored string
%dub
Dub languages (ALL OF THEM, comma separated)
%sub
Sub languages (ALL OF THEM, comma separated)
%lang
dub.sub_jp+.de+ (current db format)
%langs
dub.sub_jp,de,en.de,en (extended format)
%grp
Group short name
%grn
Group full name
%qual
Quality
%src
Source
%res
Resolution
%vid
Video codec
%eps
Total number of episodes
%type
[unknown, TV, OVA, Movie, Other, web]
%fid
File ID
%aid
Anime ID
%eid
Episode ID
%gid
Group ID

*If* like cases

Currently there's a way to make something like if cases, imagine that you want to show that a file is raw you could do something like this:

[%raw] %ann - %enr - %epn

But that would show for files that weren't raw some thing like this: "[] Full Metal Panic! - 01 - The guy I kinda Like is a Sergeant".

What you can use is '<' and '>' pairs, if a pattern inside of '<' and '>' returns "" the entire text inside of the '<' and '>' would simply not be shown, so if you changed your tag to be something like this:

<[%raw] > %ann - %enr - %epn

For non raw files it would simply output this: "Full Metal Panic! - 01 - The guy I kinda Like is a Sergeant"