Difference between revisions of "Template:BS-overlap"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(remove {{pp-template}})
imported>Closedmouth
(per talk page request)
Line 1: Line 1:
<includeonly>|style="width:{{{1|{{BSpx}}}}}"|{{
+
<includeonly>|data-o0="{{{2|}}}" data-o1="{{{3|}}}" data-o2="{{{4|}}}" data-o3="{{{5|}}}" data-o4="{{{6|}}}" data-o5="{{{7|}}}" class="bs-overlap" style="background-color:inherit; border:0px !important; {{#if:{{{2|}}}
  #if:{{{3|}}}
+
   |" {{!}}{{#if:{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}
   | {{Superimpose2
+
    | {{Superimpose5
    | base = BSicon_{{#if:{{{2|}}}|{{{2}}}}}.svg
+
      | base = BSicon_{{{2|}}}.svg
    | base_width = {{{1|{{BSpx}}}}}
+
      | base_width = x{{{1|{{BSpx}}}}}
    | float = BSicon_{{#if:1|{{{3}}}}}.svg
+
      | float = BSicon_{{{3|}}}.svg
    | float_width = {{{1|{{BSpx}}}}}
+
      | float_width = x{{{1|{{BSpx}}}}}
    | float2 = BSicon_{{#if:1|{{{4}}}}}.svg
+
      | float2 = BSicon_{{{4|}}}.svg
    | float2_width = {{{1|{{BSpx}}}}}
+
      | float2_width = x{{{1|{{BSpx}}}}}
    | float3 = BSicon_{{#if:1|{{{5}}}}}.svg
+
      | float3 = BSicon_{{{5|}}}.svg
    | float3_width = {{{1|{{BSpx}}}}}
+
      | float3_width = x{{{1|{{BSpx}}}}}
    | float4 = BSicon_{{#if:1|{{{6}}}}}.svg
+
      | float4 = BSicon_{{{6|}}}.svg
    | float4_width = {{{1|{{BSpx}}}}}
+
      | float4_width = x{{{1|{{BSpx}}}}}
    | float5 = BSicon_{{#if:1|{{{7}}}}}.svg
+
      | float5 = BSicon_{{{7|}}}.svg
    | float5_width = {{{1|{{BSpx}}}}}
+
      | float5_width = x{{{1|{{BSpx}}}}}
    | x = 0
+
      | x = {{#if:{{{3|}}}|0}}
    | y = 0
+
      | y = 0
    | x2 = {{#if:{{{4|}}}|0}}
+
      | x2 = {{#if:{{{4|}}}|0}}
    | y2 = 0
+
      | y2 = 0
    | x3 = {{#if:{{{5|}}}|0}}
+
      | x3 = {{#if:{{{5|}}}|0}}
    | y3 = 0
+
      | y3 = 0
    | x4 = {{#if:{{{6|}}}|0}}
+
      | x4 = {{#if:{{{6|}}}|0}}
    | y4 = 0
+
      | y4 = 0
    | x5 = {{#if:{{{7|}}}|0}}
+
      | x5 = {{#if:{{{7|}}}|0}}
    | y5 = 0
+
      | y5 = 0
    | base_link =
+
      | base_link =
    | link{{#if:{{{7|}}}|5|{{#if:{{{6|}}}|4|{{#if:{{{5|}}}|3|{{#if:{{{4|}}}|2}}}}}}}} = {{{link|file:}}}
+
      | link{{#if:{{{7|}}}|5|{{#if:{{{6|}}}|4|{{#if:{{{5|}}}|3|{{#if:{{{4|}}}|2}}}}}}}} = {{{link|}}}
    | 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 =  
#ifeq: {{{alt|#default}}} | #default
 
| {{BS-alt|{{{2}}}}} + {{BS-alt|{{{3}}}}}{{
 
    #if: {{{4|}}} | <nowiki/> + {{BS-alt|{{{4}}}}}
 
  }}{{
 
    #if: {{{5|}}} | <nowiki/> + {{BS-alt|{{{5}}}}}
 
  }}{{
 
    #if: {{{6|}}} | <nowiki/> + {{BS-alt|{{{6}}}}}
 
  }}{{
 
    #if: {{{7|}}} | <nowiki/> + {{BS-alt|{{{7}}}}}
 
  }}
 
| {{{alt}}}
 
 
       }}
 
       }}
 +
    | <!-- workaround fix for Chrome table cell shift problem
 +
      --><div style="position: relative;"><!--
 +
      -->[[File:BSicon_{{{2}}}.svg|x{{{1|{{BSpx}}}}}{{
 +
        #ifeq: {{{link|}}} | file:
 +
        || {{!}}link={{{link|}}}
 +
      }}|alt=]]<!--
 +
      --></div>
 
     }}
 
     }}
   | {{#if: {{{2|}}}
+
   | width:{{{1|{{BSpx}}}}}; min-width:{{{1|{{BSpx}}}}};" {{!}}
      | [[File:BSicon_{{#if:1|{{{2}}}}}.svg|{{{1|{{BSpx}}}}}{{
 
    #ifeq: {{{link|file:}}} | file:
 
    || {{!}}link={{{link|}}}
 
  }}|alt={{
 
    #ifeq: {{{alt|#default}}} | #default
 
    | {{BS-alt|{{{2}}}}}
 
    | {{{alt}}}
 
  }}]]
 
      | [[File:BSicon_.svg|{{{1|{{BSpx}}}}}|link=|alt=]]
 
    }}
 
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 09:12, 28 April 2013

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.