This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "Template:Infobox"
From BZFlagWiki
(making the navbar optional, as discussed in talk. Defaults to off.) |
(actually, using a different approach to eliminate the proliferation of redundant parameters) |
||
Line 90: | Line 90: | ||
-->{{#if:{{{below|}}}|<tr><td colspan="2" style="background:#ddf; text-align:center; font-size:small; font-style:italic; {{{belowstyle|}}}">{{{below|}}}</td></tr>}}<!-- | -->{{#if:{{{below|}}}|<tr><td colspan="2" style="background:#ddf; text-align:center; font-size:small; font-style:italic; {{{belowstyle|}}}">{{{below|}}}</td></tr>}}<!-- | ||
Tnavbar | Tnavbar | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{name|}}}|<tr><td style="text-align:right;" colspan="2">{{Tnavbar|{{{name}}}}}</td></tr>}} |
</table><noinclude> | </table><noinclude> | ||
{{pp-template|small=yes}} | {{pp-template|small=yes}} |
Revision as of 19:58, 16 March 2008
[create] Template documentation