Template:Fg screenshot cat: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (- 'debug thingie'; doc: fix)
(+doc: +rel: FlightGear wiki:FlightGear screenshot categories)
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
   <!-- | de =  German-->
   <!-- | de =  German-->
   | en =  <!-- English-->
   | en =  <!-- English-->
     {{en}} Category with in-sim FlightGear screenshots of
     {{en|Category with FlightGear in-sim screenshots of {{{1}}}. {{#if: {{{2|}}} | ''{{{2}}}'' }} }}
   <!-- | es =  Spanish -->
   <!-- | es =  Spanish -->
   <!-- | fa =  Farsi -->
   <!-- | fa =  Farsi -->
Line 21: Line 21:
   <!-- | zh =  Chinese -->
   <!-- | zh =  Chinese -->
   | lang = {{{3|en}}}
   | lang = {{{3|en}}}
   }} <!--
   }}
  --> {{{1}}}. {{#if: {{{2|}}} | ''{{{2}}}'' }}
  |  <!-- No, the subject is not defined.  Throw an error. -->
  |  <!-- No, the subject is not defined.  Throw an error. -->
   <big style="color: red;">{{tl|fg screenshot cat}}: Parameter '''subject''' is missing</big>
   <big style="color: red;">{{tl|fg screenshot cat}}: Parameter '''subject''' is missing</big>
Line 29: Line 28:
__NOTOC__
__NOTOC__
== Goal ==
== Goal ==
This template is used for the category description in categories with in-sim FlightGear screenshots.
This template is used for the description of categories with in-sim FlightGear screenshots.


The template have been prepared to simplify adding more languages.
The template have been prepared to simplify adding more languages than English.


== Usage ==
== Usage ==
Put the template on top of the category template, but below any {{tl|meta category}} template.
Put the template on top of the category link(s), but below any {{tl|meta category}} template.


  {{obr}}'''fg screenshot cat'''{{!}}''subject''{{!}}''remark''<!-- {{!}}''langcode'' -->{{cbr}}
  {{obr}}'''fg screenshot cat'''{{!}}subject{{!}}''remark''<!-- {{!}}''langcode'' -->{{cbr}}


All parameters but '''subject''' is optional.
All parameters but '''subject''' is optional.
Line 50: Line 49:


{{fg screenshot cat|civil utility aircraft}}
{{fg screenshot cat|civil utility aircraft}}
{{obr}}fg screenshot cat{{!}}the <nowiki>[[Eurocopter EC130 B4|Eurocopter EC130]]</nowiki>{{cbr}}
{{fg screenshot cat|the [[Eurocopter EC130 B4|Eurocopter EC130]]}}


  {{obr}}fg screenshot cat{{!}}civil aircraft, following the structure in <nowiki>[[:Category:Civil aircraft]]</nowiki>{{!}}See also <nowiki>[[:Category:Screenshots of civil aircraft by type]]</nowiki>.{{cbr}}
  {{obr}}fg screenshot cat{{!}}civil aircraft, following the structure in <nowiki>[[:Category:Civil aircraft]]</nowiki>{{!}}See also <nowiki>[[:Category:Screenshots of civil aircraft by type]]</nowiki>.{{cbr}}
Line 60: Line 63:
In addition not all languages have associated [[:Category:Language templates|language templates]].
In addition not all languages have associated [[:Category:Language templates|language templates]].


== Related content ==
* [[FlightGear wiki:FlightGear screenshot categories]]
}}
}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 20:45, 19 July 2015

{{fg screenshot cat}}: Parameter subject is missing

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

Goal

This template is used for the description of categories with in-sim FlightGear screenshots.

The template have been prepared to simplify adding more languages than English.

Usage

Put the template on top of the category link(s), but below any {{meta category}} template.

{{fg screenshot cat|subject|remark}}

All parameters but subject is optional.

subject
The category subject. Can also handle wiki links.
remark
Any remarks etc. Can also handle wiki links.

Examples

{{fg screenshot cat|civil utility aircraft}}

(en) Category with FlightGear in-sim screenshots of civil utility aircraft.

{{fg screenshot cat|the [[Eurocopter EC130 B4|Eurocopter EC130]]}}

(en) Category with FlightGear in-sim screenshots of the Eurocopter EC130.

{{fg screenshot cat|civil aircraft, following the structure in [[:Category:Civil aircraft]]|See also [[:Category:Screenshots of civil aircraft by type]].}}

(en) Category with FlightGear in-sim screenshots of civil aircraft, following the structure in Category:Civil aircraft. See also Category:Screenshots of civil aircraft by type.

Known issues

Currently the template only supports English, but the template have been prepared to simplify adding more languages.

In addition not all languages have associated language templates.

Related content