Difference between revisions of "User:GrampaSwood/Template:Border"
GrampaSwood (talk | contribs) (Added some doc) |
m (Fix edit/view links placement (help request)) |
||
Line 2: | Line 2: | ||
<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"> | ||
− | {{{content|[insert content here]}}}<div style="right | + | {{{content|[insert content here]}}}<div style="float:right;clear:both;" class="plainlinks"><small>{{#ifeq:{{{edit|yes}}}|||[{{fullurl:User:{{{user|GrampaSwood}}}/{{{edit|Error}}}|action=edit}} Edit]{{md}}[[User:{{{user|GrampaSwood}}}/{{{edit|Error}}}|view]]}}</small></div></td></tr> |
</table><noinclude>{{Doc begin}} | </table><noinclude>{{Doc begin}} | ||
Revision as of 22:14, 18 May 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