Difference between revisions of "Template:InfoBoxSystem"
m (Updating) |
m (Updating with tracking categories) |
||
Line 29: | Line 29: | ||
{{#set: Recharge time={{Str number/trim|{{{recharge}}}}} hours}} | {{#set: Recharge time={{Str number/trim|{{{recharge}}}}} hours}} | ||
{{#set: Number of Planets={{Str number/trim|{{{planets}}}}}}} | {{#set: Number of Planets={{Str number/trim|{{{planets}}}}}}} | ||
− | |||
<!-- Hidden Category additions --> | <!-- Hidden Category additions --> | ||
<includeonly> | <includeonly> | ||
− | {{#ifexist: {{{planets|}}} | | [[Category: System | + | {{#ifexist: {{{class|}}}||[[Category:System articles that lack a Spectral class]]}} |
+ | {{#ifexist: {{{recharge|}}}||[[Category:System articles that lack a Recharge time]]}} | ||
+ | {{#ifexist: {{{recharge stations|}}}||[[Category:System articles that lack Recharge station information]]}} | ||
+ | {{#ifexist: {{{planets|}}}||[[Category:System articles that lack number of planets information]]}} | ||
</includeonly> | </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> |
Revision as of 15:00, 22 October 2023
Usage
This template is intended for named Systems.
Copy and paste the following code into the top of the article, filling the appropriate fields. If a field is unknown or inapplicable, leave it blank.
{{InfoBoxSystem | image = | name = | coord = | stars = | class = | recharge = | recharge stations = | planets = }}
Tracking categories
This infobox gives the page it's on a hidden category to track missing information.
- Category:Systems with Undetermined Coordinates (153)
- Category:Systems with undetermined Spectral class (2,382)
- Category:Systems with undetermined Recharge time (2,523)
- Category:Systems with undetermined number of Recharge stations (2,722)
- Category:Systems with undetermined number of Planets (2,979)
Semantic properties
This infobox sets the following Semantic properties based on what is filled into its fields: