Difference between revisions of "Template:EFloras/url"
Jump to navigation
Jump to search
imported>Erutuon m (rm extra equals sign) |
imported>Erutuon (allow "FNA" (Flora of North America) and "FOC" (Flora of China) as aliases of "1" and "2" (more readable when using taxon id from Wikidata)) |
||
| Line 1: | Line 1: | ||
| − | http://www.efloras.org/florataxon.aspx?flora_id={{{flora_id|}}}&taxon_id=<!-- | + | http://www.efloras.org/florataxon.aspx?flora_id={{#switch: {{{flora_id|}}} |
| + | |FNA=1 | ||
| + | |FOC=2 | ||
| + | |#default={{{flora_id|}}} | ||
| + | }}&taxon_id=<!-- | ||
-->{{#if:{{{taxon_id|}}} | -->{{#if:{{{taxon_id|}}} | ||
|{{{taxon_id}}} | |{{{taxon_id}}} | ||
| − | |{{#switch:{{{flora_id|}}} | + | |{{#switch: {{uc:{{{flora_id|}}}}} |
| − | |1={{#property:P1727}}<!-- Flora of North America taxon ID --> | + | |1 |
| − | |2={{#property:P1747}}<!-- Flora of China ID --> | + | |FNA={{#property:P1727}}<!-- Flora of North America taxon ID --> |
| + | |2 | ||
| + | |FOC={{#property:P1747}}<!-- Flora of China ID --> | ||
|#default=<!-- how to trigger error? --> | |#default=<!-- how to trigger error? --> | ||
}} | }} | ||
}} | }} | ||