Template:Short description: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(Changing category name per Wikipedia:Categories for discussion/Log/2020 June 4#Category:Disambiguation page with short description) |
(→top: add tracking cats to compare with Wikidata) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{1|}}}|none||<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 |
{{#ifeq:{{{1|}}}|none||<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 |
||
-->{{#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 }}<!-- |
-->{{#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 }}<!-- |
||
-->{{#if: {{{bot|}}} | [[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with short description added by {{{bot|}}}]]}}{{#ifexpr:{{#invoke:String|len|{{{1|}}}}}>100|[[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with long short description]]}}< |
-->{{#if: {{{bot|}}} | [[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with short description added by {{{bot|}}}]]}}{{#ifexpr:{{#invoke:String|len|{{{1|}}}}}>100|[[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with long short description]]}}<!-- |
||
-->{{main other |{{SDcat |sd={{{1|}}} }} }}<noinclude> |
|||
<!-- to implement this, set the class to display:none and remove the inline style here --> |
|||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |