Difference between revisions of "Template:Transient infobox"

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:
<includeonly>{{#vardefine:transient id|{{{id|}}}
<includeonly>{{#vardefine:transient id|{{{id|}}}}}{{#if:{{#var:transient id|}}||
}}{{#if:{{#var:transient id|}}||
  {{#vardefine:transient tmp subobj|
{{#vardefine:transient tmp subobj|{{#ask: [[Has game context::Transient]][[Has Japanese title::{{{jp title|}}}]]}}}}
    {{#ask: [[Has game context::Transient]][[Has Japanese title::{{{jp title|}}}]]}}
{{#if:{{#var:transient tmp subobj|}}|{{#vardefine:transient id|{{#replace:{{#show:{{#var:transient tmp subobj|}}|?Has ID}}|,|}}}}}}
  }}
  {{#if:{{#var:transient tmp subobj|}}|
    {{#vardefine:transient id|
      {{#replace:{{#show:{{#var:transient tmp subobj|}}|?Has ID}}|,|}}
    }}
  }}
}}{{#if:{{#var:transient id|}}||
}}{{#if:{{#var:transient id|}}||
{{#vardefine:transient id|{{#if:{{{jp title|}}}|{{#masterdata:Card|{{{jp title|}}}|id:name.title}}|0}}}}
{{#vardefine:transient id|{{#if:{{{jp title|}}}|{{#masterdata:Card|{{{jp title|}}}|id:name.title}}|0}}}}
}}{{#ifexpr:{{#var:transient id|}}<2|{{#vardefine:transient id|}}}}{{#if:{{#var:transient id|}}|{{
}}{{#var:transient id|}}{{#ifeq:{{#var:transient id|}}|0|{{#vardefine:transient id|}}}}{{#if:{{#var:transient id|}}|{{
#if:{{{en title|}}}|{{#vardefine:transient en title|{{{en title|}}}}}}}{{
#if:{{{en title|}}}|{{#vardefine:transient en title|{{{en title|}}}}}}}{{
#if:{{{en name|}}}|{{#vardefine:transient en name|{{{en name|}}}}}}}{{
#if:{{{en name|}}}|{{#vardefine:transient en name|{{{en name|}}}}}}}{{

Navigation menu