Template:Main: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Initial main referral
 
m Equals protection in template.
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="rellink">
<includeonly><div class{{=}}"rellink" style{{=}}"margin-left: 1.5em; font-style: italic;">Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
  |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
  |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
  |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
  |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
Line 9: Line 8:
  |{{#if:{{{9|}}}|,&#32;|,&#32;and&#32;}}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
  |{{#if:{{{9|}}}|,&#32;|,&#32;and&#32;}}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
  |{{#if:{{{10|}}}|,&#32;|,&#32;and&#32;}}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
  |{{#if:{{{10|}}}|,&#32;|,&#32;and&#32;}}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
  |, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''</div>
  |, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''</div></includeonly><noinclude>
{{main/doc}}
 
[[Category:Common Templates]]</noinclude>

Latest revision as of 02:26, 15 February 2013

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: