Difference between revisions of "Template:Cat more if exists/core/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Pppery
(Created page with '{{subst:msgnw:User:Pppery/Template:Cat more if exists}}')
 
imported>Pppery
(Replaced content with '{{subst:msgnw:User:Pppery/Template:Cat more if exists/core}}')
 
Line 1: Line 1:
{{Cat more if exists/core<!--
+
{{#if: {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}<!--
    -->|1={{#if: {{{1|{{PAGENAME}}}}} | {{#ifexist: {{{1|{{PAGENAME}}}}} | {{Trim|{{{1|{{PAGENAME}}}}}}} }}}}<!--
+
     -->|<!--
     -->|2={{#if: {{{2|}}} | {{#ifexist: {{{2|}}} | {{Trim|{{{2|}}}}} }}}}<!--
+
        # We have at least one existing page, so create hatnote
    -->|3={{#if: {{{3|}}} | {{#ifexist: {{{3|}}} | {{Trim|{{{3|}}}}} }}}}<!--
+
        -->{{Hatnote|extraclasses=relarticle mainarticle|For more information, see {{comma separated entries<!--
    -->|4={{#if: {{{4|}}} | {{#ifexist: {{{4|}}} | {{Trim|{{{4|}}}}} }}}}<!--
+
            -->|{{#if: {{{1|}}}|[[{{{1}}}{{#if:{{{l1|}}}|{{!}}{{{l1}}}}}]]}}<!--
    -->|5={{#if: {{{5|}}} | {{#ifexist: {{{5|}}} | {{Trim|{{{5|}}}}} }}}}<!--
+
            -->|{{#if: {{{2|}}}|[[{{{2}}}{{#if:{{{l2|}}}|{{!}}{{{l2}}}}}]]}}<!--
    -->|6={{#if: {{{6|}}} | {{#ifexist: {{{6|}}} | {{Trim|{{{6|}}}}} }}}}<!--
+
            -->|{{#if: {{{3|}}}|[[{{{3}}}{{#if:{{{l3|}}}|{{!}}{{{l3}}}}}]]}}<!--
    -->|7={{#if: {{{7|}}} | {{#ifexist: {{{7|}}} | {{Trim|{{{7|}}}}} }}}}<!--
+
            -->|{{#if: {{{4|}}}|[[{{{4}}}{{#if:{{{l4|}}}|{{!}}{{{l4}}}}}]]}}<!--
    -->|8={{#if: {{{8|}}} | {{#ifexist: {{{8|}}} | {{Trim|{{{8|}}}}} }}}}<!--
+
            -->|{{#if: {{{5|}}}|[[{{{5}}}{{#if:{{{l5|}}}|{{!}}{{{l5}}}}}]]}}<!--
    -->|9={{#if: {{{9|}}} | {{#ifexist: {{{9|}}} | {{Trim|{{{9|}}}}} }}}}<!--
+
            -->|{{#if: {{{6|}}}|[[{{{6}}}{{#if:{{{l6|}}}|{{!}}{{{l6}}}}}]]}}<!--
    -->|l1={{{l1|}}}<!--
+
            -->|{{#if: {{{7|}}}|[[{{{7}}}{{#if:{{{l7|}}}|{{!}}{{{l7}}}}}]]}}<!--
    -->|l2={{{l2|}}}<!--
+
            -->|{{#if: {{{8|}}}|[[{{{8}}}{{#if:{{{l8|}}}|{{!}}{{{l8}}}}}]]}}<!--
    -->|l3={{{l3|}}}<!--
+
            -->|{{#if: {{{9|}}}|[[{{{9}}}{{#if:{{{l9|}}}|{{!}}{{{l9}}}}}]]}}<!--
    -->|l4={{{l4|}}}<!--
+
            -->|{{#if:{{{10|}}}|<br />&mdash; '''Error: [[Template:Cat more if exists|Too many links specified (maximum is 9)]]'''}}<!--
    -->|l5={{{l5|}}}<!--
+
        -->}}}}<!--
    -->|l6={{{l6|}}}<!--
+
     -->|<!--
    -->|l7={{{l7|}}}<!--
+
        # None of the specified pages exist, so produce no output
    -->|l8={{{l8|}}}<!--
 
     -->|l9={{{l9|}}}<!--
 
 
-->}}<!--
 
-->}}<!--
--><noinclude>
+
--><noinclude><!--  
<!-- Add categories and interwikis to the /doc subpage, not here! -->{{Documentation}}
+
  #### Add categories and interwikis to the /doc subpage, not here! ###
 +
-->{{Documentation|content=This is a sub-page of [[Template:Cat more if exists]].}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:19, 3 October 2020

50px Template documentation

This is a sub-page of Template:Cat more if exists.