Template:Main
Jump to navigation
Jump to search
This is a small template to link to a main article from a small sub-article on a different page. It takes as parameters the name of the main article and an optional alternative name (if no alternative name is given then the link text is the title of the main article). If no parameters or blank parameters are given then the template gives no output.
examples:
{{main|Spaceship}} yeilds
- Main article: Spaceship
{{main}} yeilds
Template loop detected: Template:Main</noinclude>
{{main|Spaceship|Spaceship Page}} yeilds
- Main article: Spaceship Page
{{main}} yeilds
Template loop detected: Template:Main</noinclude>
{{main}} yeilds
{{main}} yeilds Template loop detected: Template:Main</noinclude>