Template:AniDBButton: Difference between revisions

From AniDB
Jump to navigation Jump to search
m (New page: [[image:button {{{1}}}.gif|{{{1}}}]] [http://anidb.net/perl-bin/animedb.pl?show={{{1}}}{{#if:{{{2|}}}|&{{{2|}}}={{{3|}}}{{#if:{{{4|}}}|&{{{4|}}}={{{5|}}}{{#if:{{{6|}}}|&{{{6|}}}={{{7|}}}}}...)
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[image:button {{{1}}}.gif|{{{1}}}]] [http://anidb.net/perl-bin/animedb.pl?show={{{1}}}{{#if:{{{2|}}}|&{{{2|}}}={{{3|}}}{{#if:{{{4|}}}|&{{{4|}}}={{{5|}}}{{#if:{{{6|}}}|&{{{6|}}}={{{7|}}}}}}}}}]<noinclude>[[Category:Template Link]]</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>
{{{{PAGENAME}}/doc}}
[[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!