Difference between revisions of "Template:Main"

From Yugipedia
Jump to: navigation, search
m (Bot.)
 
Line 38: Line 38:
  
 
{{TagSync|include: *}}
 
{{TagSync|include: *}}
[[Category:Templates/reader flow|{{PAGENAME}}]]</noinclude>
+
[[Category:Hatnote templates]]</noinclude>

Revision as of 18:10, 22 December 2012

Template:TagSyncPage {{Main}} is used below section titles to explain where the main article on the subject is.

Usage

{{Main|Article 1|l1=Article 1 Displaytitle|...|Article 10}}
  • Up to 10 parameters are permitted: only the first is mandatory.
  • Parameters in the form l# may be used to change the displayed text of a article link.
  • The list is dynamically generated so that the word "and" is always placed between the final two entries.
  • If more than 10 entries are supplied, a message will be displayed pointing out the problem.
NB 
no newlines are permitted else the article links will be broken.

Example

Code Result
{{Main}}
{{Main|Article}}
{{Main|Article|Article}}
{{Main|Article|Article|Article}}
{{Main|Article|Article|l2=Alternate title}}

And so on up to 15 parameters.

Template:TagSync