Template:Fg screenshot cat: Difference between revisions
(Created page with "{{#if: {{{1|-}}} <!-- Is the subject defined? --> | <!-- Yes, the subject is defined. Go ahead. --> {{LangSwitch <!-- | ca = Catalan --> <!-- | de = German--> |...") |
(+doc: +rel: FlightGear wiki:FlightGear screenshot categories) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{1| | {{#if: {{{1|}}} <!-- Is the subject defined? --> | ||
| <!-- Yes, the subject is defined. Go ahead. --> | | <!-- Yes, the subject is defined. Go ahead. --> | ||
{{LangSwitch | {{LangSwitch | ||
Line 5: | Line 5: | ||
<!-- | de = German--> | <!-- | de = German--> | ||
| en = <!-- English--> | | en = <!-- English--> | ||
{{en | {{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}}} | ||
}} | |||
| <!-- 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 | 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 == | ||
{{obr}}'''fg screenshot cat'''{{!}} | 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}} | |||
All parameters but '''subject''' is optional. | All parameters but '''subject''' is optional. | ||
Line 46: | Line 47: | ||
== Examples == | == Examples == | ||
{{obr}}fg screenshot cat{{!}}civil utility aircraft{{cbr}} | {{obr}}fg screenshot cat{{!}}civil utility aircraft{{cbr}} | ||
{{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}} | ||
{{fg screenshot cat|civil aircraft, following the structure in [[:Category:Civil aircraft]] | |||
{{fg screenshot cat|civil aircraft, following the structure in [[:Category:Civil aircraft]]|See also [[:Category:Screenshots of civil aircraft by type]].}} | |||
== Known issues == | == Known issues == | ||
Line 56: | 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
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.