Permanently protected template

Difference between revisions of "Template:Main"

From Yugipedia
Jump to: navigation, search
({{Hatnote}} instead of a hardcoded <div>; tweak spacing)
(You forgot to remove this notice)
Line 1: Line 1:
{{Hatnote|Main {{{type|article}}}{{ #if: {{{2|}}} | {{{plural|s}}} }}: {{ #if: {{{1<includeonly>|</includeonly>}}}
+
{{#invoke:main|main}}<noinclude>
  | {{autolink|{{{1<noinclude>|{{SITENAME}}</noinclude>}}}}}
+
{{documentation}}
  | '''Error: [[Template:Main|Template must be given at least one article name]]'''
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
}}{{ #if: {{{2|}}} | {{ #if: {{{3|}}} | , | &nbsp;and }} {{autolink|{{{2}}}}}
+
</noinclude>
}}{{ #if: {{{3|}}} | , {{ #if: {{{4|}}} || and }} {{autolink|{{{3}}}}}
 
}}{{ #if: {{{4|}}} | , {{ #if: {{{5|}}} || and }} {{autolink|{{{4}}}}}
 
}}{{ #if: {{{5|}}} | , {{ #if: {{{6|}}} || and }} {{autolink|{{{5}}}}}
 
}}{{ #if: {{{6|}}} | , {{ #if: {{{7|}}} || and }} {{autolink|{{{6}}}}}
 
}}{{ #if: {{{7|}}} | , {{ #if: {{{8|}}} || and }} {{autolink|{{{7}}}}}
 
}}{{ #if: {{{8|}}} | , {{ #if: {{{9|}}} || and }} {{autolink|{{{8}}}}}
 
}}{{ #if: {{{9|}}} | , {{ #if: {{{10|}}} || and }} {{autolink|{{{9}}}}}
 
}}{{ #if: {{{10|}}} | , {{ #if: {{{11|}}} || and }} {{autolink|{{{10}}}}}
 
}}{{ #if: {{{11|}}} | , {{ #if: {{{12|}}} || and }} {{autolink|{{{11}}}}}
 
}}{{ #if: {{{12|}}} | , {{ #if: {{{13|}}} || and }} {{autolink|{{{12}}}}}
 
}}{{ #if: {{{13|}}} | , {{ #if: {{{14|}}} || and }} {{autolink|{{{13}}}}}
 
}}{{ #if: {{{14|}}} | , {{ #if: {{{15|}}} || and }} {{autolink|{{{14}}}}}
 
}}{{ #if: {{{15|}}} | , and {{autolink|{{{15}}}}}
 
}}{{ #if: {{{16|}}} | — '''<br />Error: [[Template:See also|Too many links specified (maximum is 15)]]'''
 
}}}}<noinclude>
 
{{Documentation}}</noinclude>
 

Revision as of 01:27, 24 August 2018