HopperWiki:Content management

From HopperWiki
Jump to navigation Jump to search

These templates are generally used to access structured data content, format it, and display it across the various 'themes' of the wiki (e.g. Species, Organization, Resource, Person).

Geography

General content creation

  • {{Geography infobox}}: Creates the infobox for a geography page Learn more here.
  • {{Geography content}}: Lists child geography for a given focal page, as well as lists of organizations and resources. Learn more here.

Filtering structured data from Cargo

Organization

General content creation

For theme pages of subtype Organization

  • {{Organization content}}: Returns the both departments and then resources for the focal organization Learn more here.

For theme pages of subtype Parent organization

  • {{Parent organization content}}: Returns the child organizations for the focal parent organization Learn more here.

Querying/filtering

  • {{Organizations for species}}: Returns organizations based on the `Species` field Learn more here.
  • {{Organizations for type}}: Returns organizations based on the `Type` field Learn more here.
  • {{Organizations for focus}}: Returns organizations based on the `Focus` field Learn more here.
  • {{Organizations for focus keyword}}: Returns organizations based on the `Focus keywords` field Learn more here.

Person

General content creation

  • {{Person biography}}: Calls the biography function to fetch the biography text for a focal page with no header Learn more here.
  • {{Person biography header}}: Calls the biography function to fetch the biography text for a focal page and includes a wiki header Learn more here.
  • {{Person gallery}}: Generates a simple gallery of people based on a comma-delimited list of full names Learn more here.
  • {{Person bio box}}: Generates a box with a person's photo and biography if they are available Learn more here.
  • {{User bio}}: This function is deprecated and should no longer be used. For historic reasons it is kept in place. This template also calls the biography function and is redundant with the above template. This version is used on pages that were not individual person pages (like the GLI network expert identifiers) to fetch the biography text for a focal page. We could remove this function later and make all pages use Template:Person biography. Learn more here.

Filtering structured data from Cargo

Miscellaneous

  • {{User to person}}: Invokes a function that connects a user's MediaWiki base user account page to their nicer looking Person page. Learn more here.

Project

General content creation

Filtering structured data from Cargo

Publication

General content creation

Filtering structured data from Cargo

  • {{Publications for project}}: Calls a function that queries publications based on their connection to a project Learn more here.

Resource

Per our current schema there are two hierarchical levels in this theme: resources and subresources. Only some resources are composed of subresources and this is when a resources is composed of multiple files or video links, etc.

General content creation

  • {{Resource content}}: Invokes functions that provide resource description and lists subresources (if they exist) in the body of a given resource page Learn more here.

Filtering structured data from Cargo

  • {{Resources for project}}: Produces a table of the resources for a given project. Learn more here.
  • {{Resources for descriptive keyword}}: This template is a wrapper around a Cargo query where resources can be queried by using a single resource descriptive keyword Learn more here.
  • {{Resource for category}}: Query resources by a single resource category Learn more here.

Species

General content creation

  • {{Higher taxon content}}: Calls the get_taxon_list function to produce list of daughter taxa for focal rank Learn more here.

Filtering structured data from Cargo

  • {{Species for administrative unit}}: Returns a table of species for a given administrative unit Learn more here.
  • {{Species identification resources}}: Returns identification resources for a focal species Learn more here.
  • {{Species management resources}}: Returns management resources for a focal species Learn more here.
  • {{Species media}}: Returns media resources for a focal species Learn more here.
  • {{OSF}}: Returns identification resources for a focal species Learn more here.