Difference between revisions of "Template:Main"

From OpenGL.org
Jump to: navigation, search
(Categorizing templates.)
m (Equals protection in template.)
 
Line 1: Line 1:
<includeonly><div class="rellink" style="margin-left: 1.5em; font-style: italic;">Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
+
<includeonly><div class{{=}}"rellink" style{{=}}"margin-left: 1.5em; font-style: italic;">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|}}}

Latest revision as of 22:26, 14 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: