1,633
edits
m (Template talk:AniDBButton moved to Template:AniDBButton/doc) |
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 | The last parameter is used as display name. | ||
==Alternative names== | ==Alternative names== | ||
* {{m|button}} | * {{m|button}} - The short template name. | ||
* {{m|AniDBButton}} | * {{m|AniDBButton}} - The full template name. | ||
==Syntax== | ==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}} | {{AniDBButton|signup}} | ||
<nowiki>{{AniDBButton|profile|Your Profile page on AniDB!}}</nowiki> | |||
{{AniDBButton|profile| | {{AniDBButton|profile|Your Profile page on AniDB!}} |
edits