Template:Jpwiki: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
m (Proposed solution, but {{{2|}}} is not accepted.)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
* {{relink|[[https://ja.wikipedia.org/wiki/{{{1}}} {{{1|{{{2|}}}}}}]]
* {{relink|[https://ja.wikipedia.org/wiki/{{{1}}} {{{1|{{{2|}}}}}}]
:'''{{PAGENAME}}''' in [https://ja.wikipedia.org Japanese Wikipedia]}}
:'''{{{2|{{PAGENAME}}}}}''' in [https://ja.wikipedia.org Japanese Wikipedia]}}
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Latest revision as of 18:31, 27 June 2015

Jpwiki in Japanese Wikipedia
Documentation icon Template documentation[view] [edit] [history] [purge]
{{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 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 in Japanese Wikipedia