Difference between revisions of "Template:Jct"

From Beaver State Roads
Jump to navigation Jump to search
(Set image to align with bottom of text)
(Added size override parameter)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq: {{{align}}} |right| [[{{#if: {{{page|}}} | {{{page}}} | {{{route}}}}}|{{{route}}}]]&nbsp; | }}<span style="display: inline-block; vertical-align: text-bottom; 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=]]</span>{{#ifeq: {{{align}}} |right| | &nbsp;[[{{#if: {{{page|}}} | {{{page}}} | {{{route}}}}}|{{{route}}}]] }}
+
{{#ifeq: {{{align}}} |right| [[{{#if: {{{page|}}} | {{{page}}} | {{{route}}}}}|{{{route}}}]]&nbsp; | }}<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}}} | 20 }}px|link=]]</span>{{#ifeq: {{{align}}} |right| | &nbsp;[[{{#if: {{{page|}}} | {{{page}}} | {{{route}}}}}|{{{route}}}]] }}

Latest revision as of 23:36, 7 October 2022

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