Template:Screenshot cat

From FlightGear wiki
Revision as of 16:22, 22 July 2020 by Johan G (talk | contribs) (Minor clarifications and fixes)
Jump to navigation Jump to search

{{screenshot cat}}: The parameter category is missing

The following template description is not displayed when the template is inserted in an article.

Goal

This template can be added to articles about a certain subject of which there is a category with in-sim screenshots from FlightGear, for example aircraft, airports or scenery.

Usage

Preferably add this to the top of the Related contents section of the article about the subject or on top of disambiguation pages.

{{screenshot cat
| category = 
| subject  = 
| image    = 
}}

The parameter category is mandatory. The other parameters are optional.

category
Category with screenshots without the Category: prefix, for example McDonnell Douglas F-15 Eagle screenshots‎ for Category:McDonnell Douglas F-15 Eagle screenshots‎.
subject
Subject of the category including the if needed, for example the McDonnell Douglas F-15 Eagle. Defaults to the name of the page the template is placed on.
image
Representative image (that is legible in a very small thumbnail) without the File: prefix, for example F-15.jpg. Defaults to a screenshot icon.

Examples

{{screenshot cat
| category = McDonnell Douglas F-15 Eagle screenshots
}}

{{screenshot cat
| category = McDonnell Douglas F-15 Eagle screenshots
| subject  = the McDonnell Douglas F-15 Eagle
}}

{{screenshot cat
| category = McDonnell Douglas F-15 Eagle screenshots
| subject  = the McDonnell Douglas F-15 Eagle
| image    = F-15.jpg
}}

Related templates

Related content