Template:AniDBShortLink/doc: Difference between revisions

From AniDB
Jump to navigation Jump to search
(add "anidb" as a short name alias for the template)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Documentation for this template==
{{TOCright}}
This template generates a short link to AniDB.
 
The last item is used for the displayed name.
This template generates a [[Short links|short link]] to AniDB.
The last parameter is used as link name name (unless you define the <tt><altname></tt>).


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


==Syntax==
==Syntax==
;<nowiki>{{AniDBShortLink|a1}}</nowiki>
The template can have '''1''' to '''3 parameters''':
{{AniDBShortLink|a1}}
#{{m|AniDBShortLink|<ID>}} - Link to anime related ID number.
#{{m|AniDBShortLink|<ID>|<name>}} - "Official" name of ID.
#{{m|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.
 
{{eyecatch|More IDs|For a complete list of '''AniDB short links''' and appropriate ID prefixes see the [[Short links]] page.}}
 
==Real-World Examples==
<nowiki>{{AniDBShortLink|a979}}</nowiki>
{{AniDBShortLink|a979}}
 
<nowiki>{{AniDBShortLink|a979|Hagane no Renkinjutsushi}}</nowiki>
{{AniDBShortLink|a979|Hagane no Renkinjutsushi}}
 
<nowiki>{{AniDBShortLink|cr186|Minami Omi}}</nowiki>
{{AniDBShortLink|cr186|Minami Omi}}
 
<nowiki>{{AniDBShortLink|ch2979|Tsuchimiya Kagura}}</nowiki>
{{AniDBShortLink|ch2979|Tsuchimiya Kagura}}


;<nowiki>{{AniDBShortLink|a1|anime number 1}}</nowiki>
<nowiki>{{AniDBShortLink|a979|Hagane no Renkinjutsushi|Fullmetal Alchemist}}</nowiki>
{{AniDBShortLink|a1|anime number 1}}
{{AniDBShortLink|a979|Hagane no Renkinjutsushi|Fullmetal Alchemist}}

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)