Template:Main: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Attempt at documentation. |
||
Line 1: | Line 1: | ||
<div class="rellink" style="margin-left: 3em; font-size: 80%;">Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}} | <includeonly><div class="rellink" style="margin-left: 3em; font-size: 80%;">Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}} | ||
|{{#if:{{{3|}}}|, | and }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}} | |{{#if:{{{3|}}}|, | and }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}} | ||
|{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}} | |{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}} | ||
Line 8: | Line 8: | ||
|{{#if:{{{9|}}}|, |, and }}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}} | |{{#if:{{{9|}}}|, |, and }}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}} | ||
|{{#if:{{{10|}}}|, |, and }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}} | |{{#if:{{{10|}}}|, |, and }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}} | ||
|, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''</div> | |, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''</div></includeonly><noinclude> | ||
{{main/doc}} | |||
</noinclude> |
Revision as of 20:34, 27 October 2012
The main template is used to specify that a section is a summary of content further explained in another article or section. It should be used like this:
{{main|Framebuffer Object}}
Which yields:
Main article: Framebuffer Object