Template:Screenshot cat: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#if: <!--- Is the category parameter defined? ---> {{{category|}}} | <!-- Yes, the category parameter is defined. Continue. --> {{side box | image = File:{{{image|Scre...") |
(Minor clarifications and fixes) |
||
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. | |||
{{obr}}'''screenshot cat''' | {{obr}}'''screenshot cat''' | ||
{{!}} category = | {{!}} category = | ||
{{!}} ''subject'' = | {{!}} ''subject'' = | ||
{{!}} ''image'' = | {{!}} ''image'' = | ||
{{cbr}} | {{cbr}} | ||
Revision as of 16:22, 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 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 }}
There is a category with screenshots of Screenshot cat. |
{{screenshot cat | category = McDonnell Douglas F-15 Eagle screenshots | subject = the McDonnell Douglas F-15 Eagle }}
There is a category with screenshots of 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 }}
There is a category with screenshots of the McDonnell Douglas F-15 Eagle. |