Template:Japanese subscript

From Detective Conan Wiki
(Redirected from Template:Jp)
Documentation icon Template documentation[create]

This template is a shortcut for applying the Template:Lang Japanese template, and the HTML tag <small>. Since immediate and selectable tooltips are not enabled in this wiki, the Template:Bracket does not operate as well as in other Detective Conan wikis such as Conanpedia. As such, when writing biography (mainly) for staff pages, corresponding Japanese terminologies/appendages need to be added beside the English translation. However, Japanese characters of normal sizes sabotages the website's display slightly, so a small Japanese text is conducted.

The original combination of tags to attain same effect is: <small>({{lang|ja|扇沢 延男}})</small>. This template has been in need since the staff pages expanded, as there are many pages from the staff section require this feature. Note: there is no need to insert full name of this template ("Japanese subscript") when calling this subroutine, a shorthand version "Jp" is preferred.

By utilising this template, the source code of each staff page will become much cleaner and user/editor friendly; meanwhile, it also saves the number of bytes contained in a single page too! Take the Junichi Miyashita page for example, by replacing everything with the current template, it reduces 420 bytes in total!

Hirohito Ochi {{jp|越智 浩仁}} directed the anime under alias Koujin Ochi {{jp|於地 紘仁}}.

Results in
Hirohito Ochi (越智 浩仁) directed the anime under alias Koujin Ochi (於地 紘仁).