Difference between revisions of "Template:Transient title to ID"
Jump to navigation
Jump to search
(Created page with "{{#if:{{{1|}}}|{{#masterdata:Card|{{{1|}}}|id:name.title}}|0}}") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}|{{#masterdata:Card|{{{1|}}}|id:name.title}}|0}} | <includeonly><onlyinclude>{{#if:{{{1|}}}|{{#ifeq:{{{mode|ext}}}|ext|{{#masterdata:Card|{{{1|}}}|id:name.title}}}}{{#ifeq:{{{mode|smw}}}|| | ||
{{#vardefine:transient tmp subobj| {{#ask: [[Has Japanese title::{{{jp title|}}}]] }} | |||
}} {{#if:{{#var:transient tmp subobj|}}| {{#show:{{#var:transient tmp subobj|}}|?Has ID}} }} | |||
}}|0}}</includeonly></onlyinclude> | |||
== Description == | |||
Maps a Japanese title to a card ID | |||
== Examples == | |||
<pre>{{Transient title to ID|ひねくれ医大生}}</pre>{{Transient title to ID|ひねくれ医大生}} | |||
<pre>{{Transient title to ID|ひねくれ医大生|mode=smw}}</pre>{{Transient title to ID|ひねくれ医大生|mode=smw}} | |||
<pre>{{Transient title to ID|孝の八犬士}}</pre>{{Transient title to ID|孝の八犬士}} | |||
<pre>{{Transient title to ID|孝の八犬士|mode=smw}}</pre>{{Transient title to ID|孝の八犬士|mode=smw}} | |||
<pre>{{Transient title to ID|若き狛犬}}</pre>{{Transient title to ID|若き狛犬}} | |||
<pre>{{Transient title to ID|若き狛犬|mode=smw}}</pre>{{Transient title to ID|若き狛犬|mode=smw}} | |||
<pre>{{Transient title to ID|黒の天人}}</pre>{{Transient title to ID|黒の天人}} | |||
<pre>{{Transient title to ID|黒の天人|mode=smw}}</pre>{{Transient title to ID|黒の天人|mode=smw}} |
Latest revision as of 23:09, 28 March 2019
Description
Maps a Japanese title to a card ID
Examples
{{Transient title to ID|ひねくれ医大生}}
113801
{{Transient title to ID|ひねくれ医大生|mode=smw}}
{{Transient title to ID|孝の八犬士}}
111701
{{Transient title to ID|孝の八犬士|mode=smw}}
{{Transient title to ID|若き狛犬}}
140901
{{Transient title to ID|若き狛犬|mode=smw}}
{{Transient title to ID|黒の天人}}
151801
{{Transient title to ID|黒の天人|mode=smw}}