Editing Template:InfoBoxSystem
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision
Your text
Line 25:
Line 25:
|label7 = Planet(s) |label7 = Planet(s)
|data7 = {{{planets|}}} |data7 = {{{planets|}}}
− <!-- Property and Category declarations --> + <!-- Property declarations -->
+ {{#set: Spectral class={{Str left|{{{class}}}|2}}}}
+ {{#set: Recharge time={{Str number/trim|{{{recharge}}}}} hours}}
+ {{#set: Number of Planets={{Str number/trim|{{{planets}}}}}}}
+ <!-- Hidden Category additions -->
{{#if:{{{coord|}}}||<includeonly>[[Category:Systems with Undetermined Coordinates]]</includeonly>}} {{#if:{{{coord|}}}||<includeonly>[[Category:Systems with Undetermined Coordinates]]</includeonly>}}
− {{#if:{{{class|}}}|{{#set: Spectral class={{Str left|{{{class}}}|2}}}}|<includeonly>[[Category:Systems with undetermined Spectral class]]</includeonly>}} + {{#if:{{{class|}}}||<includeonly>[[Category:Systems with undetermined Spectral class]]</includeonly>}}
− {{#if:{{{recharge|}}}|{{#set: Recharge time={{Str number/trim|{{{recharge}}}}} hours}}|<includeonly>[[Category:Systems with undetermined Recharge time]]</includeonly>}} + {{#if:{{{recharge|}}}||<includeonly>[[Category:Systems with undetermined Recharge time]]</includeonly>}}
{{#if:{{{recharge stations|}}}||<includeonly>[[Category:Systems with undetermined number of Recharge stations]]</includeonly>}} {{#if:{{{recharge stations|}}}||<includeonly>[[Category:Systems with undetermined number of Recharge stations]]</includeonly>}}
− {{#if:{{{planets|}}}|{{#set: Number of Planets={{Str number/trim|{{{planets}}}}}}}|<includeonly>[[Category:Systems with undetermined number of Planets]]</includeonly>}} + {{#if:{{{planets|}}}||<includeonly>[[Category:Systems with undetermined number of Planets]]</includeonly>}}
}}<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --></noinclude> }}<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --></noinclude>
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 25: | Line 25: | ||
|label7 = Planet(s) | |label7 = Planet(s) | ||
|data7 = {{{planets|}}} | |data7 = {{{planets|}}} | ||
− | <!-- Property | + | <!-- Property declarations --> |
+ | {{#set: Spectral class={{Str left|{{{class}}}|2}}}} | ||
+ | {{#set: Recharge time={{Str number/trim|{{{recharge}}}}} hours}} | ||
+ | {{#set: Number of Planets={{Str number/trim|{{{planets}}}}}}} | ||
+ | <!-- Hidden Category additions --> | ||
{{#if:{{{coord|}}}||<includeonly>[[Category:Systems with Undetermined Coordinates]]</includeonly>}} | {{#if:{{{coord|}}}||<includeonly>[[Category:Systems with Undetermined Coordinates]]</includeonly>}} | ||
− | {{#if:{{{class|}}}| | + | {{#if:{{{class|}}}||<includeonly>[[Category:Systems with undetermined Spectral class]]</includeonly>}} |
− | {{#if:{{{recharge|}}}| | + | {{#if:{{{recharge|}}}||<includeonly>[[Category:Systems with undetermined Recharge time]]</includeonly>}} |
{{#if:{{{recharge stations|}}}||<includeonly>[[Category:Systems with undetermined number of Recharge stations]]</includeonly>}} | {{#if:{{{recharge stations|}}}||<includeonly>[[Category:Systems with undetermined number of Recharge stations]]</includeonly>}} | ||
− | {{#if:{{{planets|}}}| | + | {{#if:{{{planets|}}}||<includeonly>[[Category:Systems with undetermined number of Planets]]</includeonly>}} |
}}<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --></noinclude> | }}<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --></noinclude> |