Template:Main

From Sword of Moonlight Wiki
Revision as of 04:02, 27 June 2011 by Dmpdesign (talk | contribs) (Created page with "{{Rellink|extraclasses=relarticle mainarticle|{{#ifeq:{{SUBJECTSPACE}}|Category|The main {{#ifeq:{{NAMESPACE:{{{1}}}}}||article|page}}{{#if:{{{2|}}}|s}} for this [[Wikipedia:Cate...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template loop detected: Template:Main

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Main/doc to edit this documentation. (How does this work?)

This hatnote template is meant to be in sections of an article mentioning information about another existing main article.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Article1

A main article.

Example
Article
Page namerequired
Second Article2

A second main article.

Example
Second Article
Page nameoptional
Third Article3

A third main article.

Example
Third Article
Page nameoptional

Examples

Code Result
{{Main|Special:WantedPages}} Template loop detected: Template:Main
{{Main|Special:WantedPages#Section Title}} Template loop detected: Template:Main
{{Main|Special:WantedPages|Special:UncategorizedPages}} Template loop detected: Template:Main
{{Main|Special:WantedPages|Special:UncategorizedPages|Special:UncategorizedCategories}} Template loop detected: Template:Main
{{Main|Special:WantedPages{{!}}Page 1}} (Custom link label) Template loop detected: Template:Main

Dependencies

This template requires the {{Hatnote}} metatemplate.

Source

Roughly based on Wikipedia's For Template.