Template:AniDBButton/doc: Difference between revisions

Jump to navigation Jump to search
m
Are there more valid buttons, excepting signup and profile?
m (Are there more valid buttons, excepting signup and profile?)
 
Line 1: Line 1:
{{TOCright}}
This template generates a button and a link to <tt>animedb.pl</tt>.
This template generates a button and a link to <tt>animedb.pl</tt>.
The last item is used for the displayed name.
The last parameter is used as display name.


==Alternative names==
==Alternative names==
* {{m|button}} is the short syntax name
* {{m|button}} - The short template name.
* {{m|AniDBButton}} is the full syntax name
* {{m|AniDBButton}} - The full template name.


==Syntax==
==Syntax==
;<nowiki>{{AniDBButton|signup}}</nowiki>
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}}
{{AniDBButton|signup}}


;<nowiki>{{AniDBButton|profile|click here}}</nowiki>
<nowiki>{{AniDBButton|profile|Your Profile page on AniDB!}}</nowiki>
{{AniDBButton|profile|click here}}
{{AniDBButton|profile|Your Profile page on AniDB!}}
1,633

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.