Difference between revisions of "User:Dan9186/templates/content table"
Jump to navigation
Jump to search
(Created page with '<noinclude>{{User:Dan9186/templates/navbar}}</noinclude> <!-- START BODY TABLE --> <table style="width: {{#if:{{{width|}}}|{{{width}}}|100%}}; float: {{#if:{{{float|}}}|{{{float}…') |
|||
(3 intermediate revisions by the same user not shown) | |||
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"> </div> | | width="1%" height="10px" style="border-top: 1px solid #000000; border-left: 1px solid #000000;" | <div style="margin-top:-12px"> </div> | ||
− | | style="border-right: | + | | style="border-right: 3px solid #000000; border-top: 1px solid #000000;" | <div style="margin-top:-12px"> </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: | + | | 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|<span style="float: right; font-size: x-small;">[ | + | <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: | + | | 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
|
[edit] [ ] 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: )
- 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
The above documentation is transcluded from User:Dan9186/templates/content table/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 page. |