Template:Langbox: Difference between revisions

From Xen
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<table class="Langbox" style="border:1px solid #7CC3E9; border-collapse:collapse; clear:both; font-size:85%; margin: 0.25em 0;">
<table class="Langbox" style="border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.25em 0;">
<tr style="background: #7CC3E9">
<tr style="background: #EEF3E2">
{{#if:{{{image|}}}{{{header|}}}
<th class="Langbox-image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #7CC3E9;">{{{image|}}} {{{header|}}}</th>
<td class="Langbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
| <th class="Langbox-image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th>
| <td class="Langbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
<td class="Langbox-text" style="background: #94CCE8;">{{{text|}}}</td>
}}
<td class="Langbox-text" style="background: #F6F9ED;">{{{text|}}}</td>
</tr></table><noinclude>
</tr></table><noinclude>
=== Examples ===
=== Examples ===

Revision as of 14:48, 29 November 2011

Examples

{{Langbox
 | image = [[Image:Geographylogo.png|25px|Languages|link=]]
 | header = '''[[Project:Language policy|Languages:]]''' 
 | text = Languages code
}}
Languages Languages:  Languages code