Difference between revisions of "User:GrampaSwood/Template:Border"
GrampaSwood (talk | contribs) (This was meant to be removed lol) |
GrampaSwood (talk | contribs) |
||
Line 1: | Line 1: | ||
− | <table style="width:{{{width|100}}}%; border:2px solid {{{colour|#F3A957}}}; border-bottom:2px solid {{{colour|#F3A957}}}; -moz-border-radius:0 14px 7px 7px; border-top-right-radius:0px; border-bottom-right-radius:0px; border-bottom-left-radius:0px; margin-top:10px" class="headertemplate"><tr> | + | <table style="width:{{{width|100}}}%; height:{{{height|100%}}}; border:2px solid {{{colour|#F3A957}}}; border-bottom:2px solid {{{colour|#F3A957}}}; -moz-border-radius:0 14px 7px 7px; border-top-right-radius:0px; border-bottom-right-radius:0px; border-bottom-left-radius:0px; margin-top:10px" class="headertemplate"><tr> |
<td class="gradient" <!--Swood was here--> style="text-align:left; font-size:110%; font-weight:bold; color:black; background-color:{{{colour|#F3A957}}}; -moz-border-radius:0 11px 0 0; border-top-right-radius:0px; padding:5px;">{{#if:{{{image|}}}|[[File:{{{image}}}{{!}}{{#if:{{{image-size|}}}|{{{image-size}}}|16px}}{{!}}link={{#if:{{{image-link|}}}|{{{image-link}}}|}}]] }}{{{title|Header}}}</td></tr> | <td class="gradient" <!--Swood was here--> style="text-align:left; font-size:110%; font-weight:bold; color:black; background-color:{{{colour|#F3A957}}}; -moz-border-radius:0 11px 0 0; border-top-right-radius:0px; padding:5px;">{{#if:{{{image|}}}|[[File:{{{image}}}{{!}}{{#if:{{{image-size|}}}|{{{image-size}}}|16px}}{{!}}link={{#if:{{{image-link|}}}|{{{image-link}}}|}}]] }}{{{title|Header}}}</td></tr> | ||
<tr><td style="padding:5px"> | <tr><td style="padding:5px"> |
Revision as of 21:49, 20 August 2024
Header |
[insert content here] |
Documentation for GrampaSwood/Template:Border
Parameters
- image
- Image used next to the text. Can be empty.
- image-size
- Image size
- title
- Text at the top
- content
- Content inside the border
- edit
- The link to the current page. Used for the "Edit · view" buttons. Example usage:
| edit = Template:Todo
. This would link to User:GrampaSwood/Template:Todo. - Note that by default, it uses my userpage (User:GrampaSwood) at the start of the URL, and it defaults to WikiUsername/Error. Please use the "user" parameter listed below to change it
- user
- Used to change the user page linked to with the "edit" parameter.
- width
- Width of the whole thing
- colour
- Colour of the border