Difference between revisions of "Template:Rotator"
From SatNOGS Wiki
(Hide image row if image is empty) |
(Hide image row if template field "image" is empty, using if-syntax instead of missing CSS class "hiddenStructure") |
||
Line 1: | Line 1: | ||
{| cellpadding="3" style="float:right; border-spacing:0px; background-color:#e27afff; font-size:95%; margin:0 0 0.5em 1em; width:28em; border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | {| cellpadding="3" style="float:right; border-spacing:0px; background-color:#e27afff; font-size:95%; margin:0 0 0.5em 1em; width:28em; border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | ||
! colspan="2" style="color: black; background-color: #f6f6f6; font-weight: bold; text-align:center; font-size: larger; -moz-border-radius-topright: 8px; -moz-border-radius-topleft: 8px; border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | {{{Rotator-Name}}} | ! colspan="2" style="color: black; background-color: #f6f6f6; font-weight: bold; text-align:center; font-size: larger; -moz-border-radius-topright: 8px; -moz-border-radius-topleft: 8px; border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | {{{Rotator-Name}}} | ||
− | + | {{#if:{{{image|}}}| | |
| colspan="2" align="center" bgcolor="#ffffff" style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | [[Image:{{{image}}}|thumb|center|{{{Rotator-Name}}}]] | | colspan="2" align="center" bgcolor="#ffffff" style="border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | [[Image:{{{image}}}|thumb|center|{{{Rotator-Name}}}]] | ||
+ | }} | ||
|- | |- | ||
! colspan="2" style="color: black; background-color: #f6f6f6; font-weight: bold; text-align:center; border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | Rotator Information | ! colspan="2" style="color: black; background-color: #f6f6f6; font-weight: bold; text-align:center; border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | Rotator Information |
Revision as of 10:49, 4 February 2025
{{{Rotator-Name}}}
{{#if:| |
[[Image:{{{image}}}|thumb|center|{{{Rotator-Name}}}]]
}} | ||
---|---|---|---|
Rotator Information | |||
Type: | {{{type}}} | ||
Cost: | {{{cost}}} | ||
Release Information | |||
Status: | {{{status}}} | ||
Latest Release: | [{{{latest-release}}} {{{latest-release-name}}}] | ||
Repository: | [{{{source-repo}}}] | ||
Documentation: | [{{{documentation}}}] | ||
Syntax
Copy this into your article and leave those sections blank, that you don't need!
{{Template:Rotator |Rotator-Name= |image= |type= |status= |latest-release= |latest-release-name= |source-repo= |documentation= }}