Template

RandomImageInTaxon: Difference between revisions

From Sagan 4 Alpha Wiki

imported>Disgustedorite
(adding ability to generate more than one)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Displays an image of a random species in a given category, meant for use on taxonomy pages. First parameter is the category name, second is custom text in place of the page name, third is number of species to display.
Displays an image of a random species in a given category, meant for use on taxonomy pages. First parameter is the category name, second is custom text in place of the page name, third is number of species to display.


<onlyinclude>{{#dpl:category={{{1|Eukaryota}}}|category=species|randomcount={{{3|1}}}|format=,,[[File:²{show|SpeciesInfo|%PAGE%|imageAlt}²|thumb|[[%PAGE%]] is an example of {{{2|{{{1|Eukaryota}}}}}}.]],}}</onlyinclude>
<onlyinclude>{{#ask:[[taxonomy::{{{1|Eukaryota}}}]]|?title|?image|order=random|limit={{{3|1}}}|format=plainlist|userparam={{{2|<nowiki/> is an example of {{{1|Eukaryota}}}.}}}|template=RandomImageInTaxon/Template|searchlabel=}}
</onlyinclude>

Latest revision as of 23:51, 28 June 2023

Displays an image of a random species in a given category, meant for use on taxonomy pages. First parameter is the category name, second is custom text in place of the page name, third is number of species to display.

Bogbulb is an example of Eukaryota.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.