Template:AniDBButton: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 1: Line 1:
[[image:button {{{1}}}.gif|{{{1}}}]] [http://anidb.net/perl-bin/animedb.pl?show={{{1}}}{{#if:{{{3|}}}|&{{{2|}}}={{{3|}}}}} {{{4|{{{3|{{{2|{{{1}}}}}}}}}}}}]<noinclude>
<includeonly>[[image:button {{{1}}}.gif|{{{1}}}]] [http://anidb.net/perl-bin/animedb.pl?show={{{1}}}{{#if:{{{3|}}}|&{{{2|}}}={{{3|}}}}} {{{4|{{{3|{{{2|{{{1}}}}}}}}}}}}]</includeonly><noinclude>
{{ {{TALKPAGENAME}} }}
{{{{PAGENAME}}/doc}}
[[Category:Template Link]]</noinclude>
[[Category:Template Link]]</noinclude>

Latest revision as of 21:58, 5 May 2009


This template generates a button and a link to animedb.pl. The last parameter is used as display name.

Alternative names

  • {{button}} - The short template name.
  • {{AniDBButton}} - The full template name.

Syntax

The template can have 1 or 2 parameters:

  1. {{AniDBButton|<button>}} - Name of the button.
  2. {{AniDBButton|<button>|<name>}} - Naming the link.
  <button>  =  The button names the button image and the created URL link.
               signup  : The signup button / page on AniDB.
               profile : The profile button / page on AniDB.

    <name>  =  Define the link name.

Examples

{{AniDBButton|signup}}

signup signup

{{AniDBButton|profile|Your Profile page on AniDB!}}

profile Your Profile page on AniDB!