Template:Airport-stub: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(+ Section parameter; + Related templates; + Category suppression)
m (Fix for the French translation.)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class=toccolours style="text-align: center; width: 100%; font-size: 100%; clear:both; margin-top:1em; margin-bottom:-0.5em;"
{| class="toccolours" style="text-align: center; width: 100%; font-size: 100%; clear: both; margin-top: 1em; margin-bottom: 1em;"
| '''This {{#if: {{{section|}}} | section | airport article}} is a [[:Category:Stubs|stub]].''' You can help the wiki by <span class=plainlinks>[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expanding it].</span>.
| {{LangSwitch
| de = '''Dieser Flughafen {{#if: {{{section|}}} | Abschnitt | Artikel}} ist ein [[:Category:Stubs|Stummel]].''' Sie können die Wiki durch <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} die Erweiterung des Artikels] helfen.</span>
| en = '''This {{#if: {{{section|}}} | section | airport article}} is a [[:Category:Stubs|stub]].''' You can help the wiki by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].</span>
| fr = '''{{#if: {{{section|}}} | Cette section | Cet article}} d'aéroport est une [[:Category:Stubs|ébauche]].''' Vous pouvez aider le wiki en <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} l'élargissant].</span>
}}
|}<includeonly>{{main other|[[Category:Airport stubs]]}}</includeonly><noinclude>
|}<includeonly>{{main other|[[Category:Airport stubs]]}}</includeonly><noinclude>
{{Informative template|1=
{{Informative template|1=
Line 10: Line 14:


== Usage ==
== Usage ==
  <nowiki>{{</nowiki>'''airport-stub'''<nowiki>|</nowiki>''section=''<nowiki>}}</nowiki>
  {{obr}}'''airport-stub'''{{!}}''section=''{{cbr}}


; section:  Optional parameter to use if the template is placed in a section.  If not empty the template will read "This section is a stub".
; section:  Optional parameter to use if the template is placed in a section.  If not empty the template will read "This section is a stub".

Latest revision as of 14:25, 21 June 2016

This airport article is a stub. You can help the wiki by expanding it.
The following template description is not displayed when the template is inserted in an article.

Goal

This template can be added to airport pages that should be extended.

The page will automatically be added to Category:Airport stubs.

Usage

{{airport-stub|section=}}
section
Optional parameter to use if the template is placed in a section. If not empty the template will read "This section is a stub".

Examples

{{airport-stub}}
This airport article is a stub. You can help the wiki by expanding it.
{{airport-stub|section=1}}
This section is a stub. You can help the wiki by expanding it.

Related templates