Template:AniDBShortLink/doc: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
Line 10: Line 10:
==Syntax==
==Syntax==
The template can have '''1''' to '''3 parameters''':
The template can have '''1''' to '''3 parameters''':
#{{m|AniDBShortLink|<animeID>}} - Link to anime via anime ID number.
#{{m|AniDBShortLink|<ID>}} - Link to anime related ID number.
#{{m|AniDBShortLink|<animeID>|<anime>}} - "Official" name of the anime.
#{{m|AniDBShortLink|<ID>|<anime>}} - "Official" name of ID.
#{{m|AniDBShortLink|<animeID>|<anime>|<altname>}} - Alternate anime name.
#{{m|AniDBShortLink|<ID>|<anime>|<altname>}} - Alternate ID (English) name.


  '''<animeID>'''  =  "a" + anime ID number used to reference AniDB anime.
      '''<ID>'''  =  '''a'''  + anime ID number     - used to reference AniDB anime.
     '''<anime>'''  =  Official name of the anime, used as link name.
                '''cr''' + creator ID number  - used to reference e.g. a AniDB seiyuu.
   '''<altname>'''  =  Mention a better known (English) alternate anime name.
                '''ch''' + character ID number - used to reference AniDB anime character.
                    Many more IDs mentioned on [[Short links]] page!
     '''<anime>'''  =  Official name of the "ID related page", used as link name.
   '''<altname>'''  =  Mention a better-known (English) alternate name.
 
{{eyecatch|More IDs|For a complete list of list of '''AniDB short links''' and appropriate ID prefixes see the [[Short links]] page.}}


==Real-World Examples==
==Real-World Examples==

Revision as of 07:59, 7 May 2009

This template generates a short link to AniDB. The last parameter is used as link name name (unless you define the <altname>).

Alternative names

  • {{short}} - The short template name.
  • {{AniDBShortLink}} - The full template name.

Syntax

The template can have 1 to 3 parameters:

  1. {{AniDBShortLink|<ID>}} - Link to anime related ID number.
  2. {{AniDBShortLink|<ID>|<anime>}} - "Official" name of ID.
  3. {{AniDBShortLink|<ID>|<anime>|<altname>}} - Alternate ID (English) name.
      <ID>  =  a  + anime ID number     - used to reference AniDB anime.
               cr + creator ID number   - used to reference e.g. a AniDB seiyuu.
               ch + character ID number - used to reference AniDB anime character.
                    Many more IDs mentioned on Short links page! 

   <anime>  =  Official name of the "ID related page", used as link name.
 <altname>  =  Mention a better-known (English) alternate name.
More IDs For a complete list of list of AniDB short links and appropriate ID prefixes see the Short links page.

Real-World Examples

{{AniDBShortLink|a979}}

a979

{{AniDBShortLink|a979|Hagane no Renkinjutsushi}}

Hagane no Renkinjutsushi

{{AniDBShortLink|cr186|Minami Omi}}

Minami Omi

{{AniDBShortLink|ch2979|Tsuchimiya Kagura}}

Tsuchimiya Kagura

{{AniDBShortLink|a979|Hagane no Renkinjutsushi|Fullmetal Alchemist}}

Hagane no Renkinjutsushi (Fullmetal Alchemist)