Vorlage:Short description: Unterschied zwischen den Versionen
update from sandbox - implement plurals
(update from sandbox - implement plurals) |
|||
| Zeile 1: | Zeile 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}}}}} | {{#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]]</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 }}<!-- | -->{{#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}}}}} | -->{{#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]]}}<noinclude> | ||
<!-- to implement this, set the class to display:none and remove the inline style here --> | <!-- to implement this, set the class to display:none and remove the inline style here --> | ||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> | ||