Permanently protected template

Difference between revisions of "Template:Main"

From Yugipedia
Jump to: navigation, search
(don't need this any more)
(categorize error cases)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div class="rellink">Main article{{ #if: {{{2|}}} | s }}: {{
+
{{Hatnote|Main {{{type|article}}}{{ #if: {{{2|}}} | {{{plural|s}}} }}: {{ #if: {{{1<includeonly>|</includeonly>}}}
  #if: {{{1<includeonly>|</includeonly>}}}
+
   | {{autolink|{{{1<noinclude>|{{SITENAME}}</noinclude>}}}|t={{{t|}}}}}
   | {{
+
   | '''Error: [[Template:Main|Template must be given at least one article name]]'''[[Category:Empty ((Main)) transclusions]]
    #if: {{ #pos: {{{1<noinclude>|[[foo]]</noinclude>}}} | {{!((}} }}
+
}}{{ #if: {{{2|}}} | {{ #if: {{{3|}}} | , | &nbsp;and }} {{autolink|{{{2}}}|t={{{t|}}}}}
    | {{{1<noinclude>|[[Main Page]]</noinclude>}}}
+
}}{{ #if: {{{3|}}} | , {{ #if: {{{4|}}} || and }} {{autolink|{{{3}}}|t={{{t|}}}}}
    | [[{{{1}}}]]
+
}}{{ #if: {{{4|}}} | , {{ #if: {{{5|}}} || and }} {{autolink|{{{4}}}|t={{{t|}}}}}
  }}
+
}}{{ #if: {{{5|}}} | , {{ #if: {{{6|}}} || and }} {{autolink|{{{5}}}|t={{{t|}}}}}
   | '''Error: [[Template:Main|Template must be given at least one article name]]'''
+
}}{{ #if: {{{6|}}} | , {{ #if: {{{7|}}} || and }} {{autolink|{{{6}}}|t={{{t|}}}}}
}}{{
+
}}{{ #if: {{{7|}}} | , {{ #if: {{{8|}}} || and }} {{autolink|{{{7}}}|t={{{t|}}}}}
  #if: {{{2|}}} | {{
+
}}{{ #if: {{{8|}}} | , {{ #if: {{{9|}}} || and }} {{autolink|{{{8}}}|t={{{t|}}}}}
    #if: {{{3|}}} | , | &nbsp;and
+
}}{{ #if: {{{9|}}} | , {{ #if: {{{10|}}} || and }} {{autolink|{{{9}}}|t={{{t|}}}}}
  }} {{ #if: {{ #pos: {{{2}}} | {{!((}} }} | {{{2}}} | [[{{{2}}}]] }}
+
}}{{ #if: {{{10|}}} | , {{ #if: {{{11|}}} || and }} {{autolink|{{{10}}}|t={{{t|}}}}}
}}{{
+
}}{{ #if: {{{11|}}} | , {{ #if: {{{12|}}} || and }} {{autolink|{{{11}}}|t={{{t|}}}}}
  #if: {{{3|}}} | , {{
+
}}{{ #if: {{{12|}}} | , {{ #if: {{{13|}}} || and }} {{autolink|{{{12}}}|t={{{t|}}}}}
    #if: {{{4|}}} || and
+
}}{{ #if: {{{13|}}} | , {{ #if: {{{14|}}} || and }} {{autolink|{{{13}}}|t={{{t|}}}}}
  }} {{ #if: {{ #pos: {{{3}}} | {{!((}} }} | {{{3}}} | [[{{{3}}}]] }}
+
}}{{ #if: {{{14|}}} | , {{ #if: {{{15|}}} || and }} {{autolink|{{{14}}}|t={{{t|}}}}}
}}{{
+
}}{{ #if: {{{15|}}} | , and {{autolink|{{{15}}}}}
  #if: {{{4|}}} | , {{
+
}}{{ #if: {{{16|}}} | — '''<br />Error: [[Template:Main|Too many links specified (maximum is 15)]]'''[[Category:((Main)) transclusions with too many parameters]]
    #if: {{{5|}}} || and
+
}}}}<noinclude>
  }} {{ #if: {{ #pos: {{{4}}} | {{!((}} }} | {{{4}}} | [[{{{4}}}]] }}
 
}}{{
 
  #if: {{{5|}}} | , {{
 
    #if: {{{6|}}} || and
 
  }} {{ #if: {{ #pos: {{{5}}} | {{!((}} }} | {{{5}}} | [[{{{5}}}]] }}
 
}}{{
 
  #if: {{{6|}}} | , {{
 
    #if: {{{7|}}} || and
 
  }} {{ #if: {{ #pos: {{{6}}} | {{!((}} }} | {{{6}}} | [[{{{6}}}]] }}
 
}}{{
 
  #if: {{{7|}}} | , {{
 
    #if: {{{8|}}} || and
 
  }} {{ #if: {{ #pos: {{{7}}} | {{!((}} }} | {{{7}}} | [[{{{7}}}]] }}
 
}}{{
 
  #if: {{{8|}}} | , {{
 
    #if: {{{9|}}} || and
 
  }} {{ #if: {{ #pos: {{{8}}} | {{!((}} }} | {{{8}}} | [[{{{8}}}]] }}
 
}}{{
 
  #if: {{{9|}}} | , {{
 
    #if: {{{10|}}} || and
 
  }} {{ #if: {{ #pos: {{{9}}} | {{!((}} }} | {{{9}}} | [[{{{9}}}]] }}
 
}}{{
 
  #if: {{{10|}}} | , {{
 
    #if: {{{11|}}} || and
 
  }} {{ #if: {{ #pos: {{{10}}} | {{!((}} }} | {{{10}}} | [[{{{10}}}]] }}
 
}}{{
 
  #if: {{{11|}}} | , {{
 
    #if: {{{12|}}} || and
 
  }} {{ #if: {{ #pos: {{{11}}} | {{!((}} }} | {{{11}}} | [[{{{11}}}]] }}
 
}}{{
 
  #if: {{{12|}}} | , {{
 
    #if: {{{13|}}} || and
 
  }} {{ #if: {{ #pos: {{{12}}} | {{!((}} }} | {{{12}}} | [[{{{12}}}]] }}
 
}}{{
 
  #if: {{{13|}}} | , {{
 
    #if: {{{14|}}} || and
 
  }} {{ #if: {{ #pos: {{{13}}} | {{!((}} }} | {{{13}}} | [[{{{13}}}]] }}
 
}}{{
 
  #if: {{{14|}}} | , {{
 
    #if: {{{15|}}} || and
 
  }} {{ #if: {{ #pos: {{{14}}} | {{!((}} }} | {{{14}}} | [[{{{14}}}]] }}
 
}}{{
 
  #if: {{{15|}}} | , and {{ #if: {{ #pos: {{{15}}} | {{!((}} }} | {{{15}}} | [[{{{15}}}]] }}
 
}}{{
 
  #if: {{{16|}}}
 
  | — '''<br />Error: [[Template:See also|Too many links specified (maximum is 15)]]'''
 
}}</div><noinclude>
 
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Latest revision as of 16:23, 4 May 2023