Template:Jpwiki/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(→Use) |
||
Line 5: | Line 5: | ||
== Use == | == Use == | ||
Simply replace ''kanji''' with the name of the article from [https://ja.wikipedia.org/wiki/メインページ Japanese Wikipedia]. Naturally, Japanese text is used to name various articles in Japanese Wikipedia, but some articles may be linked via alphanumeric article names. The '''article name''' may be used as a substitute to the current article's name. | Simply replace ''kanji''' with the name of the article from [https://ja.wikipedia.org/wiki/メインページ Japanese Wikipedia]. Naturally, Japanese text is used to name various articles in Japanese Wikipedia, but some articles may be linked via alphanumeric article names. The '''article name''' may be used as a substitute to the current article's name. | ||
=== Link space problem === | |||
'''Example:''' | |||
<pre>{{jpwiki|平和 (麻雀)}}</pre> | |||
{{jpwiki|平和 (麻雀)}} | |||
Apparently, a problem with this template exists, when the article name (kanji) has a space in between characters. This can be solved by using the underscore "_" as a substitute for a space. | |||
'''Fix:''' | |||
<pre>{{jpwiki|平和_(麻雀)}}</pre> | |||
{{jpwiki|平和_(麻雀)}} | |||
[[Category:Format templates]] | [[Category:Format templates]] |
Latest revision as of 02:28, 25 March 2015
{{jpwiki|kanji|article name}}
Use
Simply replace kanji' with the name of the article from Japanese Wikipedia. Naturally, Japanese text is used to name various articles in Japanese Wikipedia, but some articles may be linked via alphanumeric article names. The article name may be used as a substitute to the current article's name.
Link space problem
Example:
{{jpwiki|平和 (麻雀)}}
- Jpwiki/doc in Japanese Wikipedia
Apparently, a problem with this template exists, when the article name (kanji) has a space in between characters. This can be solved by using the underscore "_" as a substitute for a space.
Fix:
{{jpwiki|平和_(麻雀)}}
- Jpwiki/doc in Japanese Wikipedia