Template:Main: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Rellink|extraclasses=relarticle mainarticle|{{#ifeq:{{SUBJECTSPACE}}|Category|The main {{#ifeq:{{NAMESPACE:{{{1}}}}}||article|page}}{{#if:{{{2|}}}|s}} for this category {{#if:{{{2|}}}|are|is}}|Main {{#ifeq:{{NAMESPACE:{{{1}}}}}||Article|page}}{{#if:{{{2|}}}|s}}:}} [[{{{1|{{PAGENAME}}}}}|{{{l1|{{{1|{{PAGENAME}}}}}}}}]]{{#if:{{{2| }}} | |||
|{{#if:{{{3|}}}|, | and }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}} | |||
|{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}} | |||
|{{#if:{{{5|}}}|, |, and }}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}} | |||
|{{#if:{{{6|}}}|, |, and }}[[{{{5}}}|{{{l5|{{{5}}}}}}]]}}{{#if:{{{6|}}} | |||
|{{#if:{{{7|}}}|, |, and }}[[{{{6}}}|{{{l6|{{{6}}}}}}]]}}{{#if:{{{7|}}} | |||
|{{#if:{{{8|}}}|, |, and }}[[{{{7}}}|{{{l7|{{{7}}}}}}]]}}{{#if:{{{8|}}} | |||
|{{#if:{{{9|}}}|, |, and }}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}} | |||
|{{#if:{{{10|}}}|, |, and }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}} | |||
|, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}{{#if:{{{11| }}}|  (too many parameters in {{[[Template:main|main]]}})}}}}<noinclude> | |||
{{Documentation}} | |||
</noinclude> |
Latest revision as of 22:37, 15 March 2013
Main Article: Main
[edit]
Error creating thumbnail: Unable to save thumbnail to destination
Template documentationUsage:
- {{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=}}