Module:Taxonbar/conf: Difference between revisions

Content deleted Content added
m --ce
m --ce, AntWeb placeholder
Line 3:
--Database entry format: { parameter name, label to display, propertyId in Wikidata or URL }
--
-----------------------------------------------------------------------------------------------
--| If propertyId is... | then... |
--|------------------------|------------------------------------------------------------------|
--| a Wikidata property ID | it must be a number without quotes |
--| an external URL | it must be in quotes and begin with http://, https://, or //. |
--| | The ID should be represented by $1 (e.g. 'https://en.wikipedia.org/wiki/$1') |
--| an interwiki URL | put the interwiki name, a colon, and $1 in quotes | (e.g. 'enhttps://en.wikipedia.org/wiki/$1') |
--| setan tointerwiki 0URL | put the interwiki name, a colon, and |$1 thatin databasequotes (e.g. won't show unless forced; no link en:$1') |
--| set to its0 negative | that database won't show unless forced; withno link |
--| set to its negative | that database won't show unless forced; with link |
-----------------------------------------------------------------------------------------------
p.databases = {
--Biology
Line 79 ⟶ 81:
--URLs
-- { 'AntWeb', '[[AntWeb]]', '<base URL needed>:$1' },
{ 'eMonocot', '[[eMonocot]]', 'http://e-monocot.org/taxon/urn:kew.org:wcs:taxon:$1' },
{ 'emonocotfamily', '[[eMonocot]]', 'http://e-monocot.org/taxon/urn:kew.org:wcs:family:$1' },
Line 97 ⟶ 100:
}
 
--Alias entry format: { alternate namealias, parameter name in p.databases }
p.aliases = {
{ 'Wd', 'Wikidata' },