Difference between revisions of "Template:BS-overlap"

From blackwiki
Jump to navigation Jump to search
imported>Hut 8.5
({{pp-template|small=yes}})
imported>Andy M. Wang
(set both border and padding to 0 per edit req at Wikipedia talk:Route diagram template (diff))
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>|{{#if: {{{2|}}}|{{Superimpose
+
|class="bs-overlap" style="background-color:inherit; border:0; padding:0; {{#if:{{{2|}}}
  | base = BSicon_{{#IFEQ:{{{1}}}|leer||{{{1|}}}}}.svg
+
  |" {{!}}{{#if:{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}
  | base_width = {{{3|{{BSpx}}}}}
+
    | {{Superimpose5
  | base_caption =  
+
      | base = BSicon_{{#if:1|{{{2|}}}}}.svg
  | float = BSicon_{{{2}}}.svg
+
      | base_width = x{{{1|{{BSpx}}}}}
  | float_width = {{{3|{{BSpx}}}}}
+
      | float = BSicon_{{#if:1|{{{3|}}}}}.svg
  | float_caption = {{#if: {{{1|}}}|{{{1}}}|leer}} + {{{2}}}
+
      | float_width = x{{{1|{{BSpx}}}}}
  | x = 0
+
      | float2 = BSicon_{{#if:1|{{{4|}}}}}.svg
  | y = 0
+
      | float2_width = x{{{1|{{BSpx}}}}}
}}<!--[[Category:Pages using overlapped route icon]]-->|[[Image:BSicon_{{#IFEQ:{{{1}}}|leer||{{{1|}}}}}.svg|{{{3|{{BSpx}}}}}|{{#IFEQ:{{{1}}}|leer||{{{1|}}}}}]]}}</includeonly><noinclude>
+
      | float3 = BSicon_{{#if:1|{{{5|}}}}}.svg
{{pp-template|small=yes}}
+
      | float3_width = x{{{1|{{BSpx}}}}}
[[Category: German rail line templates]]
+
      | float4 = BSicon_{{#if:1|{{{6|}}}}}.svg
[[es:Plantilla:BS-overlap]]
+
      | float4_width = x{{{1|{{BSpx}}}}}
[[id:Templat:BS-overlap]]
+
      | float5 = BSicon_{{#if:1|{{{7|}}}}}.svg
[[ja:Template:BS-overlap]]
+
      | float5_width = x{{{1|{{BSpx}}}}}
 +
      | x = {{#if:{{{3|}}}|0}}
 +
      | y = 0
 +
      | x2 = {{#if:{{{4|}}}|0}}
 +
      | y2 = 0
 +
      | x3 = {{#if:{{{5|}}}|0}}
 +
      | y3 = 0
 +
      | x4 = {{#if:{{{6|}}}|0}}
 +
      | y4 = 0
 +
      | x5 = {{#if:{{{7|}}}|0}}
 +
      | y5 = 0
 +
      | base_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 =
 +
      }}
 +
    | <!-- workaround fix for Chrome table cell shift problem
 +
      --><div style="position: relative;"><!--
 +
      -->[[File:BSicon_{{#if:1|{{{2}}}}}.svg|x{{{1|{{BSpx}}}}}{{
 +
        #ifeq: {{{link|}}} | file:
 +
        || {{!}}link={{{link|}}}
 +
      }}|alt=|class=noviewer]]<!--
 +
      --></div>
 +
    }}
 +
  | 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}}
 
</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;" |

Template documentation[view] [edit] [history] [purge]

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.