Difference between revisions of "Template:Jct"
Jump to navigation
Jump to search
(Removed variable test) |
(Testing resizing shield based on whether) |
||
Line 1: | Line 1: | ||
− | {{#ifeq: {{{align}}} |right| [[{{#if: {{{page|}}} | {{{page}}} | {{{route}}}}}|{{{route}}}]] | }}<span style="display: inline-block; vertical-align: baseline; line-height: 0; text-align: center;">{{#if: {{{direction|}}} | [[File:{{#if: {{{direction_type|}}} | {{{direction_type}}}_ | }}{{{direction}}}_dir{{#if: {{{shield_variant|}}} | _{{{shield_variant}}} | }}.png|20px|link=]]<br /> | }}{{#if: {{{banner|}}} | [[File:{{{banner}}}_banner.png|20px|link=]]<br /> | }}[[File:{{{type}}}_{{{number}}}{{#if: {{{shield_variant|}}} | _{{{shield_variant}}} | }}.png| | + | {{#ifeq: {{{align}}} |right| [[{{#if: {{{page|}}} | {{{page}}} | {{{route}}}}}|{{{route}}}]] | }}<span style="display: inline-block; vertical-align: baseline; line-height: 0; text-align: center;">{{#if: {{{direction|}}} | [[File:{{#if: {{{direction_type|}}} | {{{direction_type}}}_ | }}{{{direction}}}_dir{{#if: {{{shield_variant|}}} | _{{{shield_variant}}} | }}.png|20px|link=]]<br /> | }}{{#if: {{{banner|}}} | [[File:{{{banner}}}_banner.png|20px|link=]]<br /> | }}[[File:{{{type}}}_{{{number}}}{{#if: {{{shield_variant|}}} | _{{{shield_variant}}} | }}.png|{{#if: {{{size_override|}}} | {{{size_override}}} | {{#if: {{{shield_variant|}}} | | {{#ifexpr: {{#len:{{{number}}}}} > 2 | 25 | 20 }}}}}}px|link=]]</span>{{#ifeq: {{{align}}} |right| | [[{{#if: {{{page|}}} | {{{page}}} | {{{route}}}}}|{{{route}}}]] }} |
Revision as of 22:17, 7 October 2022
[[File:{{{type}}}_{{{number}}}.png|Expression error: Unrecognized punctuation character "{".px|link=]] [[{{{route}}}|{{{route}}}]]