Template:Short description: Difference between revisions

From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Template:Short description -->
<!-- Template:Short description (strict no-HTML) -->
<!-- Usage: {{Short description|Your short description here|noreplace}} -->
<!-- Usage: {{Short description|Your short description here}} or {{Short description|none}} -->
 
{{#ifeq: {{lc:{{{1|}}}}} | none
{{#ifeq: {{lc:{{{1|}}}}} | none
  | <nowiki /><!-- prevent whitespace when explicitly disabled -->
  |  
  | <div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">
  | {{#if: {{{1|}}}
  {{{1|}}}
    | <!-- SHORTDESC disabled on this wiki: would have been {{SHORTDESC:{{{1}}}|{{{2|}}}}} -->
  {{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>
<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 21:02, 12 September 2025



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