Template:Stub: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(change negative margin; better German translation for "stub."; link construction change)
(+- Making the template add a category when placed in the template namespace as well; +doc: Documenting that too)
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  | de = '''Dieser {{#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>
  | de = '''Dieser {{#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 | article}} is a [[:Category:Stubs|stub]].''' You can help the wiki by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].</span>
  | en = '''This {{#if: {{{section|}}} | section | 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}} est un [[:Category:Stubs|bouchon]].''' Vous pouvez aider le wiki en <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} l'élargissant].</span>
  | fr = '''{{#if: {{{section|}}} | Cette section | Cet article}} 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:Stubs]]}}{{template other|[[Category:Template stubs]]}}</includeonly><noinclude>
<includeonly>{{main other|[[Category:Stubs]]}}</includeonly><noinclude>
{{Informative template|1=
{{Informative template|1=
== Goal ==
== Goal ==
Line 12: Line 11:
This template can be added to the top of pages that should be extended.
This template can be added to the top of pages that should be extended.


Adding this template to a page in the article namespace will automatically add the hidden category [[:Category:Stubs]] to that page.
Adding this template to a page in the article namespace will automatically add the hidden category [[:Category:Stubs]] to that page and adding it to a page in the template namespace will automatically add [[:Category:Template stubs]].


== Usage ==
== Usage ==

Revision as of 15:02, 13 June 2019

This 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 the top of pages that should be extended.

Adding this template to a page in the article namespace will automatically add the hidden category Category:Stubs to that page and adding it to a page in the template namespace will automatically add Category:Template stubs.

Usage

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

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

Related templates

  • Subject specific stub templates:
  • {{incomplete}} For sections and longer articles
  • {{WIP}} If someone is currently working on the article