Template:Main/doc: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
Usage:
Usage:


:<nowiki>{{</nowiki>Main|Allah}}
:<nowiki>{{</nowiki>Main|Article}}


This produces:
This produces:
{{Main|Allah}}
{{Main|Article}}
 
Copy/paste:
 
:<nowiki>{{</nowiki>Main|}}


'''For alternate titles''':
'''For alternate titles''':


:<nowiki>{{</nowiki>Main|Allah|l1=Alternative title}}
:<nowiki>{{</nowiki>Main|Article|l1=Alternative title}}


This produces:
This produces:
{{Main|Allah|l1=Alternative title}}
{{Main|Article|l1=Alternative title}}
 
Copy/paste:
 
:<nowiki>{{</nowiki>Main||l1=}}


'''Multiple titles:'''
'''Multiple titles:'''


:<nowiki>{{</nowiki>Main|Allah|Islam|Muhammad}}
:<nowiki>{{</nowiki>Main|Article|Article 2|Article 3}}


This produces:
This produces:
{{Main|Allah|Islam|Muhammad}}
{{Main|Article|Article 2|Article 3}}
 
Copy/paste:
 
:<nowiki>{{</nowiki>Main|||}}


'''Alternate and multiple titles:'''
'''Alternate and multiple titles:'''


:<nowiki>{{</nowiki>Allah|l1=Alternative title|Islam}}
:<nowiki>{{</nowiki>Main|Article|l1=Alternative title|Article 2}}
 
This produces:
{{Main|Article|l1=Alternative title|Article 2}}
 
Copy/paste:
 
:<nowiki>{{</nowiki>Main||l1=|}}
 
'''Two alternate and multiple titles:'''
 
:<nowiki>{{</nowiki>Main|Article|l1=Alternative title|Article 2|l2=Alternative title 2}}


This produces:
This produces:
{{Main|Allah|l1=Alternative title|Islam}}
{{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=}}