Astronomy: Astronomical objects / Solar System Template‑class | |||||||||||||
|
New Mega-Template Versions
Several new (and more useful?) mega-template versions of the { {Comets}} template are now available - and are copied below.
(PLEASE NOTE: The currently "active" { {Comets}} template may contain several adds/adjs not in the "Proof of concept" examples posted below.)
The "FULL" VERSION:
The "COLLAPSED" VERSION (show/hide concerns?):
The "ORIGINAL" VERSION:
FWIW - my preference atm is the "FULL" version since this version tries to display all related Comet articles on Wikipedia in one-glance - in any case - Enjoy! :) Drbogdan (talk) 21:32, 30 November 2013 (UTC)
Several editors (other than myself) have differing views on this: one prefers the "Full" (open) version - the other prefers the "Collapsed" version - as before, I prefer the "Full" version, but either version is *entirely* ok w/ me - other viewpoints are welcome - maybe one view will clearly be preferred? - in any regards - Enjoy! :) Drbogdan (talk) 05:20, 1 December 2013 (UTC)
@Drbogdan - You are currently more bright than Comet ISON, hats off to your efforts.
(in reply to your enquiry on my talk page) Unfortunately, I don't think there is a way of doing exactly what you want, but the documentation I added does say what you can do. So if you have a page with only the one navbox on it (this one), you can just edit the page to specify expanded. (Although this refers to the whole template, it won't open the bottom section, because of the coding in the template.) If at some future date someone adds another navbox, then either you'll have to edit the page manually, or you might decide it's better as it is anyway, and just leave it. Up to you.
Note that {{Navbox with collapsible groups}} behaves differently from its siblings, because it thinks each of its daughter navboxes already constitutes a separate navbox, so it decides to collapse itself, unless told otherwise. That's why there's specific coding in the template, within "noinclude" tags, to expand itself for easier editing - this only affects the way it appears when editing, not the way it appears when transcluded.
You can specify a default state within the code by replacing
{{{state|}}}
with
{{{state|your desired default}}}
except that for {{Navbox with collapsible groups}}, "autocollapse" doesn't have the desired effect - it's going to collapse anyway, because of its baby navboxes. Note that the coding
state = {{{state|}}}
evaluates the parameter you give it (the triple parentheses say "evaluate the parameter") and passes the result to {{Navbox}} - this is called "pass-through". The part following the vertical separator lets you specify a default if the parameter is not specified in the function call.
The clutter around it in the coding is to allow different behaviours to be specified for editing ("noinclude") and for transclusion ("includeonly").
Hope this helps you understand what is going on. --NSH002 (talk) 22:03, 1 December 2013 (UTC)
The "types" includes "antimatter comet". I'm not an astronomer. But the topic of antimatter comet feels rather WP:Fringe. Is the topic fringe or genuine? Should it be included or removed from this template? Feline Hymnic (talk) 11:18, 28 June 2014 (UTC)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Change C/2014 UN271 (Bernardinelli–Bernstein) to [[C/2014 UN271 (Bernardinelli–Bernstein)]]112.120.56.203 (talk) 09:28, 21 August 2023 (UTC)
@Woodensuperman: it is allowed to use a template to populate a maintenance category, see WP:TEMPLATECAT. Category:Cometary object articles isn't a content category and it is also hidden, as the guideline requests. C messier (talk) 13:09, 20 November 2023 (UTC)