Template:AniDBShortLink: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
m (Move the noinclude so that the template doesn't add an extraneous linefeed when used. Should fix some display issues some pages currently have.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>[http://anidb.net/{{{1}}} {{{2|{{{1}}}}}}] {{#if: {{{3|}}}|<font color=#000077>({{{3}}})</font>|}}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Template Link]]</noinclude>
<includeonly>[https://anidb.net/{{{1}}} {{{2|{{{1}}}}}}] {{#if: {{{3|}}}|<font color=#000077>({{{3}}})</font>|}}</includeonly><noinclude>
{{{{PAGENAME}}/doc}}[[Category:Template Link]]</noinclude>

Latest revision as of 20:34, 7 January 2020


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)