Difference between revisions of "Template:BS-overlap"
Jump to navigation
Jump to search
imported>Closedmouth (per talk page request) |
imported>Andy M. Wang (set both border and padding to 0 per edit req at Wikipedia talk:Route diagram template (diff)) |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | |class="bs-overlap" style="background-color:inherit; border:0; padding:0; {{#if:{{{2|}}} | |
|" {{!}}{{#if:{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}} | |" {{!}}{{#if:{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}} | ||
| {{Superimpose5 | | {{Superimpose5 | ||
| − | | base = BSicon_{{{2|}}}.svg | + | | base = BSicon_{{#if:1|{{{2|}}}}}.svg |
| base_width = x{{{1|{{BSpx}}}}} | | base_width = x{{{1|{{BSpx}}}}} | ||
| − | | float = BSicon_{{{3|}}}.svg | + | | float = BSicon_{{#if:1|{{{3|}}}}}.svg |
| float_width = x{{{1|{{BSpx}}}}} | | float_width = x{{{1|{{BSpx}}}}} | ||
| − | | float2 = BSicon_{{{4|}}}.svg | + | | float2 = BSicon_{{#if:1|{{{4|}}}}}.svg |
| float2_width = x{{{1|{{BSpx}}}}} | | float2_width = x{{{1|{{BSpx}}}}} | ||
| − | | float3 = BSicon_{{{5|}}}.svg | + | | float3 = BSicon_{{#if:1|{{{5|}}}}}.svg |
| float3_width = x{{{1|{{BSpx}}}}} | | float3_width = x{{{1|{{BSpx}}}}} | ||
| − | | float4 = BSicon_{{{6|}}}.svg | + | | float4 = BSicon_{{#if:1|{{{6|}}}}}.svg |
| float4_width = x{{{1|{{BSpx}}}}} | | float4_width = x{{{1|{{BSpx}}}}} | ||
| − | | float5 = BSicon_{{{7|}}}.svg | + | | float5 = BSicon_{{#if:1|{{{7|}}}}}.svg |
| float5_width = x{{{1|{{BSpx}}}}} | | float5_width = x{{{1|{{BSpx}}}}} | ||
| x = {{#if:{{{3|}}}|0}} | | x = {{#if:{{{3|}}}|0}} | ||
| Line 25: | Line 25: | ||
| y5 = 0 | | y5 = 0 | ||
| base_link = | | base_link = | ||
| − | | link{{#if:{{{7|}}}|5|{{#if:{{{6|}}}|4|{{#if:{{{5|}}}|3|{{#if:{{{4|}}}|2}}}}}}}} = {{{link|}}} | + | | link{{#if:{{{7|}}}|5|{{#if:{{{6|}}}|4|{{#if:{{{5|}}}|3|{{#if:{{{4|}}}|2}}}}}}}} = {{{link|}}}{{!}}class=noviewer |
| float{{#if:{{{7|}}}|5|{{#if:{{{6|}}}|4|{{#if:{{{5|}}}|3|{{#if:{{{4|}}}|2}}}}}}}}_alt = | | float{{#if:{{{7|}}}|5|{{#if:{{{6|}}}|4|{{#if:{{{5|}}}|3|{{#if:{{{4|}}}|2}}}}}}}}_alt = | ||
}} | }} | ||
| <!-- workaround fix for Chrome table cell shift problem | | <!-- workaround fix for Chrome table cell shift problem | ||
--><div style="position: relative;"><!-- | --><div style="position: relative;"><!-- | ||
| − | -->[[File:BSicon_{{{2}}}.svg|x{{{1|{{BSpx}}}}}{{ | + | -->[[File:BSicon_{{#if:1|{{{2}}}}}.svg|x{{{1|{{BSpx}}}}}{{ |
#ifeq: {{{link|}}} | file: | #ifeq: {{{link|}}} | file: | ||
|| {{!}}link={{{link|}}} | || {{!}}link={{{link|}}} | ||
| − | }}|alt=]]<!-- | + | }}|alt=|class=noviewer]]<!-- |
--></div> | --></div> | ||
}} | }} | ||
| − | | width:{{{1|{{BSpx}}}}}; min-width:{{{1|{{BSpx}}}}};" {{!}} | + | | width:{{{1|{{BSpx}}}}}; min-width:{{{1|{{BSpx}}}}};" {{!}}{{#if:{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}|<!-- Error: overlap icon(s) with no base icon -->[[Category:RDTs with overlaps but no base icon]]}} |
| − | }}< | + | }}<noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 04:47, 12 July 2016
|class="bs-overlap" style="background-color:inherit; border:0; padding:0; width:20px; min-width:20px;" |
This template is not meant to be used directly in the map table. If you want to modify it you may discuss on the talk page or at project talk:route diagram template first.
| The above documentation is transcluded from Template:BS-overlap/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |