Template:Main/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} Usage: :<nowiki>{{</nowiki>Main|Article}} This produces: {{Main|Article}} Copy/paste: :<nowiki>{{</nowiki>Main|}} '''For alternate titles''': :<nowiki>{{</nowiki>Main|Article|l1=Alternative title}} This produces: {{Main|Article|l1=Alternative title}} Copy/paste: :<nowiki>{{</nowiki>Main||l1=}} '''Multiple titles:''' :<nowiki>{{</nowiki>Main|Article|Article 2|Article 3}} This produces: {{Main|Article|Article 2|Article 3}} Copy/paste:...") |
(No difference)
|
Latest revision as of 04:17, 21 July 2024
![]() |
This is a documentation subpage for Template:Main. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
Usage:
- {{Main|Article}}
This produces:
Main Article: Article
Copy/paste:
- {{Main|}}
For alternate titles:
- {{Main|Article|l1=Alternative title}}
This produces:
Main Article: Alternative title
Copy/paste:
- {{Main||l1=}}
Multiple titles:
- {{Main|Article|Article 2|Article 3}}
This produces:
Copy/paste:
- {{Main|||}}
Alternate and multiple titles:
- {{Main|Article|l1=Alternative title|Article 2}}
This produces:
Main Articles: Alternative title and Article 2
Copy/paste:
- {{Main||l1=|}}
Two alternate and multiple titles:
- {{Main|Article|l1=Alternative title|Article 2|l2=Alternative title 2}}
This produces:
Main Articles: Alternative title and Alternative title 2
Copy/paste:
- {{Main||l1=||l2=}}