Difference between revisions of "Sandbox6"
From MarineLives
(→Simple wikitable, with text aligned to right in last column) |
|||
Line 26: | Line 26: | ||
|} | |} | ||
---- | ---- | ||
+ | '''More complex wikitable with subsivisions''' | ||
+ | |||
+ | The code for this table comes from [https://en.wikipedia.org/wiki/Web_banner Wikipedia:Web banner] | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {| class="wikitable" | ||
+ | |+ align="bottom" style="caption-side: bottom" | Sizes in bold are part of the [[Interactive Advertising Bureau|IAB's]] Universal Ad Package.<ref>{{cite web|title=Universal Ad Package|url=http://www.iab.net/guidelines/508676/508767/UAP|website=iab.net |accessdate= July 28, 2014}}</ref> | ||
+ | |- | ||
+ | ! Name | ||
+ | ! Width / [[pixels|px]] | ||
+ | ! Height / [[pixels|px]] | ||
+ | ! [[Aspect ratio]] | ||
+ | |- | ||
+ | ! colspan="4" | Rectangles and Pop-Ups | ||
+ | |- | ||
+ | | '''Medium Rectangle''' | ||
+ | | 300 | ||
+ | | 250 | ||
+ | | 1.2 | ||
+ | |- | ||
+ | | Square Pop-Up | ||
+ | | 250 | ||
+ | | 250 | ||
+ | | 1 | ||
+ | |- | ||
+ | | Vertical Rectangle | ||
+ | | 240 | ||
+ | | 400 | ||
+ | | 0.6 | ||
+ | |- | ||
+ | | Large Rectangle | ||
+ | | 336 | ||
+ | | 280 | ||
+ | | 1.2 | ||
+ | |- | ||
+ | | '''Rectangle''' | ||
+ | | 180 | ||
+ | | 150 | ||
+ | | 1.2 | ||
+ | |- | ||
+ | | 3:1 Rectangle | ||
+ | | 300 | ||
+ | | 100 | ||
+ | | 3 | ||
+ | |- | ||
+ | | Pop-Under | ||
+ | | 720 | ||
+ | | 300 | ||
+ | | 2.4 | ||
+ | |- | ||
+ | ! colspan="4" | Banners and Buttons | ||
+ | |- | ||
+ | | Full banner | ||
+ | | 468 | ||
+ | | 60 | ||
+ | | 7.8 | ||
+ | |- | ||
+ | | Half banner | ||
+ | | 234 | ||
+ | | 60 | ||
+ | | 3.9 | ||
+ | |- | ||
+ | | Micro bar | ||
+ | | 88 | ||
+ | | 31 | ||
+ | | 2.84 | ||
+ | |- | ||
+ | | Button 1 | ||
+ | | 120 | ||
+ | | 90 | ||
+ | | 1.33 | ||
+ | |- | ||
+ | | Button 2 | ||
+ | | 120 | ||
+ | | 60 | ||
+ | | 2 | ||
+ | |- | ||
+ | | Vertical banner | ||
+ | | 120 | ||
+ | | 240 | ||
+ | | 0.5 | ||
+ | |- | ||
+ | | Square button | ||
+ | | 125 | ||
+ | | 125 | ||
+ | | 1 | ||
+ | |- | ||
+ | | {{anchor|Leaderboard}}'''Leaderboard''' | ||
+ | | 728 | ||
+ | | 90 | ||
+ | | 8.09 | ||
+ | |- | ||
+ | ! colspan="4" | Skyscrapers | ||
+ | |- | ||
+ | | '''Wide skyscraper''' | ||
+ | | 160 | ||
+ | | 600 | ||
+ | | 3.75 | ||
+ | |- | ||
+ | | Skyscraper | ||
+ | | 120 | ||
+ | | 600 | ||
+ | | 5 | ||
+ | |- | ||
+ | | Half page ad | ||
+ | | 300 | ||
+ | | 600 | ||
+ | | 2 | ||
+ | |} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | The table displays as below: | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |+ align="bottom" style="caption-side: bottom" | Sizes in bold are part of the [[Interactive Advertising Bureau|IAB's]] Universal Ad Package.<ref>{{cite web|title=Universal Ad Package|url=http://www.iab.net/guidelines/508676/508767/UAP|website=iab.net |accessdate= July 28, 2014}}</ref> | ||
+ | |- | ||
+ | ! Name | ||
+ | ! Width / [[pixels|px]] | ||
+ | ! Height / [[pixels|px]] | ||
+ | ! [[Aspect ratio]] | ||
+ | |- | ||
+ | ! colspan="4" | Rectangles and Pop-Ups | ||
+ | |- | ||
+ | | '''Medium Rectangle''' | ||
+ | | 300 | ||
+ | | 250 | ||
+ | | 1.2 | ||
+ | |- | ||
+ | | Square Pop-Up | ||
+ | | 250 | ||
+ | | 250 | ||
+ | | 1 | ||
+ | |- | ||
+ | | Vertical Rectangle | ||
+ | | 240 | ||
+ | | 400 | ||
+ | | 0.6 | ||
+ | |- | ||
+ | | Large Rectangle | ||
+ | | 336 | ||
+ | | 280 | ||
+ | | 1.2 | ||
+ | |- | ||
+ | | '''Rectangle''' | ||
+ | | 180 | ||
+ | | 150 | ||
+ | | 1.2 | ||
+ | |- | ||
+ | | 3:1 Rectangle | ||
+ | | 300 | ||
+ | | 100 | ||
+ | | 3 | ||
+ | |- | ||
+ | | Pop-Under | ||
+ | | 720 | ||
+ | | 300 | ||
+ | | 2.4 | ||
+ | |- | ||
+ | ! colspan="4" | Banners and Buttons | ||
+ | |- | ||
+ | | Full banner | ||
+ | | 468 | ||
+ | | 60 | ||
+ | | 7.8 | ||
+ | |- | ||
+ | | Half banner | ||
+ | | 234 | ||
+ | | 60 | ||
+ | | 3.9 | ||
+ | |- | ||
+ | | Micro bar | ||
+ | | 88 | ||
+ | | 31 | ||
+ | | 2.84 | ||
+ | |- | ||
+ | | Button 1 | ||
+ | | 120 | ||
+ | | 90 | ||
+ | | 1.33 | ||
+ | |- | ||
+ | | Button 2 | ||
+ | | 120 | ||
+ | | 60 | ||
+ | | 2 | ||
+ | |- | ||
+ | | Vertical banner | ||
+ | | 120 | ||
+ | | 240 | ||
+ | | 0.5 | ||
+ | |- | ||
+ | | Square button | ||
+ | | 125 | ||
+ | | 125 | ||
+ | | 1 | ||
+ | |- | ||
+ | | {{anchor|Leaderboard}}'''Leaderboard''' | ||
+ | | 728 | ||
+ | | 90 | ||
+ | | 8.09 | ||
+ | |- | ||
+ | ! colspan="4" | Skyscrapers | ||
+ | |- | ||
+ | | '''Wide skyscraper''' | ||
+ | | 160 | ||
+ | | 600 | ||
+ | | 3.75 | ||
+ | |- | ||
+ | | Skyscraper | ||
+ | | 120 | ||
+ | | 600 | ||
+ | | 5 | ||
+ | |- | ||
+ | | Half page ad | ||
+ | | 300 | ||
+ | | 600 | ||
+ | | 2 | ||
+ | |} | ||
+ | |||
==Learning about templates== | ==Learning about templates== | ||
Revision as of 20:07, 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 comes from Wikipedia:Web banner
{| class="wikitable" |+ align="bottom" style="caption-side: bottom" | Sizes in bold are part of the [[Interactive Advertising Bureau|IAB's]] Universal Ad Package.<ref>{{cite web|title=Universal Ad Package|url=http://www.iab.net/guidelines/508676/508767/UAP|website=iab.net |accessdate= July 28, 2014}}</ref> |- ! Name ! Width / [[pixels|px]] ! Height / [[pixels|px]] ! [[Aspect ratio]] |- ! colspan="4" | Rectangles and Pop-Ups |- | '''Medium Rectangle''' | 300 | 250 | 1.2 |- | Square Pop-Up | 250 | 250 | 1 |- | Vertical Rectangle | 240 | 400 | 0.6 |- | Large Rectangle | 336 | 280 | 1.2 |- | '''Rectangle''' | 180 | 150 | 1.2 |- | 3:1 Rectangle | 300 | 100 | 3 |- | Pop-Under | 720 | 300 | 2.4 |- ! colspan="4" | Banners and Buttons |- | Full banner | 468 | 60 | 7.8 |- | Half banner | 234 | 60 | 3.9 |- | Micro bar | 88 | 31 | 2.84 |- | Button 1 | 120 | 90 | 1.33 |- | Button 2 | 120 | 60 | 2 |- | Vertical banner | 120 | 240 | 0.5 |- | Square button | 125 | 125 | 1 |- | {{anchor|Leaderboard}}'''Leaderboard''' | 728 | 90 | 8.09 |- ! colspan="4" | Skyscrapers |- | '''Wide skyscraper''' | 160 | 600 | 3.75 |- | Skyscraper | 120 | 600 | 5 |- | Half page ad | 300 | 600 | 2 |}
The table displays as below:
Name | Width / px | Height / px | Aspect ratio |
---|---|---|---|
Rectangles and Pop-Ups | |||
Medium Rectangle | 300 | 250 | 1.2 |
Square Pop-Up | 250 | 250 | 1 |
Vertical Rectangle | 240 | 400 | 0.6 |
Large Rectangle | 336 | 280 | 1.2 |
Rectangle | 180 | 150 | 1.2 |
3:1 Rectangle | 300 | 100 | 3 |
Pop-Under | 720 | 300 | 2.4 |
Banners and Buttons | |||
Full banner | 468 | 60 | 7.8 |
Half banner | 234 | 60 | 3.9 |
Micro bar | 88 | 31 | 2.84 |
Button 1 | 120 | 90 | 1.33 |
Button 2 | 120 | 60 | 2 |
Vertical banner | 120 | 240 | 0.5 |
Square button | 125 | 125 | 1 |
Template:AnchorLeaderboard | 728 | 90 | 8.09 |
Skyscrapers | |||
Wide skyscraper | 160 | 600 | 3.75 |
Skyscraper | 120 | 600 | 5 |
Half page ad | 300 | 600 | 2 |
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>
|