FANDOM


PixivLinker is a jQuery snippet to instantly inject a link to tag pages on Pixiv based on character names. This is useful for anime wikis where users aims to check out artworks of certain characters on this popular artwork site. 

Preparation

Assuming that your anime/manga related wiki are having character infoboxes on the articles, add an id attribute of #charjpname to the element of the infobox that has the Japanese name (for best results on Pixiv).

Example:

Before:

{|
| style="" | JP Name
| style="color:#000;" | {{{JP|Unknown}}}
|}

After:

{|
| style="" | JP Name
| id="charjpname" style="color:#000;" | {{{JP|Unknown}}}
|}

Note: It might not work instantly if you change it in the template, purging the page is highly recommended.

Installation

Add this to your own Javascript page: Special:Mypage/global.js, or if you have permission on your wiki, you can add it to common.js on your wiki.

importScriptPage( 'PixivLinker/code.js', 'dev' );

Source Code

See code.js

License

Licensed as Public Domain. Do whatever you want! :) Leave message at Talk:PixivLinker if you encounter any problems.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.