Difference between revisions of "Template:Geological range/linked/doc"
imported>Wbm1058 (→Usage: Wenlock needs disambiguation) |
imported>Funandtrvl (fix code) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) --> |
==Purpose== | ==Purpose== | ||
This template simplifies the task of creating a geological range (as per {{tl|Geological range}}) based on one or two named geological periods when you want the period names to be wiki-linked. | This template simplifies the task of creating a geological range (as per {{tl|Geological range}}) based on one or two named geological periods when you want the period names to be wiki-linked. | ||
| Line 11: | Line 11: | ||
* <code><nowiki>{{Geological range/linked|first period name|second period name|ref=reference (optional)}}</nowiki></code>. | * <code><nowiki>{{Geological range/linked|first period name|second period name|ref=reference (optional)}}</nowiki></code>. | ||
| − | Examples | + | ===Examples=== |
| − | |||
* <code><nowiki>{{Geological range/linked|Silurian}}</nowiki></code> produces: | * <code><nowiki>{{Geological range/linked|Silurian}}</nowiki></code> produces: | ||
{{Geological range/linked|Silurian}} | {{Geological range/linked|Silurian}} | ||
| Line 38: | Line 37: | ||
== See also == | == See also == | ||
| − | * [[Template:Geological range | + | * [[Template:Geological range]] |
| − | |||
| − | |||
| − | </includeonly> | + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| |
| + | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| + | [[Category:Geology templates]] | ||
| + | }}</includeonly> | ||
Revision as of 20:19, 11 December 2015
| This is a documentation subpage for Template:Geological range/linked. It contains usage information, categories and other content that is not part of the original template page. |
Purpose
This template simplifies the task of creating a geological range (as per {{Geological range}}) based on one or two named geological periods when you want the period names to be wiki-linked.
It does not have the flexibility of the full {{Geological range}} template, which should always be used to create a geological range in any other way (e.g. based on numerical dates, or with an extended range).
Usage
There are two ways of using the template:
{{Geological range/linked|period name|ref=reference (optional)}}{{Geological range/linked|first period name|second period name|ref=reference (optional)}}.
Examples
{{Geological range/linked|Silurian}}produces:
Silurian Template:Phanerozoic 220px
Expression error: Unrecognized punctuation character "[".
{{Geological range/linked|Wenlock}}produces:
Wenlock Template:Phanerozoic 220px
Expression error: Unrecognized punctuation character "[".
{{Geological range/linked|Silurian|Early Permian}}produces:
Silurian to Early Permian Template:Phanerozoic 220px
Expression error: Unrecognized punctuation character "[".
{{Geological range/linked|Middle Devonian|ref=<ref>Dummy reference</ref>}}produces:
Middle Devonian[1] Template:Phanerozoic 220px
Expression error: Unrecognized punctuation character "[".
Note that this template does not provide any of the other parameters of {{Geological range}}.
- ↑ Dummy reference
Errors
If you have specified the parameters correctly and this template generates an error, it is likely to be because the period is missing from {{next period}} or {{period start}}. Please go ahead and add it in the appropriate place (once you've checked your spelling!).
You also need to add the period to {{period start error}} so that other templates which display geological dates, such as {{period span}} will work properly with this new period name.
Sources
For documentation on the sources of the dates and other information, see Template:Period start.
See also