Template:AniDBShortLink/doc: Difference between revisions

From AniDB
Jump to navigation Jump to search
(add "anidb" as a short name alias for the template)
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:


==Alternative names==
==Alternative names==
* {{m|a|<aid>}} - Special alias for anime IDs, <ID> = "a" + <aid>.
* {{m|a|<aID>}} - Special alias for anime IDs, <ID> = "a" + <aID>.
* {{m|short}} - The short template name.
* {{m|short}} - The short template name.
* {{m|anidb}} - Alternate short template name.
* {{m|AniDBShortLink}} - The full template name.
* {{m|AniDBShortLink}} - The full template name.


Line 18: Line 19:
                 '''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!  
   
   
     '''<name>'''  =  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==

Latest revision as of 00:14, 6 September 2022

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.
  • {{anidb}} - Alternate 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)