Template:Stub category: Difference between revisions

From WikiMD's Wellness Encyclopedia

m 1 revision imported
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Cmbox
<includeonly>
|type = notice
<div class="messagebox {{#if:{{{type|}}}|{{{type}}}}}" style="{{#if:{{{style|}}}|{{{style}}}|text-align:left;}}">
|image = [[File:Wiki letter s.svg|40px]]
  <div class="messagebox-header" style="background-color:{{#if:{{{bgcolor|}}}|{{{bgcolor}}}|#ffecb3}}; padding: 10px;">
|style = text-align:center;
    <strong>{{{title|}}}</strong>
|text = This category is for {{{category type|}}} [[Wikipedia:Stub|stub articles]] relating to {{{article}}}. You can help by expanding them. {{#if:{{{WikiProject|}}}
   </div>
  |Please see [[Wikipedia:WikiProject {{{WikiProject}}}]].
  <div class="messagebox-content" style="padding:10px;">
}}{{#if:{{{newstub|}}}
    <div style="display: flex; align-items: center;">
  |<br />To add an article to this category, use {{tlx|{{{newstub}}}}} instead of {{tlx|stub}}.
      {{#if:{{{image|}}}|<img src="{{{image}}}" alt="Image" style="margin-right:10px;">}
   |{{category handler
      {{{text|}}}
  |category=[[Category:Stub categories needing attention|S{{PAGENAME}}]]
    </div>
  }}
    {{#if:{{{WikiProject|}}}|<br />Please see [[WikiMD:WikiProject {{{WikiProject}}}]] for more information.}}
}}
    {{#if:{{{newstub|}}}|<br />To add an article to this category, use {{tlx|{{{newstub}}}}} instead of {{tlx|stub}}.}}
}}{{#if: {{{message|}}}
    {{#if:{{{message|}}}|<br />{{{message|}}}}}
|<!-- the whitespace here is needed. Please don't remove it -->
  </div>
 
</div>
{{{message|}}}
</includeonly>
{{category handler
<noinclude>{{Documentation}}</noinclude>
      |category=[[Category:Stub categories with message parameter|{{PAGENAME}}]]<!--
  -->}}
}}{{category handler
|category={{#if:{{{category|}}}
  |[[Category:{{{category}}}|Σ{{PAGENAME}}]]
  |[[Category:Stub categories needing attention|P{{PAGENAME}}]]
}}[[Category:Stub categories]]
}}{{#ifexpr:{{PAGESINCATEGORY:{{PAGENAME}}|R}} < 50
|{{category handler
  |category=[[Category:Stub categories needing attention|U{{PAGENAME}}]]
}}
}}{{#ifexpr:{{PAGESINCATEGORY:{{PAGENAME}}|R}} > 800
|{{category handler
  |category=[[Category:Stub categories needing attention|O{{PAGENAME}}]]
}}
}}{{CatAutoTOC}}<!--
--> <noinclude> {{noindex-template}}<!--
-->{{Documentation}}
</noinclude>

Latest revision as of 19:13, 29 April 2025