Difference between revisions of "Template:Main/doc"

From WikiIslam, the online resource on Islam
Jump to: navigation, search
m
m
 
Line 43: Line 43:
  
 
:<nowiki>{{</nowiki>Main||l1=|}}
 
:<nowiki>{{</nowiki>Main||l1=|}}
 +
 +
'''Two alternate and multiple titles:'''
 +
 +
:<nowiki>{{</nowiki>Main|Article|l1=Alternative title|Article 2|l2=Alternative title 2}}
 +
 +
This produces:
 +
{{Main|Article|l1=Alternative title|Article 2|l2=Alternative title 2}}
 +
 +
Copy/paste:
 +
 +
:<nowiki>{{</nowiki>Main||l1=||l2=}}

Latest revision as of 12:38, 26 April 2013

Usage:

{{Main|Article}}

This produces:

Copy/paste:

{{Main|}}

For alternate titles:

{{Main|Article|l1=Alternative title}}

This produces:

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:

Copy/paste:

{{Main||l1=|}}

Two alternate and multiple titles:

{{Main|Article|l1=Alternative title|Article 2|l2=Alternative title 2}}

This produces:

Copy/paste:

{{Main||l1=||l2=}}