Difference between revisions of "Template:Constellations/doc"

From blackwiki
Jump to navigation Jump to search
imported>XJaM
m (+sl:)
imported>Br'er Rabbit
(Clean up)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE.--->
 
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE.--->
==Usage==
+
== Usage ==
 
Use {{tlx|Constellations|<var>type</var>|3=mod-state=<var>collapse-state</var>|4=hist-state=<var>collapse-state</var>}}, with the following parameters:
 
Use {{tlx|Constellations|<var>type</var>|3=mod-state=<var>collapse-state</var>|4=hist-state=<var>collapse-state</var>}}, with the following parameters:
  
;<var>type</var>
+
; <var>type</var>
:; historic:Modern constellations collapsed, historic constellations uncollapsed.
+
:; historic: Modern constellations collapsed, historic constellations uncollapsed.
:; historic-only:Historic constellations autocollapsed.
+
:; historic-only: Historic constellations autocollapsed.
:; modern:Modern constellations uncollapsed, historic constellations collapsed.
+
:; modern: Modern constellations uncollapsed, historic constellations collapsed.
:; modern-only:Modern constellations autocollapsed.
+
:; modern-only: Modern constellations autocollapsed.
:; ''default'' (nothing):Modern & historic constellations autocollapsed.
+
:; ''default'' (nothing): Modern & historic constellations autocollapsed.
;<var>collapse-state</var>
+
; <var>collapse-state</var>
:; collapsed:always collapsed
+
:; collapsed: always collapsed
:; autocollapse:collapsed if there are two or more collapsing tables on the page
+
:; autocollapse: collapsed if there are two or more collapsing tables on the page
:; &nbsp;&nbsp;(empty string):never collapsed
+
:; &nbsp;&nbsp;(empty string): never collapsed
  
 
== Editing ==
 
== Editing ==
Line 19: Line 19:
 
If for some (rare) reason, any list of constellations need to be updated, the following list of subtemplates will be a guide on where to edit:
 
If for some (rare) reason, any list of constellations need to be updated, the following list of subtemplates will be a guide on where to edit:
  
{|class="wikitable"
+
{| class="wikitable plainrowheaders"
 
|-
 
|-
!style="background-color: #FF8080"|list to change
+
! scope="col" | list to change
!style="background-color: #FF8080"|template to edit
+
! scope="col" | template to edit
 
|-
 
|-
!current constellation names:
+
! scope="row" | current constellation names:
|[[Template:Constellations/modern/modern-list]]
+
| [[Template:Constellations/modern/modern-list]]
 
|-
 
|-
!Ptolemeic constellation names:
+
! scope="row" | Ptolemeic constellation names:
|[[Template:Constellations/historic/ptolemaic/ptolemaic-list]]
+
| [[Template:Constellations/historic/ptolemaic/ptolemaic-list]]
 
|-
 
|-
!In modern time added constellation names:
+
! scope="row" | In modern time added constellation names:
|[[Template:Constellations/historic/modern/modern-list]]
+
| [[Template:Constellations/historic/modern/modern-list]]
 
|-
 
|-
!obsolete constellation names:
+
! scope="row" | obsolete constellation names:
|[[Template:Constellations/historic/obsolete/obsolete-list]]
+
| [[Template:Constellations/historic/obsolete/obsolete-list]]
 
|-
 
|-
!renamed constellations list:
+
! scope="row" | renamed constellations list:
|[[Template:Constellations/historic/obsolete/renamed-list]]
+
| [[Template:Constellations/historic/obsolete/renamed-list]]
 
|}
 
|}
  
==Discuss==
+
== Discuss ==
 
Opinions? Then go here: [[Category talk:Astronomy templates]]!
 
Opinions? Then go here: [[Category talk:Astronomy templates]]!
  
==See also==
+
== See also ==
 
* [[Special:Prefixindex/Template:Constellations/|All subpages]]
 
* [[Special:Prefixindex/Template:Constellations/|All subpages]]
 
{{Universe navboxes}}
 
{{Universe navboxes}}

Revision as of 22:30, 18 July 2012

Usage

Use {{Constellations|type|mod-state=collapse-state|hist-state=collapse-state}}, with the following parameters:

type
historic
Modern constellations collapsed, historic constellations uncollapsed.
historic-only
Historic constellations autocollapsed.
modern
Modern constellations uncollapsed, historic constellations collapsed.
modern-only
Modern constellations autocollapsed.
default (nothing)
Modern & historic constellations autocollapsed.
collapse-state
collapsed
always collapsed
autocollapse
collapsed if there are two or more collapsing tables on the page
  (empty string)
never collapsed

Editing

If for some (rare) reason, any list of constellations need to be updated, the following list of subtemplates will be a guide on where to edit:

list to change template to edit
current constellation names: Template:Constellations/modern/modern-list
Ptolemeic constellation names: Template:Constellations/historic/ptolemaic/ptolemaic-list
In modern time added constellation names: Template:Constellations/historic/modern/modern-list
obsolete constellation names: Template:Constellations/historic/obsolete/obsolete-list
renamed constellations list: Template:Constellations/historic/obsolete/renamed-list

Discuss

Opinions? Then go here: Category talk:Astronomy templates!

See also

Template:Universe navboxes