Jump to content

User:Keith/templatetest: Difference between revisions

From Consumer Rights Wiki
No edit summary
test
Line 9: Line 9:
* <code>clear=false</code> — don't insert a <code><nowiki>{{clear}}</nowiki></code> before the box.
* <code>clear=false</code> — don't insert a <code><nowiki>{{clear}}</nowiki></code> before the box.


</noinclude><includeonly>{{#switch:{{{clear|}}}|#default={{clear}}|false=}}
</noinclude><noinclude>
<!-- Uses style code from https://www.mediawiki.org/wiki/Template:Colored_box -->
== Usage ==
<div class="cat-mw-box stub noexcerpt navigation-not-searchable">
Simply add <code><nowiki>{{StubNotice}}</nowiki></code> at the top of an article to apply this notice.
<div class="cat-mw-box-header" style="display:flex;align-items:center;gap:10px;">
<span style="font-size:1.5em;line-height:1;"></span>'''This article is a {{#if:{{{type|}}}|{{{type|}}} }}[[Consumer Rights Wiki:Moderator guidelines#A. Available tags:|stub]].'''
</div>
<div class="cat-mw-box-body">
A stub is an article which is underdeveloped and does not yet meet the wiki's [[Consumer Rights Wiki:Moderator guidelines|Content Guidelines]] or [[Mission statement|Mission Statement]]. You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].


To request removal of this notice, post on the [[Consumer Rights Wiki talk:Moderators' noticeboard|Moderator's noticeboard]] or in the Discord ([https://discord.gg/ypUk97Fn79 join here]) <code>[https://discord.com/channels/1324835844812443810/1326356503065526303 #appeals]</code> channel.
=== Parameters ===
</div>
* <code>type</code> — override the descriptor (e.g. <code>type=very short</code> → "This article is a very short stub.")
</div>{{#ifeq:{{NAMESPACE}}||{{#ifeq:{{{nocat|}}}|yes||[[Category:Articles in need of additional work]][[Category:Articles requiring expansion]]}}}}</includeonly>
* <code>nocat=yes</code> — suppress automatic categorisation.
* <code>clear=false</code> — don't insert a <code><nowiki>{{clear}}</nowiki></code> before the box.
 
=== Live preview ===
</noinclude>{{#switch:{{{clear|}}}|#default={{clear}}|false=}}<div style="border:1px solid #a33; background:rgba(170,51,51,0.08); padding:6px 12px; margin:0.5em 0; border-radius:3px; font-size:0.95em;">
<span style="margin-right:6px;">❗</span>'''This article is a {{#if:{{{type|}}}|{{{type|}}} }}[[Consumer Rights Wiki:Moderator guidelines#A. Available tags:|stub]].''' A stub is an article which is underdeveloped and does not yet meet the wiki's [[Consumer Rights Wiki:Moderator guidelines|Content Guidelines]] or [[Mission statement|Mission Statement]]. You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]. To request removal, post on the [[Consumer Rights Wiki talk:Moderators' noticeboard|Moderator's noticeboard]] or in the Discord ([https://discord.gg/ypUk97Fn79 join here]) <code>[https://discord.com/channels/1324835844812443810/1326356503065526303 #appeals]</code> channel.
</div><includeonly>{{#ifeq:{{NAMESPACE}}||{{#ifeq:{{{nocat|}}}|yes||[[Category:Articles in need of additional work]][[Category:Articles requiring expansion]]}}}}</includeonly>

Revision as of 14:48, 4 May 2026

Usage

Simply add {{StubNotice}} at the top of an article to apply this notice.

This article is a stub. A stub is an article which is underdeveloped and does not yet meet the wiki's Content Guidelines or Mission Statement. You can help by expanding it. To request removal, post on the Moderator's noticeboard or in the Discord (join here) #appeals channel.

Parameters

  • type — override the descriptor (e.g. type=very short → "This article is a very short stub.")
  • nocat=yes — suppress automatic categorisation.
  • clear=false — don't insert a {{clear}} before the box.


Usage

Simply add {{StubNotice}} at the top of an article to apply this notice.

Parameters

  • type — override the descriptor (e.g. type=very short → "This article is a very short stub.")
  • nocat=yes — suppress automatic categorisation.
  • clear=false — don't insert a {{clear}} before the box.

Live preview

This article is a stub. A stub is an article which is underdeveloped and does not yet meet the wiki's Content Guidelines or Mission Statement. You can help by expanding it. To request removal, post on the Moderator's noticeboard or in the Discord (join here) #appeals channel.