User:Azera/Template:StationpediaDescription: Difference between revisions
From Stationeers Community Wiki
More actions
m Remove margin-top in favor of different spacing method |
Adjust template to only render if passed a parameter. This will be important if the template is ever auto-included in a page that doesn't have a Stationpedia quote |
||
| Line 1: | Line 1: | ||
<div style="overflow:hidden; background-color: #3C3C46; background: linear-gradient(135deg, #3C3C46, #1F1F25); letter-spacing: 1.5px; color: #FFFFFF; padding: 0 15px 0 15px; border-radius: 8px; box-shadow: 0 0 0 2px #5F5F66, 0 0 0 4px #1E1E23;"> | <includeonly>{{#if: {{{1|}}}|<div style="overflow:hidden; background-color: #3C3C46; background: linear-gradient(135deg, #3C3C46, #1F1F25); letter-spacing: 1.5px; color: #FFFFFF; padding: 0 15px 0 15px; border-radius: 8px; box-shadow: 0 0 0 2px #5F5F66, 0 0 0 4px #1E1E23;"><p style="text-align: center; margin: 5px 0 5px 0">[[File:Stationpedia.png|35px]]Stationpedia</p><div style="margin: 0 0 15px 0">{{{1}}}</div></div>}}</includeonly> | ||
</div> | |||