Template:Airport-stub: Difference between revisions

Jump to navigation Jump to search
+ Section parameter; + Related templates; + Category suppression
m (+-cat: Message box templates → Messagebox templates for consistancy)
(+ Section parameter; + Related templates; + Category suppression)
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:-0.5em;"
| '''This 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>.
| '''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>.
|}<includeonly>[[Category:Airport stubs]]</includeonly><noinclude>
|}<includeonly>{{main other|[[Category:Airport stubs]]}}</includeonly><noinclude>
{{Informative template|1=
{{Informative template|1=
== Goal ==
== Goal ==
__NOTOC__
This template can be added to airport pages that should be extended.
This template can be added to airport pages that should be extended.


Line 9: Line 10:


== Usage ==
== Usage ==
<pre>
<nowiki>{{</nowiki>'''airport-stub'''<nowiki>|</nowiki>''section=''<nowiki>}}</nowiki>
 
; 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 ==
<nowiki>{{airport-stub}}</nowiki>
{{airport-stub}}
{{airport-stub}}
</pre>
 
<nowiki>{{airport-stub|section=1}}</nowiki>
{{airport-stub|section=1}}
 
== Related templates ==
* {{tl|stub}}
* {{tl|aero-stub}}
 
}}
}}


Navigation menu