Difference between revisions of "User:Dan9186/templates/content table"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
| 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:2px 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;"> | + | <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: 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> |
Revision as of 21:18, 6 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. |