Template:WikiStyle: Difference between revisions
Mastergalen (talk | contribs) m (1 revision) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>| {{#if: {{{id|}}} | id="{{{id}}}" }} {{#if: {{{span|}}} | colspan="{{{span}}}" }} style="background: #FCFCFC; border: 1px solid #CCC; vertical-align: top; width: 33%; {{{style|}}}" | | <includeonly>| {{#if: {{{id|}}} | id="{{{id}}}" }} {{#if: {{{span|}}} | colspan="{{{span}}}" }} {{#if: {{{rowspan|}}} | rowspan="{{{rowspan}}}" }} style="background: #FCFCFC; border: 1px solid #CCC; vertical-align: top; width: 33%; {{{style|}}}" | | ||
{{#if: {{{header|}}} | {{#if: {{{header|}}} | ||
| <div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; font-size: 120%; {{{headerstyle|}}}">{{ | | <div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; font-size: 120%; {{{headerstyle|}}}">{{ | ||
Line 14: | Line 14: | ||
|- | |- | ||
| <code>span</code> || set the cell's column span | | <code>span</code> || set the cell's column span | ||
|- | |||
| <code>rowspan</code> || set the cell's row span | |||
|- | |- | ||
| <code>style</code> || add styling to the cell | | <code>style</code> || add styling to the cell | ||
Line 21: | Line 23: | ||
| <code>headerstyle</code> || add styling to the header | | <code>headerstyle</code> || add styling to the header | ||
|- | |- | ||
| <code>image<code> || add an image to the header | | <code>image</code> || add an image to the header | ||
|- | |- | ||
| <code>link</code> || add a link to the image | | <code>link</code> || add a link to the image |
Latest revision as of 00:09, 7 October 2014
id |
set the cell's ID |
span |
set the cell's column span |
rowspan |
set the cell's row span |
style |
add styling to the cell |
header |
add a header |
headerstyle |
add styling to the header |
image |
add an image to the header |
link |
add a link to the image |
content |
the content in the cell |
class |
add a class to the content |
contentstyle |
add styling to the content |