Template:AniDBShortLink/doc: Difference between revisions

From AniDB
Jump to navigation Jump to search
(5 intermediate revisions by 2 users not shown)
Line 5: Line 5:


==Alternative names==
==Alternative names==
* {{m|a|<aID>}} - Special alias for anime IDs, <ID> = "a" + <aID>.
* {{m|short}} - The short template name.
* {{m|short}} - The short template name.
* {{m|AniDBShortLink}} - The full template name.
* {{m|AniDBShortLink}} - The full template name.
Line 11: Line 12:
The template can have '''1''' to '''3 parameters''':
The template can have '''1''' to '''3 parameters''':
#{{m|AniDBShortLink|<ID>}} - Link to anime related ID number.
#{{m|AniDBShortLink|<ID>}} - Link to anime related ID number.
#{{m|AniDBShortLink|<ID>|<anime>}} - "Official" name of ID.
#{{m|AniDBShortLink|<ID>|<name>}} - "Official" name of ID.
#{{m|AniDBShortLink|<ID>|<anime>|<altname>}} - Alternate ID (English) name.
#{{m|AniDBShortLink|<ID>|<name>|<altname>}} - Alternate ID (English) name.


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


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

Revision as of 15:30, 16 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

  • {{a|<aID>}} - Special alias for anime IDs, <ID> = "a" + <aID>.
  • {{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>|<name>}} - "Official" name of ID.
  3. {{AniDBShortLink|<ID>|<name>|<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 are mentioned on the Short links page! 

    <name>  =  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 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)