Template:AniDBShortLink/doc: Difference between revisions

From AniDB
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{TOCright}}
This template generates a short link to AniDB.
This template generates a short link to AniDB.
The last item is used for the displayed name.
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|short}} - The short template name.
* {{m|AniDBShortLink}} is the full syntax name
* {{m|AniDBShortLink}} - The full template name.


==Syntax==
==Syntax==
;<nowiki>{{AniDBShortLink|a979}}</nowiki>
The template can have '''1''' or '''3 parameters''':
#{{m|AniDBShortLink|<animeID>}} - Link to anime via anime ID number.
#{{m|AniDBShortLink|<animeID>|<anime>}} - "Official" name of the anime.
#{{m|AniDBShortLink|<animeID>|<anime>|<altname>}} - Alternate anime name.
 
  '''<animeID>'''  =  "a" + anime ID number used to reference AniDB animes.
    '''<anime>'''  =  Official name of the anime, used as link name.
  '''<altname>'''  =  Mention a better known (English) alternate anime name.
 
==Real-World Examples==
<nowiki>{{AniDBShortLink|a979}}</nowiki>
{{AniDBShortLink|a979}}
{{AniDBShortLink|a979}}


;<nowiki>{{AniDBShortLink|a979|Hagane no Renkinjutsushi}}</nowiki>
<nowiki>{{AniDBShortLink|a979|Hagane no Renkinjutsushi}}</nowiki>
{{AniDBShortLink|a979|Hagane no Renkinjutsushi}}
{{AniDBShortLink|a979|Hagane no Renkinjutsushi}}


;<nowiki>{{AniDBShortLink|a979|Hagane no Renkinjutsushi|Fullmetal Alchemist}}</nowiki>
<nowiki>{{AniDBShortLink|a979|Hagane no Renkinjutsushi|Fullmetal Alchemist}}</nowiki>
{{AniDBShortLink|a979|Hagane no Renkinjutsushi|Fullmetal Alchemist}}
{{AniDBShortLink|a979|Hagane no Renkinjutsushi|Fullmetal Alchemist}}

Revision as of 23:17, 6 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 or 3 parameters:

  1. {{AniDBShortLink|<animeID>}} - Link to anime via anime ID number.
  2. {{AniDBShortLink|<animeID>|<anime>}} - "Official" name of the anime.
  3. {{AniDBShortLink|<animeID>|<anime>|<altname>}} - Alternate anime name.
 <animeID>  =  "a" + anime ID number used to reference AniDB animes.
   <anime>  =  Official name of the anime, used as link name.
 <altname>  =  Mention a better known (English) alternate anime name.

Real-World Examples

{{AniDBShortLink|a979}}

a979

{{AniDBShortLink|a979|Hagane no Renkinjutsushi}}

Hagane no Renkinjutsushi

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

Hagane no Renkinjutsushi (Fullmetal Alchemist)