Difference between revisions of "Sandbox6"
From MarineLives
(→Simple wikitable, with text aligned to right in last column) |
(→Simple wikitable, with text aligned to right in last column) |
||
Line 28: | Line 28: | ||
'''More complex wikitable with subsivisions''' | '''More complex wikitable with subsivisions''' | ||
− | The code for this table | + | The code for this table is modified from [https://en.wikipedia.org/wiki/Web_banner Wikipedia:Web banner] |
<pre><nowiki> | <pre><nowiki> | ||
{| class="wikitable" | {| class="wikitable" | ||
− | |+ align="bottom" style="caption-side: | + | |+ align="bottom" style="caption-side: top" | This is a demonstration table |
|- | |- | ||
! Name | ! Name | ||
− | ! Width | + | ! Width |
− | ! Height | + | ! Height |
− | + | ||
|- | |- | ||
− | ! colspan=" | + | ! colspan="3" | Blah Blah |
|- | |- | ||
− | | | + | | A |
− | | | + | | X |
− | | | + | | Y |
− | + | ||
|- | |- | ||
− | | | + | | B |
− | | | + | | X |
− | | | + | | Y |
− | + | ||
|- | |- | ||
− | | | + | ! colspan="3" | More Blah |
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | | | + | | C |
− | | | + | | X |
− | | | + | | Y |
− | + | ||
|- | |- | ||
− | | | + | | D |
− | | | + | | X |
− | | | + | | Y |
− | + | ||
|- | |- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 140: | Line 64: | ||
{| class="wikitable" | {| class="wikitable" | ||
− | |+ align="bottom" style="caption-side: | + | |+ align="bottom" style="caption-side: top" | This is a demonstration table |
|- | |- | ||
! Name | ! Name | ||
− | ! Width | + | ! Width |
− | ! Height | + | ! Height |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | | | + | ! colspan="3" | Blah Blah |
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | | | + | | A |
− | | | + | | X |
− | | | + | | Y |
− | + | ||
|- | |- | ||
− | | | + | | B |
− | + | | X | |
− | | | + | | Y |
− | | | + | |
|- | |- | ||
− | ! colspan=" | + | ! colspan="3" | More Blah |
|- | |- | ||
− | | | + | | C |
− | | | + | | X |
− | | | + | | Y |
− | + | ||
|- | |- | ||
− | | | + | | D |
− | | | + | | X |
− | | | + | | Y |
− | + | ||
|- | |- | ||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Revision as of 20:17, July 21, 2016
Contents
Hex colour swatch
Click on color-hex for an online colour swatch
Banner with homemade Banner template
Learning about tables
This section of the Sandbox page is dedicated to learning about tables:
Simple wikitable, with text aligned to right in last column
Orange | Apple | Tomato | 4,567,000 |
Bread | Ice cream | Dogs | 4,000 |
More complex wikitable with subsivisions
The code for this table is modified from Wikipedia:Web banner
{| class="wikitable" |+ align="bottom" style="caption-side: top" | This is a demonstration table |- ! Name ! Width ! Height |- ! colspan="3" | Blah Blah |- | A | X | Y |- | B | X | Y |- ! colspan="3" | More Blah |- | C | X | Y |- | D | X | Y |- |}
The table displays as below:
Name | Width | Height |
---|---|---|
Blah Blah | ||
A | X | Y |
B | X | Y |
More Blah | ||
C | X | Y |
D | X | Y |
Learning about templates
This section of the Sandbox page is dedicated to learning about templates:
Simple text insertion template
Semantic biographies are an experimental series of biographies of deponents who were witnesses in the High Court of Admiralty in the 1650s. They are being prepared by {{{Name}}}.
Simple infobox insertion template
{| cellpadding="0" cellspacing="0" style="float: right; clear: right; border: 1px #dcdcdc; padding: 5px; margin: 0em 0em 1em 1em; max-width: 300px; background: #b0c4de;" |- | {| cellpadding="1" cellspacing="0" style="font-size: 90%; width: 100%; = |-{{#if: {{{Title}}} | {{Title|{{{Title}}}|}} | {{blank}} }} |-{{#if: {{{Firstname}}} | {{Firstname|{{{Firstname}}}|}} | {{blank}} }} |-{{#if: {{{Lastname}}} | {{Lastname|{{{Lastname}}}|}} | {{blank}} }} |-{{#if: {{{Suffix}}} | {{Suffix|{{{Suffix}}}|}} | {{blank}} }} |-{{#if: {{{Occupation}}} | {{Occupation|{{{Occupation}}}|}} | {{blank}} }} |-{{#if: {{{Birth year}}} | {{Birth year|{{{Birth year}}}|}} | {{blank}} }} |-{{#if: {{{Birth place}}} | {{Birth place|{{{Birth place}}}|}} | {{blank}} }} |-{{#if: {{{Resident town}}} | {{Resident town|{{{Resident town}}}|}} | {{blank}} }} |} |} <noinclude>[[Category:Templates]]</noinclude>
|