Difference between revisions of "User:Jestie/Template:Border"

From Team Fortress Wiki
Jump to: navigation, search
m (I can't say I'm a fan of the curved look that the original source had, so i removed it.)
m (I'll have 2 seperate versions of the border, one collapsible and one non collapsible. Will just make things look cleaner.)
Line 1: Line 1:
<table style="width:{{{width|100}}}%; border: grey solid 1px; background-color: #808080; margin-bottom: 0.3em; margin-left: -0.2em;" class="headertemplate {{#if: {{{collapsed|}}}| mw-collapsible | mw-collapsible mw-collapsed}}"><tr><td class="gradient" style="text-align:left; font-size:125%; font-weight:bold; color:grey; background-color:{{{colour|grey}}}; background: lightgrey; padding: 3px;">{{#if:{{{image|}}}|[[File:{{{image}}}{{!}}{{#if:{{{image-size|}}}|{{{image-size}}}|16px}}{{!}}link={{#if:{{{image-link|}}}|{{{image-link}}}|}}]]&nbsp;&nbsp;}}{{{title|Header}}}</td></tr>
+
<table style="width:{{{width|100}}}%; border: grey solid 1px; background-color: #808080; margin-bottom: 0.3em; margin-left: -0.2em;"><tr><td class="gradient" style="text-align:left; font-size:125%; font-weight:bold; color:grey; background-color:{{{colour|grey}}}; background: lightgrey; padding: 3px;">{{#if:{{{image|}}}|[[File:{{{image}}}{{!}}{{#if:{{{image-size|}}}|{{{image-size}}}|16px}}{{!}}link={{#if:{{{image-link|}}}|{{{image-link}}}|}}]]&nbsp;&nbsp;}}{{{title|Header}}}</td></tr>
 
<tr><td style="padding:3px; background-color: white">
 
<tr><td style="padding:3px; background-color: white">
 
{{{content|[insert content here]}}}<div align="right" class="plainlinks"><small>{{#ifeq:{{{edit|}}}|||[{{fullurl:User:Payn/{{{edit|Error}}}|action=edit}} Edit]{{md}}[[User:Payn/{{{edit|Error}}}|view]]}}</small></div></td></tr>
 
{{{content|[insert content here]}}}<div align="right" class="plainlinks"><small>{{#ifeq:{{{edit|}}}|||[{{fullurl:User:Payn/{{{edit|Error}}}|action=edit}} Edit]{{md}}[[User:Payn/{{{edit|Error}}}|view]]}}</small></div></td></tr>
 
</table>
 
</table>

Revision as of 12:27, 10 May 2024

Header
[insert content here]