Difference between revisions of "Template:CelestialRef/Extras"
Jump to navigation
Jump to search
imported>Robertinventor |
imported>Jdaloner m ("{{strip whitespace" --> "{{trim") |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 9: | Line 9: | ||
-->{{#ifeq:{{{at}}}|yes<!-- | -->{{#ifeq:{{{at}}}|yes<!-- | ||
| − | -->| | + | -->|<!-- |
| − | -->|, ''[[SIMBAD]], <!-- | + | * at SIMBAD (short or long form) |
| + | --->{{#ifeq:{{{simbad|long}}}|short<!-- | ||
| + | --->|at ''[[SIMBAD]]''<!-- | ||
| + | --->|at the ''[[SIMBAD | SIMBAD Astronomical Database]]''<!-- | ||
| + | --->}}<!-- ends simbad=long? | ||
| + | |||
| + | -->|, ''[[SIMBAD]]'', <!-- | ||
* CDS (short or long form) | * CDS (short or long form) | ||
| Line 43: | Line 49: | ||
* No need for sep if extrasep set e.g. after Links: don't want Links: - | * No need for sep if extrasep set e.g. after Links: don't want Links: - | ||
| − | -->{{#ifeq:{{{extrasep}}}||{{{sep| - | + | -->{{#ifeq:{{{extrasep}}}||{{{sep| -}}}|}}<!-- |
--> [http://simbad.u-strasbg.fr/simbad/sim-basic?protocol=html&Ident{{=}}{{urlencode:{{{1|M 31}}}}}&submit=submit+id#lab_ident Ids]<!-- | --> [http://simbad.u-strasbg.fr/simbad/sim-basic?protocol=html&Ident{{=}}{{urlencode:{{{1|M 31}}}}}&submit=submit+id#lab_ident Ids]<!-- | ||
-->|}}<!-- | -->|}}<!-- | ||
| Line 51: | Line 57: | ||
-->{{#ifeq:{{{extrasep}}}|<!-- extrasep = blank? | -->{{#ifeq:{{{extrasep}}}|<!-- extrasep = blank? | ||
| − | -->|{{{sep| - | + | -->|{{{sep| -}}}<!-- extrasep is blank so need sep |
* Hide sep for first in line after the extrasep if set | * Hide sep for first in line after the extrasep if set | ||
| Line 57: | Line 63: | ||
-->|{{#ifexpr:<!-- | -->|{{#ifexpr:<!-- | ||
---->{{#ifeq:{{{ids}}}|show|1|0}}<!-- | ---->{{#ifeq:{{{ids}}}|show|1|0}}<!-- | ||
| − | ---->|{{{sep| - | + | ---->|{{{sep| -}}}<!-- one of the previous options is set to show |
---->|<!--none set to show | ---->|<!--none set to show | ||
--->}}<!-- ends #ifexpr test to see if any of the below options are set | --->}}<!-- ends #ifexpr test to see if any of the below options are set | ||
| Line 69: | Line 75: | ||
-->{{#ifeq:{{{extrasep}}}|<!-- extrasep = blank? | -->{{#ifeq:{{{extrasep}}}|<!-- extrasep = blank? | ||
| − | -->|{{{sep| - | + | -->|{{{sep| -}}}<!-- extrasep is blank so need sep |
* Hide sep for first in line after the extrasep if set | * Hide sep for first in line after the extrasep if set | ||
| Line 76: | Line 82: | ||
---->{{#ifeq:{{{ids}}}|show|1|0}}+<!-- | ---->{{#ifeq:{{{ids}}}|show|1|0}}+<!-- | ||
---->{{#ifeq:{{{bib}}}|show|1|0}}<!-- | ---->{{#ifeq:{{{bib}}}|show|1|0}}<!-- | ||
| − | ---->|{{{sep| -& | + | ---->|{{{sep| -&}}}<!-- one of the previous options is set to show |
---->|<!--none set to show | ---->|<!--none set to show | ||
--->}}<!-- ends #ifexpr test to see if any of the below options are set | --->}}<!-- ends #ifexpr test to see if any of the below options are set | ||
| Line 88: | Line 94: | ||
-->{{#ifeq:{{{extrasep}}}|<!-- extrasep = blank? | -->{{#ifeq:{{{extrasep}}}|<!-- extrasep = blank? | ||
| − | -->|{{{sep| - | + | -->|{{{sep| -}}}<!-- extrasep is blank so need sep |
* Hide sep for first in line after the extrasep if set | * Hide sep for first in line after the extrasep if set | ||
| Line 96: | Line 102: | ||
---->{{#ifeq:{{{bib}}}|show|1|0}}+<!-- | ---->{{#ifeq:{{{bib}}}|show|1|0}}+<!-- | ||
---->{{#ifeq:{{{siblings}}}|show|1|0}}<!-- | ---->{{#ifeq:{{{siblings}}}|show|1|0}}<!-- | ||
| − | ---->|{{{sep| - | + | ---->|{{{sep| -}}}<!-- one of the previous options is set to show |
---->|<!--none set to show | ---->|<!--none set to show | ||
--->}}<!-- ends #ifexpr test to see if any of the below options are set | --->}}<!-- ends #ifexpr test to see if any of the below options are set | ||
-->}}<!-- ends extrasep=blank? | -->}}<!-- ends extrasep=blank? | ||
| − | --> [http://simbad.u-strasbg.fr/simbad/sim-plot?target=_BLANK&ident{{=}}{{urlencode:{{{1|M 31}}}}}&radius.unit={{ | + | --> [http://simbad.u-strasbg.fr/simbad/sim-plot?target=_BLANK&ident{{=}}{{urlencode:{{{1|M 31}}}}}&radius.unit={{trim|{{{units|arcmin}}}}}&radius={{trim|{{{plot}}}}} Star plot]<!-- |
-->}}<!-- | -->}}<!-- | ||
| Line 108: | Line 114: | ||
-->{{#ifeq:{{{extrasep}}}|<!-- extrasep = blank? | -->{{#ifeq:{{{extrasep}}}|<!-- extrasep = blank? | ||
| − | -->|{{{sep| - | + | -->|{{{sep| -}}}<!-- extrasep is blank so need sep |
* Hide sep for first in line after the extrasep if set | * Hide sep for first in line after the extrasep if set | ||
| Line 117: | Line 123: | ||
---->{{#ifeq:{{{siblings}}}|show|1|0}}+<!-- | ---->{{#ifeq:{{{siblings}}}|show|1|0}}+<!-- | ||
---->{{#ifeq:{{{plot|}}}||0|1}}<!-- | ---->{{#ifeq:{{{plot|}}}||0|1}}<!-- | ||
| − | ---->|{{{sep| - | + | ---->|{{{sep| -}}}<!-- one of the previous options is set to show |
---->|<!--none set to show | ---->|<!--none set to show | ||
--->}}<!-- ends #ifexpr test to see if any of the below options are set | --->}}<!-- ends #ifexpr test to see if any of the below options are set | ||
-->}}<!-- ends extrasep=blank? | -->}}<!-- ends extrasep=blank? | ||
| − | --> | + | --> [http://aladin.u-strasbg.fr/java/alapre.pl?-c{{=}}{{urlencode:{{{1|M 31}}}}}&button=RGB Image]<!-- |
-->}}<!-- | -->}}<!-- | ||
| Line 129: | Line 135: | ||
-->{{#ifeq:{{{extrasep}}}|<!-- extrasep = blank? | -->{{#ifeq:{{{extrasep}}}|<!-- extrasep = blank? | ||
| − | -->|{{{sep| - | + | -->|{{{sep| -}}}<!-- extrasep is blank so need sep |
* Hide sep for first in line after the extrasep if set | * Hide sep for first in line after the extrasep if set | ||
| Line 139: | Line 145: | ||
---->{{#ifeq:{{{plot|}}}||0|1}}+<!-- | ---->{{#ifeq:{{{plot|}}}||0|1}}+<!-- | ||
---->{{#ifeq:{{{image}}}|show|1|0}}<!-- | ---->{{#ifeq:{{{image}}}|show|1|0}}<!-- | ||
| − | ---->|{{{sep| - | + | ---->|{{{sep| -}}}<!-- one of the previous options is set to show |
---->|<!--none set to show | ---->|<!--none set to show | ||
--->}}<!-- ends #ifexpr test to see if any of the below options are set | --->}}<!-- ends #ifexpr test to see if any of the below options are set | ||