Difference between revisions of "Template:Status name"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#vardefine:status subobject|{{{subobject|{{#ask: | <includeonly><onlyinclude>{{#vardefine:status subobject|{{{subobject|{{#ask: | ||
[[Has game context::Status]] | [[Has game context::Status]] | ||
[[Has Japanese name::{{{1|}}}]] | {{#if:{{{1|}}}|[[Has Japanese name::{{{1|}}}]]}} | ||
{{#if:{{{id|}}}|[[Has ID::{{{id|}}}]]}} | |||
|link=none | |link=none | ||
|limit=1 | |limit=1 | ||
|headers=hide | |headers=hide | ||
|searchlabel= | |searchlabel= | ||
}}}}}}}{{#if:{{#var:status subobject|}}|{{#vardefine:status name|{{#show:{{#var:status subobject}}|?Has English name}}}}{{#if:{{#var:status name|}}||{{#vardefine:status name|{{#show:{{#var:status subobject}}|?Has Japanese name}}}}}}}}{{#var:status name|No name provided.[[Category:Page that needs attention]]}}{{#vardefine:status name|}}</includeonly></onlyinclude> | }}}}}}}{{#if:{{#var:status subobject|}}|{{#vardefine:status name|{{#show:{{#var:status subobject}}|?Has English name}}}}{{#if:{{#var:status name|}}||{{#vardefine:status name|{{#show:{{#var:status subobject}}|?Has Japanese name}}}}}}}}{{#if:{{{link|}}}|[[{{#var:status subobject}}|{{#var:status name|No name provided.}}]]|{{#var:status name|No name provided {{#if:{{{id|}}}|(id {{{id}}})}}.[[Category:Page that needs attention]]}}}}{{#vardefine:status name|}}</includeonly></onlyinclude> | ||
== Example == | == Example == | ||
<pre>{{Status name|金剛}}</pre> | <pre>{{Status name|金剛}}</pre> | ||
{{Status name|金剛}} | {{Status name|金剛}} | ||
<pre>{{Status name| | <pre>{{Status name|id=69|link=true}}</pre> | ||
{{Status name| | {{Status name|id=69|link=true}} |