Template:Main other: Difference between revisions

From Myrna Family Tree
Jump to navigationJump to search
Created page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{ns:0}} | main | other }} }} | main = {{{1|}}} | other | #default = {{{2|}}} }}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! --> </noinclude>"
 
No edit summary
 
Line 1: Line 1:
{{#switch:
{{#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>{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:{{pagetype |defaultns = all |user=exclude}}|exclude||{{#ifeq:{{#switch: {{NAMESPACENUMBER}} | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 100 | 101 | 118 | 119 | 828 | 829 | = exclude|#default=}}|exclude||[[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with short description]]}}}}}}</includeonly><!-- Start tracking
  <!--If no or empty "demospace" parameter then detect namespace-->
-->{{#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:{{{demospace|}}}  
-->{{#ifexpr: {{#invoke:String|len|{{{1|}}}}}>100 | [[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with long short description]]}}<!--
  | {{lc: {{{demospace}}} }}   <!--Use lower case "demospace"-->
--><includeonly>{{#if:{{{1|}}}||[[Category:Pages with empty short description]]}}</includeonly><!--
  | {{#ifeq:{{NAMESPACE}}|{{ns:0}}
-->{{Short description/lowercasecheck|{{{1|}}}}}<!--
    | main
-->{{Main other |{{SDcat |sd={{{1|}}} }} }}<noinclude>
    | other
{{Documentation}}
    }}  
  }}
| main    = {{{1|}}}
| other
| #default = {{{2|}}}
}}<noinclude>
 
{{documentation}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude>
</noinclude>

Latest revision as of 17:40, 30 October 2024

{{#ifeq:|none||

}}{{#invoke:Check for unknown parameters|check|unknown={{#ifeq:|none||

}}{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:{{safesubst:#invoke:pagetype|main}}|exclude||{{#ifeq:{{#switch: 10 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 100 | 101 | 118 | 119 | 828 | 829 | = exclude|#default=}}|exclude||[[Category:{{safesubst:#invoke:pagetype|main}} with short description]]}}}}}}{{#invoke:Check for unknown parameters|check|unknown=Template loop detected: Template:Main other|preview=Page using Template:Short description with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | pagetype | bot |plural }}{{#ifexpr: {{#invoke:String|len|}}>100 | [[Category:{{safesubst:#invoke:pagetype|main}} with long short description]]}}{{#if:||}}Template:Short description/lowercasecheckTemplate loop detected: Template:Main other|preview=Page using Template:Short description with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | pagetype | bot |plural }}{{#ifexpr: {{#invoke:String|len|}}>100 | [[Category:{{safesubst:#invoke:pagetype|main}} with long short description]]}}Template:Short description/lowercasecheck{{#ifeq:template:sdcat|none||

}}{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:{{safesubst:#invoke:pagetype|main}}|exclude||{{#ifeq:{{#switch: 10 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 100 | 101 | 118 | 119 | 828 | 829 | = exclude|#default=}}|exclude||[[Category:{{safesubst:#invoke:pagetype|main}} with short description]]}}}}}}{{#invoke:Check for unknown parameters|check|unknown=Template loop detected: Template:Main other|preview=Page using Template:Short description with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | pagetype | bot |plural }}{{#ifexpr: {{#invoke:String|len|Template:SDcat }}>100 | [[Category:{{safesubst:#invoke:pagetype|main}} with long short description]]}}{{#if:Template:SDcat ||}}Template:Short description/lowercasecheckTemplate loop detected: Template:Main other

Template:Documentation