Difference between revisions of "Template:Infobox"
(I believe I have it this time.) |
(move v/d/e down to the bottom to account for alternate title styles. Also, this allows better centering.) |
||
Line 2: | Line 2: | ||
-->{{#if:{{{title|}}}|<caption style="font-size: large; {{{titlestyle|}}}">{{{title}}}</caption>}}<!-- Header | -->{{#if:{{{title|}}}|<caption style="font-size: large; {{{titlestyle|}}}">{{{title}}}</caption>}}<!-- Header | ||
-->{{#if:{{{above|}}}|<tr> | -->{{#if:{{{above|}}}|<tr> | ||
− | <td colspan="2" style="text-align:center; font-size: large; background:#ccf; {{{abovestyle|}}} | + | <td colspan="2" style="text-align:center; font-size: large; background:#ccf; {{{abovestyle|}}}">{{{above}}}</td> |
</tr>}}<!-- Image | </tr>}}<!-- Image | ||
-->{{#if:{{{image|}}}|<tr> | -->{{#if:{{{image|}}}|<tr> | ||
Line 89: | Line 89: | ||
Below | Below | ||
-->{{#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>}} | ||
+ | <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:52, 7 March 2008
The above documentation is transcluded from Template:Infobox/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (edit) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |