Template:Aero-stub: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(+ Section parameter; + Related templates; + Category suppression)
m (Remove extra period; internals; doc internals)
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 {{#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>.
| '''This {{#if: {{{section|}}} | section | aircraft article }} is a [[:Category:Stubs|stub]].''' You can help the wiki by <span class=plainlinks>[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].</span>
|}
|}
<includeonly>{{main other|[[Category:Aircraft stubs]]}}</includeonly><noinclude>
<includeonly>{{main other|[[Category:Aircraft stubs]]}}</includeonly><noinclude>
Line 11: Line 11:


== Usage ==
== Usage ==
  <nowiki>{{</nowiki>'''aero-stub'''<nowiki>|</nowiki>''section=''<nowiki>}}</nowiki>
  {{obr}}'''aero-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".

Revision as of 11:56, 9 May 2015

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