Difference between revisions of "Template:FloraBase"

From blackwiki
Jump to navigation Jump to search
imported>JJMC89
(add edit link, tracking categories)
imported>JJMC89
(update publisher per request)
Line 3: Line 3:
 
|title      = {{{name|{{{2|{{PAGENAMEBASE}}}}}}}}
 
|title      = {{{name|{{{2|{{PAGENAMEBASE}}}}}}}}
 
|work        = [[FloraBase]]
 
|work        = [[FloraBase]]
|publisher  = [[Department of Environment and Conservation (Western Australia)|Department of Environment and Conservation]], Government of Western Australia
+
|publisher  = Western Australian Government [[Department of Parks and Wildlife (Western Australia)|Department of Parks and Wildlife]]
 
|access-date = {{{access-date|{{{accessdate|}}}}}}
 
|access-date = {{{access-date|{{{accessdate|}}}}}}
 
}}<includeonly>{{#invoke:EditAtWikidata|showMessage|pid=P3101|{{{id|{{{1|}}}}}}}}{{#if:{{{id|}}}{{{1|}}}|{{WikidataCheck|property=P3101|value={{{id|{{{1|}}}}}}|category=FloraBase ID}}}}</includeonly><noinclude>
 
}}<includeonly>{{#invoke:EditAtWikidata|showMessage|pid=P3101|{{{id|{{{1|}}}}}}}}{{#if:{{{id|}}}{{{1|}}}|{{WikidataCheck|property=P3101|value={{{id|{{{1|}}}}}}|category=FloraBase ID}}}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 09:35, 11 September 2016

template with no id set%5d%5d}} "[[:Template:PAGENAMEBASE]]" Check |url= value (help). FloraBase. Western Australian Government Department of Parks and Wildlife. URL–wikilink conflict (help)

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Usage

{{FloraBase|name=Taxon name|id=#####}}

The name parameter should include the taxon name. The page name will be used if no value is entered.

The id parameter should be the number at the end of the FloraBase url, often a 4 or 5 digit number. (e.g. http://florabase.dec.wa.gov.au/browse/profile/21189 - the highlighted number, 21189, would be put into the id field if you wanted to include a link to the FloraBase page on Xanthorrhoea). If no value is entered, the template will attempt to fetch one from Wikidata.

Tracking categories