Difference between revisions of "Template:Langbox"

From Xen
m (Reverted edits by Lars.kurth (Talk) to last revision by Lars)
(Make the language box the width of the page)
Line 5: Line 5:
 
| <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-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: #F6F9ED;">{{{text|}}}</td>
+
<td class="Langbox-text" style="background: #F6F9ED; width:100%">{{{text|}}}</td>
 
</tr></table><noinclude>
 
</tr></table><noinclude>
 
{{documentation}}
 
{{documentation}}

Revision as of 11:23, 24 April 2012

[edit] [purge] Template documentation

Examples

{{Langbox
 | image = [[Image:Geographylogo.png|25px|Languages|link=]]
 | header = '''[[Project:Language policy|Languages:]]''' 
 | text = Languages code
}}
Languages Languages:  Languages code
The above documentation is transcluded from Template:Langbox/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.