Difference between revisions of "Template:Nmbox"
Jump to navigation
Jump to search
(Created page with "<table class="nmbox" style="border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.5em 0;"> <tr style="background: #EEF3E2"> {{#if:{{{image|}...") |
m (1 revision) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <table class="nmbox" style="border:1px solid # | + | <table class="nmbox" style="border:1px solid #aaa; border-collapse:collapse; clear:both; font-size:85%; margin: 0.5em 0;"> |
− | <tr style="background: # | + | <tr style="background: #c3c3c3"> |
{{#if:{{{image|}}}{{{header|}}} | {{#if:{{{image|}}}{{{header|}}} | ||
| <th class="mbox-image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th> | | <th class="mbox-image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th> | ||
| <td class="mbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --> | | <td class="mbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --> | ||
}} | }} | ||
− | <td class="mbox-text" style="background: # | + | <td class="mbox-text" style="background: #e7e7e7; text-align: left;">{{{text|}}}</td> |
</tr></table><noinclude> | </tr></table><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 02:45, 7 November 2013
This is a meta-template for generating navigation boxes to go at the bottom of pages.
Examples[edit]
{{nmbox | image = [[Image:Geographylogo.png|25px|Languages|link=]] | header = '''[[Project:Language policy|{{Languages/Title|{{SUBPAGENAME}}}}]]''' | text = Languages code }}
Language: | Languages code |
---|
The above documentation is transcluded from Template:Nmbox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |