Template:ja-romanization of: difference between revisions

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Content deleted Content added
- is fine too
use entity code as a hack
Tag: Reverted
Line 1: Line 1:
{{#invoke:form of/templates|form_of_t|[[romaji|rōmaji]] transcription of|withcap=1|lang=ja|noprimaryentrycat=romaji without a main entry}}<!--
{{#invoke:form of/templates|form_of_t|[[romaji|r&#333;maji]] transcription of|withcap=1|lang=ja|noprimaryentrycat=romaji without a main entry}}<!--


-->{{#if:{{#invoke:string|find|{{#invoke:string|match|{{{1}}}|^[^#]+}}|[^ぁ-ヿ𛀀𛀁𛄡𛄠𛀆𛄢𛄟、-]}}|&#32;<span class="maintenance-line" style="color: #FF0000;">(link to non-kana entry)</span><!--
-->{{#if:{{#invoke:string|find|{{#invoke:string|match|{{{1}}}|^[^#]+}}|[^ぁ-ヿ𛀀𛀁𛄡𛄠𛀆𛄢𛄟、-]}}|&#32;<span class="maintenance-line" style="color: #FF0000;">(link to non-kana entry)</span><!--

Revision as of 01:49, 15 March 2023

Rōmaji transcription of term (term) (link to non-kana entry)


This template is used to create definition lines of Japanese romanizations. It takes only a single argument, namely the actual Japanese spelling (usually in hiragana) where the term is defined. For example, this:

# {{ja-romanization of|ガボン}}

produces this:

  1. Rōmaji transcription of ガボン

If the argument denotes a non-existent page (a redlink), then the template will add the entry to Category:Japanese romaji without a main entry.

If the argument denotes a non-kana page, then the template will add the entry to Category:ja-romanization of link to non-kana.