Template:AniDBShortLink/doc: Difference between revisions

m
no edit summary
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}}
1,633

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.