Template:AniDBButton/doc: Difference between revisions

From AniDB
Jump to navigation Jump to search
(New page: ==Documentation for this template== This template generates a button and a link to animedb.pl. The last item is used for the displayed name. ;<nowiki>{{AniDBLink|signup}}</nowiki> {{AniDB...)
 
m (Are there more valid buttons, excepting signup and profile?)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Documentation for this template==
{{TOCright}}
This template generates a button and a link to animedb.pl.
The last item is used for the displayed name.


;<nowiki>{{AniDBLink|signup}}</nowiki>
This template generates a button and a link to <tt>animedb.pl</tt>.
{{AniDBLink|signup}}
The last parameter is used as display name.


;<nowiki>{{AniDBLink|profile|click here}}</nowiki>
==Alternative names==
{{AniDBLink|profile|click here}}
* {{m|button}} - The short template name.
* {{m|AniDBButton}} - The full template name.
 
==Syntax==
The template can have '''1''' or '''2 parameters''':
#{{m|AniDBButton|<button>}} - Name of the button.
#{{m|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==
<nowiki>{{AniDBButton|signup}}</nowiki>
{{AniDBButton|signup}}
 
<nowiki>{{AniDBButton|profile|Your Profile page on AniDB!}}</nowiki>
{{AniDBButton|profile|Your Profile page on AniDB!}}

Latest revision as of 23:30, 6 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!