Difference between revisions of "Template:Nmbox"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(tweak)
m (8 revisions imported)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<table class="nmbox" style="width:100%; border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%; margin:0 1px; padding:0.2em;">
+
<table class="nmbox" style="border:1px solid #AAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.5em 0">
<tr style="background: #EEF3E2">
+
<tr style="background:#EEF3E2">
 
{{#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-{{dir|{{pagelang}}|left|right}}:1px solid #aaa">{{{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: #F6F9ED;">{{{text|}}}</td>
+
<td class="mbox-text" style="background:#F6F9ED">{{{text|}}}</td>
 
</tr></table><noinclude>
 
</tr></table><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 02:45, 18 May 2018

<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation[create] [purge]