Template:Which airport: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Created page with "<sup><nowiki>[</nowiki>''Which?''<nowiki>]</nowiki></sup><includeonly>Category:Images of unidentified airports</includeonly><noinclude> {{Inform...")
 
(+-auto cat: Images of unidentified airports → Screenshots of unidentified airports; +-cat: Templates → Maintenance templates; Style; etc)
 
Line 1: Line 1:
[[Template:Which airport|<sup><nowiki>[</nowiki>''Which?''<nowiki>]</nowiki></sup>]]<includeonly>[[Category:Images of unidentified airports]]</includeonly><noinclude>
[[Template:Which airport|<sup><nowiki>[</nowiki>''Which?''<nowiki>]</nowiki></sup>]]<includeonly>{{file other | [[Category:Screenshots of unidentified airports]] }}</includeonly><noinclude>
{{Informative template|1=
{{Informative template|1=
__NOTOC__
== Goal ==
== Goal ==
This template can be used at file information pages to mark airports as unidentified.
This template can be used on file pages with screenshots of FlightGear airports to mark them as unidentified.


Using this template also puts the file in [[:Category:Images of unidentified airports]].
Adding this template to a page in the file namespace will automatically add [[:Category:Screenshots of unidentified airports]] to that page.


== Usage ==
== Usage ==
  <nowiki>{{</nowiki>'''which airport'''<nowiki>|</nowiki>''YYYY-MM''<nowiki>}}</nowiki>
  <nowiki>{{</nowiki>'''which airport'''<nowiki>|</nowiki>''month={{CURRENTYEAR}}-{{CURRENTMONTH}}''<nowiki>}}</nowiki>
Where the optional <tt>''YYYY-MM''</tt> parameter would indicate to other editors how long the airport has been marked as unidentified.


While the month currently is not rendered or used in any other way, it might be helpful in the future
; month:  Optional month the template was added in YYYY-MM format, for example '''{{CURRENTYEAR}}-{{CURRENTMONTH}}'''.
 
While '''month''' currently is not rendered or used in any other way, it might be helpful for other editors or in the future.


== Examples ==
== Examples ==
  <nowiki>A climbing cargo aircraft in Example Airlines livery over an airport.{{which airport|</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}<nowiki>}}</nowiki>
  <nowiki>A climbing cargo aircraft in Example Airlines livery over an airport.{{which airport|</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}<nowiki>}}</nowiki>
A climbing cargo aircraft in Example Airlines livery over an airport.[[Template:Which airport|<sup><nowiki>[</nowiki>''Which?''<nowiki>]</nowiki></sup>]]
A climbing cargo aircraft in Example Airlines livery over an airport.{{which airport|{{CURRENTYEAR}}-{{CURRENTMONTH}}}}


== Related template ==
* {{tl|which aircraft}}
}}
}}
[[Category:Templates]]
 
[[Category:Maintenance templates]]
</noinclude>
</noinclude>

Latest revision as of 20:28, 15 May 2014

[Which?]

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

Goal

This template can be used on file pages with screenshots of FlightGear airports to mark them as unidentified.

Adding this template to a page in the file namespace will automatically add Category:Screenshots of unidentified airports to that page.

Usage

{{which airport|month=2024-03}}
month
Optional month the template was added in YYYY-MM format, for example 2024-03.

While month currently is not rendered or used in any other way, it might be helpful for other editors or in the future.

Examples

A climbing cargo aircraft in Example Airlines livery over an airport.{{which airport|2024-03}}

A climbing cargo aircraft in Example Airlines livery over an airport.[Which?]

Related template