Jump to content

Template:Resources for author

From HopperWiki

This template displays resources filtered by a specified author. If no author is provided it defaults to the current page title, making it work automatically on author pages.

Basic usage

On an author page where the page title matches the author name:

{{Resources for author}}

On any other page, supply the author explicitly:

{{Resources for author|author=Jack Johnson}}

Parameters

Parameter Default Notes
author Current page title The author name to filter on. Must match the value stored in the Author field exactly.
row_cutoff 3 Rows visible before the table collapses

Columns shown

Name, Year published, Resource link, Author.

For developers

Calls p.query with filter_field=Author (Tier 1). The Author field is a list_of_string type so the filter automatically uses HOLDS rather than =.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.