Template:Short description: Difference between revisions

From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
Icem4k (talk | contribs)
m 1 revision imported
No edit summary
Line 1: Line 1:
{{#ifeq:{{lc:{{{1|}}}}}|none|<nowiki /><!--Prevents whitespace issues when used with adjacent newlines-->|<div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">{{{1|}}}{{SHORTDESC:{{{1|}}}|{{{2|}}}}}</div>}}<includeonly>[[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with short description{{#ifeq:{{{pagetype}}}|Disambiguation pages|s}}]]</includeonly><!-- Start tracking
<!-- Template:Short description -->
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using short description with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Short description]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | pagetype | bot |plural }}<!--
<!-- Usage: {{Short description|Your short description here|noreplace}} -->
-->{{#ifexpr: {{#invoke:String|len|{{{1|}}}}}>100 | [[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with long short description]]}}<!--
{{#ifeq: {{lc:{{{1|}}}}} | none
-->{{Main other |{{SDcat |sd={{{1|}}} }} }}<noinclude>
| <nowiki /><!-- prevent whitespace when explicitly disabled -->
| <div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">
  {{{1|}}}
  {{SHORTDESC:{{{1|}}}|{{{2|}}}}}
  </div>
}}
 
<includeonly>
  <!-- Page-type categorization -->
  [[Category:{{{pagetype|{{pagetype |defaultns = extended |plural = y}}}}} with short description{{#ifeq:{{{pagetype|}}}|Disambiguation pages|s}}]]
 
  <!-- Unknown parameter tracking (requires Module:Check for unknown parameters) -->
  {{#invoke:Check for unknown parameters
    | check
    | unknown = {{Main other|[[Category:Pages using short description with unknown parameters|_VALUE_{{PAGENAME}}]]}}
    | preview = Page using [[Template:Short description]] with unknown parameter "_VALUE_"
    | ignoreblank = y
    | 1
    | 2
    | pagetype
    | bot
    | plural
  }}
 
  <!-- Long short description tracking -->
  {{#if:{{{1|}}}
    | {{#ifexpr: {{#invoke:String|len|{{{1|}}}}} > 100
        | [[Category:{{{pagetype|{{pagetype |defaultns = extended |plural = y}}}}} with long short description]]
      }}
  }}
 
  <!-- Optional SD category hook if you have Template:SDcat -->
  {{Main other | {{SDcat | sd = {{{1|}}} }} }}
</includeonly>
 
<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 20:24, 12 September 2025



<templatestyles src="Module:Documentation/styles.css"></templatestyles>