Difference between revisions of "Template:Rotator"

From SatNOGS Wiki
(Hide image row if template field "image" is empty, using if-syntax instead of missing CSS class "hiddenStructure")
(fix previous change)
Line 2: Line 2:
 
! 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|}}}|
 
{{#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}}}]]
 
}}
 
}}

Revision as of 10:52, 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=
}}