Difference between revisions of "Template:Short description"

From Sim Football Wiki
Jump to navigation Jump to search
m (1 revision imported)
m (Changed protection settings for "Template:Short description": 4 million transclusions (WP:HRT) ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite)))
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><noinclude>
+
{{#ifeq:{{lc:{{{1|}}}}}|none|<nowiki /><!--Prevents whitespace issues when used with adjacent newlines-->|<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
<!-- to implement this, set the class to display:none and remove the inline style here -->
+
-->{{#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 }}<!--
{{documentation}}</noinclude>
+
-->{{#ifexpr: {{#invoke:String|len|{{{1|}}}}}>100 | [[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with long short description]]}}<!--
 +
-->{{Short description/lowercasecheck|{{{1|}}}}}<!--
 +
-->{{Main other |{{SDcat |sd={{{1|}}} }} }}<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Revision as of 12:33, 12 February 2022