Template:Extract fig

From Wikiversity
Jump to navigation Jump to search


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

Usage[edit source]

This template will find and return the filename of the nth figure in a page that uses the {{fig}} template.

{{Extract fig
 |name of page to search
 |number of figure to return

For example:

{{Extract fig

Returns the filename of the first figure in the WikiJournal_of_Medicine/Anthracyclines page that used the {{fig}} template. In this case, "Doxorubicin–DNA complex 1D12.png"

See also[edit source]