Difference between revisions of "Template:Format species list/doc"
Jump to navigation
Jump to search
test>Jts1882 (→Usage: use subst) |
test>Jts1882 (→Usage: a bit clearer (hopefully)) |
||
| Line 6: | Line 6: | ||
== Usage == | == Usage == | ||
| − | + | Code to use: | |
<pre> | <pre> | ||
{{subst:Format species list| | {{subst:Format species list| | ||
| Line 16: | Line 16: | ||
</pre> | </pre> | ||
| − | + | Wikitext output that should be saved: | |
| + | <pre> | ||
| + | *''[[Malleastrum antsingyense]]'' {{small|J.-F.Leroy}} | ||
| + | *''[[Malleastrum boivinianum]]'' {{small|(Baill.) J.-F.Leroy}} | ||
| + | *''[[Malleastrum contractum]]'' {{small|J.-F.Leroy}} | ||
| + | *''[[Malleastrum depauperatum]]'' | ||
| + | </pre> | ||
| + | Output as it appears on the page | ||
*''[[Malleastrum antsingyense]]'' {{small|J.-F.Leroy}} | *''[[Malleastrum antsingyense]]'' {{small|J.-F.Leroy}} | ||
Revision as of 17:03, 2 August 2020
| This is a documentation subpage for Template:Format species list. It contains usage information, categories and other content that is not part of the original template page. |
Utility for formatting lists of species from taxonomic sources with or without authority. This template is intended to be substituted so should have zero transclusions.
Usage
Code to use:
{{subst:Format species list|
Malleastrum antsingyense J.-F.Leroy
Malleastrum boivinianum (Baill.) J.-F.Leroy
Malleastrum contractum J.-F.Leroy
Malleastrum depauperatum
}}
Wikitext output that should be saved:
*''[[Malleastrum antsingyense]]'' {{small|J.-F.Leroy}}
*''[[Malleastrum boivinianum]]'' {{small|(Baill.) J.-F.Leroy}}
*''[[Malleastrum contractum]]'' {{small|J.-F.Leroy}}
*''[[Malleastrum depauperatum]]''
Output as it appears on the page
- Malleastrum antsingyense J.-F.Leroy
- Malleastrum boivinianum (Baill.) J.-F.Leroy
- Malleastrum contractum J.-F.Leroy
- Malleastrum depauperatum
Note the code for the {{small}} template will be substituted on the page. Use |expanded= if the template should be expanded (which will create the span markup).