Template:Extract fig

From Wikiversity
Jump to navigation Jump to search

Doxorubicin–DNA complex 1D12.png

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

Usage[edit]

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
 |WikiJournal_of_Medicine/Anthracyclines
 |1
}}

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]