Difference between revisions of "Template:Tile/en"

Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 2: Line 2:
  | bottom = flex-end;  
  | bottom = flex-end;  
  | center = center;
  | center = center;
  | flex-start; }}display: inline-block; padding-right: {{{padding-right|{{{3|1ex}}}}}}; padding-bottom: {{{padding-bottom|{{{4|15px}}}}}}; white-space: nowrap; align-items: center">{{#if: {{{textbefore|}}} | <div style="display:inline-block; padding-right: 1ex;">{{{textbefore}}}</div> }}{{#if: {{{image|{{{1|}}}}}}{{#if: {{{size|{{{5|}}}}}} | {{!}}{{{size|{{{5}}}}}} }}|[[File:{{{image|{{{1}}}}}}{{#if: {{{size|{{{5|}}}}}} | {{!}}{{{size|{{{5}}}}}} }}]]{{#if: {{{text|}}} | {{#if: {{{config|}}} | <br /><span style="font-size:smaller; font-weight: bold;"><div style="white-space: normal; max-width: calc({{{width|{{{size|110px}}}}}} + 10px);">{{{config}}}</div> </span> }} }} }}{{#if: {{{text|}}} | </div><div style="{{#switch: {{{align}}}  
  | flex-start; }}display: inline-block; padding-right: {{{padding-right|{{{3|12px}}}}}}; padding-bottom: {{{padding-bottom|{{{4|15px}}}}}}; white-space: nowrap; align-items: center">{{#if: {{{textbefore|}}} | <div style="display:inline-block; padding-right: 12px;">{{{textbefore}}}</div> }}{{#if: {{{image|{{{1|}}}}}}{{#if: {{{size|{{{5|}}}}}} | {{!}}{{{size|{{{5}}}}}} }}|[[File:{{{image|{{{1}}}}}}{{#if: {{{size|{{{5|}}}}}} | {{!}}{{{size|{{{5}}}}}} }}]]{{#if: {{{text|}}} | {{#if: {{{config|}}} | <br /><span style="font-size:smaller; font-weight: bold;"><div style="white-space: normal; max-width: calc({{{width|{{{size|110px}}}}}} + 10px);">{{{config}}}</div> </span> }} }} }}{{#if: {{{text|}}} | </div><div style="{{#switch: {{{align}}}  
| center =  
| center =  
| bottom = align-self: flex-end;
| bottom = align-self: flex-end;
| align-self: flex-start; }} display: inline-block; padding-right: {{{padding-right|{{{3|1ex}}}}}}; padding-bottom: {{{padding-bottom|{{{4|15px}}}}}}; white-space: normal; align-items: center;"><div>{{{text|}}}</div></div> | &thinsp;{{#if: {{{count|}}} | {{#replace:×COUNT|COUNT|{{{count}}} }} | {{{2|}}} }}{{#if: {{{countextra|}}} | <nowiki/> <nowiki/>{{{countextra|}}} }}{{#if: {{{config|}}} | <br /><span style="font-size:smaller; font-weight: bold"><div style="white-space: normal; max-width: calc({{{width|{{{size|110px}}}}}} + 10px);">{{{config}}}</div></span> }} }}</div></includeonly><noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
| align-self: flex-start; }} display: inline-block; padding-right: {{{padding-right|{{{3|12px}}}}}}; padding-bottom: {{{padding-bottom|{{{4|15px}}}}}}; white-space: normal; align-items: center;"><div>{{{text|}}}</div></div> | &thinsp;{{#if: {{{count|}}} | {{#replace:×COUNT|COUNT|{{{count}}} }} | {{{2|}}} }}{{#if: {{{countextra|}}} | <nowiki/> <nowiki/>{{{countextra|}}} }}{{#if: {{{config|}}} | <br /><span style="font-size:smaller; font-weight: bold"><div style="white-space: normal; max-width: calc({{{width|{{{size|110px}}}}}} + 10px);">{{{config}}}</div></span> }} }}</div></includeonly><noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
{{Breadcrumbs
{{Breadcrumbs
|link1={{EditorManualLink}}
|link1={{EditorManualLink}}
Line 15: Line 15:
* <code>image</code> or <code>1</code> or 1st (required) image name
* <code>image</code> or <code>1</code> or 1st (required) image name
* <code>2</code> or 2nd (optional) text on right side of image with vertical align = middle of image
* <code>2</code> or 2nd (optional) text on right side of image with vertical align = middle of image
* <code>padding-right</code> or <code>3</code> or 3rd (optional) right padding of image - default is <code>15px</code>
* <code>padding-right</code> or <code>3</code> or 3rd (optional) right padding of image - default is <code>12px</code>
* <code>padding-bottom</code> or <code>4</code> or 4th (optional) bottom padding of image - default is <code>15px</code>
* <code>padding-bottom</code> or <code>4</code> or 4th (optional) bottom padding of image - default is <code>15px</code>
* <code>size</code> or <code>5</code> or 5th (optional) size of image - default is <code>-empty-</code> means full width
* <code>size</code> or <code>5</code> or 5th (optional) size of image - default is <code>-empty-</code> means full width
75,310

edits