|
|
Line 1: |
Line 1: |
| <!-- Template:Short description (enhanced, guarded) --> | | <!-- Template:Short description (strict no-HTML) --> |
| | <!-- Usage: {{Short description|Your short description here}} or {{Short description|none}} --> |
| | |
| {{#ifeq: {{lc:{{{1|}}}}} | none | | {{#ifeq: {{lc:{{{1|}}}}} | none |
| | <nowiki /> | | | |
| | {{#if: {{{1|}}} | | | {{#if: {{{1|}}} |
| | <div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none"> | | | {{SHORTDESC:{{{1}}}|{{{2|}}}}} |
| {{{1}}}
| |
| {{SHORTDESC:{{{1}}}|{{{2|}}}}}
| |
| </div>
| |
| }} | | }} |
| }} | | }} |
|
| |
| <includeonly>
| |
| <!-- Page-type category (guard if Template:Pagetype exists) -->
| |
| {{#ifexist: Template:Pagetype
| |
| | [[Category:{{{pagetype|{{pagetype|defaultns=extended|plural=y}}}}} with short description{{#ifeq:{{{pagetype|}}}|Disambiguation pages|s}}]]
| |
| | [[Category:Pages with short description]]
| |
| }}
| |
|
| |
| <!-- Unknown-parameter tracker (only if module exists) -->
| |
| {{#ifexist: 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 (only if Module:String exists) -->
| |
| {{#if: {{{1|}}}
| |
| | {{#ifexist: Module:String
| |
| | {{#ifexpr: {{#invoke:String|len|{{{1}}}}} > 100
| |
| | [[Category:{{{pagetype|{{#ifexist:Template:Pagetype|{{pagetype|defaultns=extended|plural=y}}|Pages}}}} with long short description]]
| |
| }}
| |
| }}
| |
| }}
| |
|
| |
| <!-- Optional SDcat if it exists -->
| |
| {{#ifexist: Template:SDcat | {{Main other | {{SDcat | sd = {{{1|}}} }} }} }}
| |
| </includeonly>
| |
|
| |
|
| <noinclude> | | <noinclude> |
| {{Documentation}} | | {{Documentation}} |
| </noinclude> | | </noinclude> |