Template:Short description: Difference between revisions
From Vigyanwiki
Template>Jonesey95 (typo in cat name) |
Template>Trialpears (Add tracking category for long short descriptions see talk) |
||
| 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}}}}}s with short description]]</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}}}}}s 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 }}<!-- | ||
-->{{#if: {{{bot|}}} | [[Category:{{{pagetype|{{pagetype|defaultns = extended}}}}}s with short description added by {{{bot|}}}]]}}<noinclude> | -->{{#if: {{{bot|}}} | [[Category:{{{pagetype|{{pagetype|defaultns = extended}}}}}s with short description added by {{{bot|}}}]]}}{{#ifexpr:{{#invoke:String|len|{{{1|}}}}}>100|[[Category:{{{pagetype|{{pagetype|defaultns = extended}}}}}s 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> | ||
Revision as of 23:43, 17 December 2019
Lua error in Module:TNT at line 182: Missing Commons dataset I18n/Module:TNT.tab.