Difference between revisions of "Template:Aero-stub"

From FlightGear wiki
Jump to: navigation, search
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 aircraft 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 | aircraft 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:Aircraft stubs]]</includeonly>
+
|}
<noinclude>
+
<includeonly>{{main other|[[Category:Aircraft stubs]]}}</includeonly><noinclude>
 
{{Informative template|1=
 
{{Informative template|1=
 +
__NOTOC__
 
== Goal ==
 
== Goal ==
 
This template can be added to aircraft pages that should be extended.
 
This template can be added to aircraft pages that should be extended.
Line 10: Line 11:
  
 
== Usage ==
 
== Usage ==
<pre>
+
<nowiki>{{</nowiki>'''aero-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>{{aero-stub}}</nowiki>
 
{{aero-stub}}
 
{{aero-stub}}
</pre>
+
 
 +
<nowiki>{{aero-stub|section=1}}</nowiki>
 +
{{aero-stub|section=1}}
 +
 
 +
== Related templates ==
 +
* {{tl|stub}}
 +
* {{tl|airport-stub}}
 +
 
 
}}
 
}}
  

Revision as of 01:26, 18 May 2014

This aircraft 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 aircraft pages that should be extended.

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

Usage

{{aero-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

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

Related templates