Difference between revisions of "Template:Jct"

From Beaver State Roads
Jump to navigation Jump to search
(Removed line breaks in an attempt to remove paragraph tags auto-generated by parser)
(Attempt to properly align banner with shield)
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|20px|link=]] [[{{#if: {{{page|}}} | {{{page}}} | {{{route}}}}}|{{{route}}}]]</span>{{#ifeq: {{{align}}} |right| | [[{{#if: {{{page|}}} | {{{page}}} | {{{route}}}}}|{{{route}}}]] }}
+
{{#ifeq: {{{align}}} |right| [[{{#if: {{{page|}}} | {{{page}}} | {{{route}}}}}|{{{route}}}]] | }}<span style="width: 100%; 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|20px|link=]] [[{{#if: {{{page|}}} | {{{page}}} | {{{route}}}}}|{{{route}}}]]</span>{{#ifeq: {{{align}}} |right| | [[{{#if: {{{page|}}} | {{{page}}} | {{{route}}}}}|{{{route}}}]] }}

Revision as of 20:22, 7 October 2022

[[File:{{{type}}}_{{{number}}}.png|20px|link=]] [[{{{route}}}|{{{route}}}]][[{{{route}}}|{{{route}}}]]