Difference between revisions of "Template:MonostellarSystem"
Jump to navigation
Jump to search
| (9 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
:{| class="wikitable" | :{| class="wikitable" | ||
| − | |+ {{{name|{{#if:{{#pos:{{PAGENAME}}|(}}|{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|(}} }}|{{PAGENAME}} }} }}} | + | |+ {{{name|{{#if:{{#pos:{{PAGENAME}}|(}}|{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|(}} }}|{{PAGENAME}} }} }}} has a solitary primary star. |
|- | |- | ||
{{StarData.query | {{StarData.query | ||
| − | |primary={{{primary| | + | |primary={{{primary|G2 V}}} |
|PrimaryName = {{{PrimaryName|{{{name|{{#if:{{#pos:{{PAGENAME}}|(}}|{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|(}} }}|{{PAGENAME}} }} Primary}}} }}} | |PrimaryName = {{{PrimaryName|{{{name|{{#if:{{#pos:{{PAGENAME}}|(}}|{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|(}} }}|{{PAGENAME}} }} Primary}}} }}} | ||
|PrimaryNotes = {{{PrimaryNotes|}}} | |PrimaryNotes = {{{PrimaryNotes|}}} | ||
|Hierarchy = Primary | |Hierarchy = Primary | ||
| + | |StarImage = {{{PrimaryStarImage|}}} | ||
}} | }} | ||
|}<noinclude> | |}<noinclude> | ||
| Line 24: | Line 18: | ||
* PrimaryName = name of the primary, defaults to "<name> Primary" if not defined | * PrimaryName = name of the primary, defaults to "<name> Primary" if not defined | ||
* PrimaryNotes = Notes or remarks about the primary (optional) | * PrimaryNotes = Notes or remarks about the primary (optional) | ||
| + | * PrimaryStarImage = (optional) Image to display for the star, omit braces | ||
[[Category: Templates|Monostellar]] | [[Category: Templates|Monostellar]] | ||
| + | [[Category: Star system templates]] | ||
</noinclude> | </noinclude> | ||
| − | |||
Latest revision as of 15:40, 12 July 2025
A template to put a section describing the stars in a single star system. Usually used in the world pages
Parameters are:
- name = Name of the system, defaults to name of the page.
- primary = Stellar classification of the primary (e.g. G2 V)
- PrimaryName = name of the primary, defaults to "<name> Primary" if not defined
- PrimaryNotes = Notes or remarks about the primary (optional)
- PrimaryStarImage = (optional) Image to display for the star, omit braces