Difference between revisions of "User:Dan9186/templates/content table"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
 
Line 5: Line 5:
 
{| class="radius" cellspacing=0 cellpadding=0 style="background:#BCEE68;"
 
{| class="radius" cellspacing=0 cellpadding=0 style="background:#BCEE68;"
 
| width="1%" height="10px" style="border-top: 1px solid #000000; border-left: 1px solid #000000;" | <div style="margin-top:-12px">&nbsp;</div>
 
| width="1%" height="10px" style="border-top: 1px solid #000000; border-left: 1px solid #000000;" | <div style="margin-top:-12px">&nbsp;</div>
| style="border-right: 2px solid #000000; border-top: 1px solid #000000;" | <div style="margin-top:-12px">&nbsp;</div>
+
| style="border-right: 3px solid #000000; border-top: 1px solid #000000;" | <div style="margin-top:-12px">&nbsp;</div>
 
|-
 
|-
 
| style="border-left: 1px solid #000000; padding-left:.3em; padding-right:.3em" | [[Image:{{#if:{{{icon|}}}|{{{icon}}}|Nuvola_apps_kuser.png}}|23px|link={{#if:{{{icon_link|}}}|{{{icon_link}}}}}|alt={{#if:{{{icon_alt|}}}|{{{icon_alt}}}}}]]
 
| style="border-left: 1px solid #000000; padding-left:.3em; padding-right:.3em" | [[Image:{{#if:{{{icon|}}}|{{{icon}}}|Nuvola_apps_kuser.png}}|23px|link={{#if:{{{icon_link|}}}|{{{icon_link}}}}}|alt={{#if:{{{icon_alt|}}}|{{{icon_alt}}}}}]]
| style="background:#9ACD32; border:1px solid #000000; border-right:2px solid #000000; -moz-border-radius-topleft:.5em; -moz-border-radius-bottomleft:.5em; padding-left:.5em"|
+
| style="background:#9ACD32; border:1px solid #000000; border-right:3px solid #000000; -moz-border-radius-topleft:.5em; -moz-border-radius-bottomleft:.5em; padding-left:.5em"|
 
<div style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 90%; text-align: justify;"><font style="color:#000000">{{#if:{{{editable|}}}|{{#ifeq:{{{editable|}}}|yes|{{#if:{{{edit_link|}}}|<span style="float: right; font-size: x-small;">[{{fullurl:{{{edit_link}}}|action=edit}} edit]</span>}}}}}}'''{{#if:{{{title|}}}|{{{title}}}|Dan9186 Says}}'''</font></div>
 
<div style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 90%; text-align: justify;"><font style="color:#000000">{{#if:{{{editable|}}}|{{#ifeq:{{{editable|}}}|yes|{{#if:{{{edit_link|}}}|<span style="float: right; font-size: x-small;">[{{fullurl:{{{edit_link}}}|action=edit}} edit]</span>}}}}}}'''{{#if:{{{title|}}}|{{{title}}}|Dan9186 Says}}'''</font></div>
 
|-
 
|-
| colspan="2" style="border-bottom: 2px solid #000000; border-right: 2px solid #000000; border-left: 1px solid #000000;; border-top:0; padding:.3em; padding-top:8px; font-size:95%" | <div style="margin-bottom:2px; padding:.5em; background:#FFFDD0; border:1px solid #8AA5DB; font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 90%; text-align: justify;">{{#if:{{{content|}}}|{{{content}}}|Something was forgotten}}</div>
+
| colspan="2" style="border-bottom: 3px solid #000000; border-right: 3px solid #000000; border-left: 1px solid #000000;; border-top:0; padding:.3em; padding-top:8px; font-size:95%" | <div style="margin-bottom:2px; padding:.5em; background:#FFFFFF; border:1px solid #8AA5DB; font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 90%; text-align: justify;">{{#if:{{{content|}}}|{{{content}}}|Something was forgotten}}</div>
 
|}
 
|}
 
</td></tr></table>
 
</td></tr></table>

Latest revision as of 00:29, 19 February 2010

Monday, November 25, 2024 12:58 UTC Nuvola apps clock.svg

 
 
Dan9186 Says
Something was forgotten
[edit] [purge] Documentation

Usage

{{User:Dan9186/Templates/Content table
| width      =
| float      =
| icon       =
| icon_link  =
| icon_alt   =
| editable   =
| edit_link  =
| title      =
| content    =
}}
  • width - specify a width for the table
  • float (optional) - left or right (Default: left
  • icon - specify an icon to be used in the header (Default: Nuvola apps kuser.png)
  • icon_link (optional) - a page to make the icon link to
  • icon_alt (optional - alternate text to display for the icon
  • editable (optional) - yes or no, displays an edit link in the top right corner of the table
  • edit_link - the page that the edit link is to go to
  • title - specify a title to display (Default: "Dan9186 says")
  • content - the content to display in the table