Template:List of lists: Difference between revisions

From WikiMD's Wellness Encyclopedia

CSV import
 
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{dmbox
{{dmbox
| type = setindex
| type = setindex
| text =This article includes {{#switch: {{trunc |{{lc:{{{1}}}}}|1}}|a|e|i|o|u=an|#default=a}} {{#if:{{{1|}}} | {{#if:{{{2|}}} | {{#if:{{{3|}}}
| text =This article includes {{a or an|{{#if:{{{1|}}} | {{#if:{{{2|}}} | {{#if:{{{3|}}}
   |{{trim|{{{1}}}}}-, {{trim|{{{2}}}}}- and {{trim|{{{3}}}}}
   |{{#if:1|{{{1}}}}}-, {{#if:1|{{{2}}}}}- and {{#if:1|{{{3}}}}}
   |{{trim|{{{1}}}}}- and  {{trim|{{{2}}}}} }}
   |{{#if:1|{{{1}}}}}- and  {{#if:1|{{{2}}}}} }}
   |{{trim|{{{1}}}}} }}-related
   |{{#if:1|{{{1}}}}} }}-related
   |}} [[WikiMD:Stand-alone lists#Lists_of_lists|list of lists]]. {{
   |}} [[Wikipedia:Lists of lists|list of lists]]}}. {{
   #switch: {{padleft:|4|{{PAGENAME}} }}
   #switch: {{padleft:|4|{{PAGENAME}} }}
   | List =  <!--Pagename begins with "List", so not likely to be linked unintentionally-->
   | List =  <!--Pagename begins with "List", so not likely to be linked unintentionally-->
Line 14: Line 14:
|  {{#switch:{{{1|}}}      <!-- Test first parm, which may hold a subcategory -->
|  {{#switch:{{{1|}}}      <!-- Test first parm, which may hold a subcategory -->
   |= [[Category:Lists of lists]]      <!-- No first parm: use main category "Lists of lists" -->
   |= [[Category:Lists of lists]]      <!-- No first parm: use main category "Lists of lists" -->
  |officeholders= [[Category:Lists of lists of officeholders]]  <!-- Special subcategory for officeholders, moved after [[Wikipedia:Categories_for_discussion/Log/2021_May_27#Category:Lists_of_officeholders_lists]] -->
   |people= [[Category:Lists of lists of people]]  <!-- Special subcategory for people -->
   |people= [[Category:Lists of lists of people]]  <!-- Special subcategory for people -->
  |American Civil War orders of battle= [[Category:Lists of American Civil War orders of battle|{{MultiReplace|{{PAGENAME}}|plain=yes|Battle of the ||Battle of ||First Battle of ||Second Battle of ||Third Battle of ||Siege of |}}]]  <!-- Special subcategory without "lists" at the end. Sort by what the battle is named after. -->
   |#default= [[Category:Lists of {{{1|}}} lists]]    <!-- Standard subcategory for other -->
   |#default= [[Category:Lists of {{{1|}}} lists]]    <!-- Standard subcategory for other -->
   }} {{#switch:{{{2|}}}  |=  |people= [[Category:Lists of lists of people]]  |#default= [[Category:Lists of {{{2|}}} lists]]   
   }} {{#switch:{{{2|}}}  |=  |people= [[Category:Lists of lists of people]]  |#default= [[Category:Lists of {{{2|}}} lists]]   
Line 25: Line 27:
--> {{#if:{{{listcat|}}}| [[Category:Lists of lists with listcat specified]] |}} <!--
--> {{#if:{{{listcat|}}}| [[Category:Lists of lists with listcat specified]] |}} <!--
--> {{#if:{{{sort|}}}|[[Category:Lists of lists with sort specified]]|}}
--> {{#if:{{{sort|}}}|[[Category:Lists of lists with sort specified]]|}}
|}}<noinclude>
|}}<includeonly>{{#ifeq:{{#invoke:redirect|isRedirect|{{TALKPAGENAME}}}}|yes|[[Category:Unsynchronized disambiguation talk pages]]}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>
{{no-index-template}}

Latest revision as of 19:31, 8 March 2025