Template:Stub2: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
(Created page with "<noinclude> <!-- N'insérer AUCUN blanc ou saut de ligne avant < noinclude > ou après < /noinclude >. --> * This is the template used to put a banner in front of an article...")
 
mNo edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
<!--
* This is provisional. I don't know how to add the template at the end in the wiki page and display on top in a smart way. Probably needs writing an extension :(
  N'insérer AUCUN blanc ou saut de ligne avant < noinclude > ou après < /noinclude >.
-->
* This is the template used to put a banner in front of an article to identify it as a '''stub'''. The article will also be part of the [[:Category:Stubs]].
* This is the template used to put a banner in front of an article to identify it as a '''stub'''. The article will also be part of the [[:Category:Stubs]].
* Please do not edit this template, unless you know what you do and you have a good idea on how templates work.
* Please do not edit this template, unless you know what you do and you have a good idea on how templates work.
Line 16: Line 14:
== Rendering in an article ==
== Rendering in an article ==
This is how the banner will appear in an article:
This is how the banner will appear in an article:
</noinclude><div class="noprint" style="border:1px solid orange;background-color:#FFFFCD;padding:7px; margin-bottom: 10px; float:top">
</noinclude><div class="noprint" style="border:1px solid orange;background-color:#FFFFCD; padding:7px; margin-bottom: 10px; position:fixed; top:60px; right:0; width:200px">
<p> <span style="font-weight:bold;">This article is a stub</span>. A stub is an entry that did not yet receive substantial attention from editors, and as such does not yet contain enough information to be considered a real article. In other words, it is a short or insufficient piece of information and requires additions.</p></div>
<p> <span style="font-weight:bold;">This article is a stub</span>. A stub is an entry that did not yet receive substantial attention from editors, and as such does not yet contain enough information to be considered a real article. In other words, it is a short or insufficient piece of information and requires additions.</p></div>
<div class="onlyinprint"><p>''Draft''</p></div>
<div class="onlyinprint"><p>''Draft''</p></div>
<includeonly>[[Category:Stubs]]</includeonly>
<includeonly>[[Category:Stubs]]</includeonly>

Latest revision as of 17:49, 25 February 2019

  • This is provisional. I don't know how to add the template at the end in the wiki page and display on top in a smart way. Probably needs writing an extension :(
  • This is the template used to put a banner in front of an article to identify it as a stub. The article will also be part of the Category:Stubs.
  • Please do not edit this template, unless you know what you do and you have a good idea on how templates work.

Usage for authors

You can get this banner by inserting the following template in your article (usually at the beginning):

  • {{Stub}}

This will also insert your article in the stubs category. See also the Template:Under construction and Template:Incomplete

Rendering in an article

This is how the banner will appear in an article:

This article is a stub. A stub is an entry that did not yet receive substantial attention from editors, and as such does not yet contain enough information to be considered a real article. In other words, it is a short or insufficient piece of information and requires additions.

Draft