Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:InfoBoxVehicle: Difference between revisions

Template page
RyeThePie (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit
Mapper (talk | contribs)
No edit summary
Line 2: Line 2:
{| class="infobox" style="width: 22em; border: 0.5px solid grey; border-radius: 16px; border-collapse: separate; border-spacing: 0; background-clip: padding-box; font-size: 75%; line-height: 1.4em; float: right; clear: right; margin: 0 0 1em 1em; letter-spacing: 0.02em; padding: 0;"
{| class="infobox" style="width: 22em; border: 0.5px solid grey; border-radius: 16px; border-collapse: separate; border-spacing: 0; background-clip: padding-box; font-size: 75%; line-height: 1.4em; float: right; clear: right; margin: 0 0 1em 1em; letter-spacing: 0.02em; padding: 0;"
|+ style="font-size: 160%; font-weight: bolder; text-align: center; padding: 1em; border-bottom: 0.5px solid grey; border-radius: 16px 16px 0 0; {{#switch: {{{Rarity|}}} | Mythical = background-color: #19D9FF; color: white; | Legendary = background-color: #d82121; color: white; | Widespread = background-color: #f5f5f5; color: black; | Common = background-color: #99ff99; color: black; | Uncommon = background-color: #ffff66; color: black; | Rare = background-color: #e0a6ff; color: white; | Ultra Rare = background-color: #66a3ff; color: white; | Epic = background-color: #ffbb33; color: black; | #default = }}" | {{{name}}}
|+ style="font-size: 160%; font-weight: bolder; text-align: center; padding: 1em; border-bottom: 0.5px solid grey; border-radius: 16px 16px 0 0; {{#switch: {{{Rarity|}}} | Mythical = background-color: #19D9FF; color: white; | Legendary = background-color: #d82121; color: white; | Widespread = background-color: #f5f5f5; color: black; | Common = background-color: #99ff99; color: black; | Uncommon = background-color: #ffff66; color: black; | Rare = background-color: #e0a6ff; color: white; | Ultra Rare = background-color: #66a3ff; color: white; | Epic = background-color: #ffbb33; color: black; | #default = }}" | {{{name}}}
|-|+ style="font-size:160%; font-weight:bolder; text-align:center; padding:1em; …" | {{{name}}}
|-
|-
| colspan="2" style="text-align: center; background-color: #1b1b1b; border-bottom: 0.4px solid black; padding: 0.5em;" | [[File:{{{photo|{{PAGENAME}}photo.png}}}|300px]]
| colspan="2" style="text-align:center; background-color:#1b1b1b; border-bottom:0.4px solid black; padding:0.5em;" |
<gallery mode="slideshow" widths="300px" heights="200px" perrow="1">
File:{{{Photo1|{{PAGENAME}}photo.png}}}
{{#if:{{{Photo2|}}}|File:{{{Photo2}}}}}
{{#if:{{{Photo3|}}}|File:{{{Photo3}}}}}
{{#if:{{{Photo4|}}}|File:{{{Photo4}}}}}
<!-- add more lines for Photo5, Photo6… up to however many you want -->
</gallery>]
|-
|-
| colspan="2" style="text-align: center; background-color: #1b1b1b; color: white; font-style: italic; font-size: 85%; padding: 0.4em; border-bottom: 0.4px solid black;" | {{{caption}}}
| colspan="2" style="text-align: center; background-color: #1b1b1b; color: white; font-style: italic; font-size: 85%; padding: 0.4em; border-bottom: 0.4px solid black;" | {{{caption}}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.