Template:Screenshot cat: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Minor clarifications and fixes)
(→‎Usage: Now it is on top if Gallery or Related contents section, or disambiguation pages)
Line 15: Line 15:


== Usage ==
== Usage ==
Preferably add this to the top of the ''Related contents'' section of the article about the subject or on top of disambiguation pages.
Preferably add this to the top of the ''Gallery'' or ''Related contents'' section of the article, or on top of disambiguation pages.


  {{obr}}'''screenshot cat'''
  {{obr}}'''screenshot cat'''

Revision as of 16:24, 22 July 2020

{{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 Gallery or Related contents section of the article, 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