v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Difference between revisions of "Template:Main"
Jump to navigation
Jump to search
(documentation is good) |
m (reformatting, added template cat) |
||
Line 1: | Line 1: | ||
+ | <includeonly> | ||
+ | :<div class="noprint relarticle mainarticle">''Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#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]]}})}}</div> | ||
+ | </includeonly> | ||
+ | |||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Line 42: | Line 55: | ||
|l10=Article 10 link appearance | |l10=Article 10 link appearance | ||
}}</pre> | }}</pre> | ||
+ | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 02:46, 6 April 2010
Usage
{{main |Article 1 }}
You may also include additional links, up to ten in total:
{{main |Article 1 |Article 2 |Article 3 |Article 4 |Article 5 |Article 6 |Article 7 |Article 8 |Article 9 |Article 10 }}
For each link, you may optionally specify a link appearance (this is for articles where a piped link would be used). Note that the extra parameters use a lower case 'L', eg. l1 not 11:
{{main |Article 1 |Article 2 |Article 3 |Article 4 |Article 5 |Article 6 |Article 7 |Article 8 |Article 9 |Article 10 |l1=Article 1 link appearance |l2=Article 2 link appearance |l3=Article 3 link appearance |l4=Article 4 link appearance |l5=Article 5 link appearance |l6=Article 6 link appearance |l7=Article 7 link appearance |l8=Article 8 link appearance |l9=Article 9 link appearance |l10=Article 10 link appearance }}