Template:AniDBButton/doc: Difference between revisions
Jump to navigation
Jump to search
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!}} |
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:
- {{AniDBButton|<button>}} - Name of the button.
- {{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}}
{{AniDBButton|profile|Your Profile page on AniDB!}}