Template:A: Difference between revisions

From AniDB
Jump to navigation Jump to search
m (Code is less elegant, but fixes the issue that {{a|979}} would yield [1] as link name.)
mNo edit summary
Line 1: Line 1:
{{#if: {{{3|}}}| {{AniDBShortLink|a{{{1}}}|{{{2}}}|{{{3}}}}}| {{#if: {{{2|}}}| {{AniDBShortLink|a{{{1}}}|{{{2}}}}}| {{#if: {{{1|}}}| {{AniDBShortLink|a{{{1}}}}}|}} }} }}<noinclude>
{{#if: {{{3|}}}| {{AniDBShortLink|a{{{1}}}|{{{2}}}|{{{3}}}}}| {{#if: {{{2|}}}| {{AniDBShortLink|a{{{1}}}|{{{2}}}}}| {{#if: {{{1|}}}| {{AniDBShortLink|a{{{1}}}}}|}} }} }}<noinclude>


{{m|a}} template is a special, anime ID specific alias for the {{m|AniDBShortLink}} template.
The {{m|a}} template is a special, anime ID specific alias for the {{m|AniDBShortLink}} template.


==Examples==
==Examples==
  <nowiki>{{a|979}}</nowiki>
  <nowiki>{{a|979}} is equivalent to {{AniDBShortLink|a979}}</nowiki>  
{{a|979}}
{{a|979}} is equivalent to {{AniDBShortLink|a979}}


  <nowiki>{{a|979|Hagane no Renkinjutsushi}}</nowiki>
  <nowiki>{{a|979|Hagane no Renkinjutsushi}} = {{AniDBShortLink|a979|Hagane no Renkinjutsushi}}</nowiki>
{{a|979|Hagane no Renkinjutsushi}}
{{a|979|Hagane no Renkinjutsushi}} = {{AniDBShortLink|a979|Hagane no Renkinjutsushi}}


  <nowiki>{{a|979|Hagane no Renkinjutsushi|Fullmetal Alchemist}}</nowiki>
  <nowiki>{{a|979|Hagane no Renkinjutsushi|Fullmetal Alchemist}} = {{AniDBShortLink|a979|Hagane no Renkinjutsushi|Fullmetal Alchemist}}</nowiki>
{{a|979|Hagane no Renkinjutsushi|Fullmetal Alchemist}}
{{a|979|Hagane no Renkinjutsushi|Fullmetal Alchemist}} = {{AniDBShortLink|a979|Hagane no Renkinjutsushi|Fullmetal Alchemist}}


[[Category:Template Link]]</noinclude>
[[Category:Template Link]]</noinclude>

Revision as of 09:26, 7 May 2009


The {{a}} template is a special, anime ID specific alias for the {{AniDBShortLink}} template.

Examples

{{a|979}} is equivalent to {{AniDBShortLink|a979}} 

a979 is equivalent to a979

{{a|979|Hagane no Renkinjutsushi}} = {{AniDBShortLink|a979|Hagane no Renkinjutsushi}}

Hagane no Renkinjutsushi = Hagane no Renkinjutsushi

{{a|979|Hagane no Renkinjutsushi|Fullmetal Alchemist}} = {{AniDBShortLink|a979|Hagane no Renkinjutsushi|Fullmetal Alchemist}}

Hagane no Renkinjutsushi (Fullmetal Alchemist) = Hagane no Renkinjutsushi (Fullmetal Alchemist)