Difference between revisions of "Template:Tmbox/core"

From Nottinghack Wiki
Jump to navigation Jump to search
(start making talkpage message box)
 
 
(5 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
| notice          <!-- notice = default -->
 
| notice          <!-- notice = default -->
 
| #default  = tmbox-notice
 
| #default  = tmbox-notice
}} {{{class|}}}" style="{{{style|}}}">
+
}} {{{class|}}}" <!--style not present in CSS (https://wiki.nottinghack.org.uk/wiki/MediaWiki:Common.css)? add style directly removed: style="{{{style|}}}"--> style=" border: 1px solid #244724;  margin: 0px 10%;  <!-- remove thick border border-left: 10px solid #1e90ff; -->  background: #e5eee5;  margin-bottom:10px;      <!--    /* 10% = Will not overlap with other elements */
 +
 
 +
    /* Default "notice" blue */
 +
  "--> >
 
<tr>
 
<tr>
 
{{#ifeq:{{{image|}}}|none
 
{{#ifeq:{{{image|}}}|none
Line 24: Line 27:
 
     | notice          <!-- notice = default -->
 
     | notice          <!-- notice = default -->
 
     | #default  = talkpage.svg
 
     | #default  = talkpage.svg
     }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}}|link=|alt=]]
+
     }} | {{#ifeq:{{{small|}}}|yes|30x30px|50x50px}}|link=|alt=]]<!-- if small=yes smaller icon -->
 
   }}</td>
 
   }}</td>
 
}}
 
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
+
<td class="mbox-text" style=""> {{{text}}} </td>
 
{{#if:{{{imageright|}}}
 
{{#if:{{{imageright|}}}
 
| {{#ifeq:{{{imageright|}}}|none
 
| {{#ifeq:{{{imageright|}}}|none
Line 50: Line 53:
 
This template is a building block for create talkpage message boxes.
 
This template is a building block for create talkpage message boxes.
 
[[Category:Utility Templates]]
 
[[Category:Utility Templates]]
 +
[[Category:Templates talkpage]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:40, 20 March 2019

Documentation

This template is a building block for create talkpage message boxes.