1,633
edits
mNo edit summary |
(Example output should not differ from the code used, this confuses the way the template actually works. Added a note on how explicit link names can be set (as a test).) |
||
Line 8: | Line 8: | ||
==Syntax== | ==Syntax== | ||
;<nowiki>{{AniDBLink|main}}</nowiki> | ;<nowiki>{{AniDBLink|main}}</nowiki> | ||
{{AniDBLink|main}} | {{AniDBLink|main}} | ||
;<nowiki>{{AniDBLink|main|Main}}</nowiki> | ;<nowiki>{{AniDBLink|main|Main}}</nowiki> | ||
{{AniDBLink|main|Main | {{AniDBLink|main|Main}} | ||
;<nowiki>{{AniDBLink|admin|adm|user}}</nowiki> | ;<nowiki>{{AniDBLink|admin|adm|user}}</nowiki> | ||
{{AniDBLink|admin|adm|user}} | {{AniDBLink|admin|adm|user}} | ||
;<nowiki>{{AniDBLink|anime|do.random|1|Random}}</nowiki> | ;<nowiki>{{AniDBLink|anime|do.random|1|Random anime}}</nowiki> | ||
{{AniDBLink|anime|do.random|1| | {{AniDBLink|anime|do.random|1|Random anime}} | ||
;<nowiki>{{AniDBLink|animelist|orderby.name|0.1|noalias|1|anime without synonyms}}</nowiki> | ;<nowiki>{{AniDBLink|animelist|orderby.name|0.1|noalias|1|anime without synonyms}}</nowiki> | ||
{{AniDBLink|animelist|orderby.name|0.1|noalias|1|anime without synonyms}} | {{AniDBLink|animelist|orderby.name|0.1|noalias|1|anime without synonyms}} | ||
{{eyecatch|Note|When adding '''<nowiki>|parameter|value</nowiki>''' pair(s), e.g. <nowiki>adm|user</nowiki> in <nowiki>{{AniDBLink|admin|adm|user}}</nowiki>, the link will be '''named''' after the last '''value'''!<br>Define your own '''link name''' by appending another parameter, see '''<nowiki>|Random anime</nowiki>''' or '''<nowiki>|anime without synonyms</nowiki>''' in above examples.}} |
edits