Difference between revisions of "Sandbox6"

From MarineLives
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Semantic queries with "Or"==
 
 
<pre><nowiki>{{#ask: [[Category:Semantic biography]]  [[Occupation::Fishmonger]] OR [[Occupation::Grocer]]
 
|?Occupation
 
|intro=This query lists all semantic biographies with the property occupation = fishmonger or grocer
 
}}</nowiki></pre>
 
 
{{#ask: [[Category:Semantic biography]]  [[Occupation::Fishmonger]] OR [[Occupation::Grocer]]
 
|?Occupation
 
|intro=This query lists all semantic biographies with the property occupation = fishmonger or grocer
 
}}
 
 
 
 
==Hex colour swatch==
 
==Hex colour swatch==
  
Line 142: Line 129:
 
|}
 
|}
  
<noinclude>[[Category:Templates]]</noinclude>
+
<noinclude>[[Category:Template]]</noinclude>
  
 
</nowiki></pre>
 
</nowiki></pre>
Line 161: Line 148:
 
|}
 
|}
  
<noinclude>[[Category:Templates]]</noinclude>
+
<noinclude>[[Category:Template]]</noinclude>
 +
----
 +
==Semantic queries with a date range==
 +
 
 +
<pre><nowiki>{{#ask: [[Category:Semantic biography]] [[Birth year::>1620]] [[Birth year::<1630]]
 +
|?Firstname
 +
|?Lastname
 +
|?Birth year
 +
|?Occupation
 +
|intro=This query lists all semantic biographies with the property birth year between 1620 and 1630 (inclusive), by birth year ascending
 +
|sort=Birth year
 +
|ascending
 +
}}</nowiki></pre>
 +
 
 +
{{#ask: [[Category:Semantic biography]] [[Birth year::>1620]] [[Birth year::<1630]]
 +
|?Firstname
 +
|?Lastname
 +
|?Birth year
 +
|?Occupation
 +
|intro=This query lists all semantic biographies with the property birth year between 1620 and 1630 (inclusive), by birth year ascending
 +
|sort=Birth year
 +
|ascending
 +
}}
 +
 
 +
----
 +
==Semantic queries with "OR"==
 +
 
 +
<pre><nowiki>{{#ask: [[Category:Semantic biography]]  [[Occupation::Fishmonger]] OR [[Occupation::Grocer]]
 +
|?Occupation
 +
|intro=This query lists all semantic biographies with the property occupation = fishmonger or grocer
 +
}}</nowiki></pre>
 +
 
 +
{{#ask: [[Category:Semantic biography]]  [[Occupation::Fishmonger]] OR [[Occupation::Grocer]]
 +
|?Occupation
 +
|intro=This query lists all semantic biographies with the property occupation = fishmonger or grocer
 +
}}
 +
----
 +
[[Category:Sandbox]]

Latest revision as of 09:50, July 25, 2016

Hex colour swatch


Click on color-hex for an online colour swatch



Failed float box semantic biography template

Sandbox6 biographical information
Title Firstname Lastname Suffix
+ + + +
Person Occupation Birth year Birth place Resident town HCA vol.


Question - why is the table not embedded in the floatbox?







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 subDivisions


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:

This is a demonstration table
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:Template]]</noinclude>




Semantic queries with a date range


{{#ask: [[Category:Semantic biography]] [[Birth year::>1620]] [[Birth year::<1630]]
 |?Firstname
 |?Lastname
 |?Birth year
 |?Occupation
 |intro=This query lists all semantic biographies with the property birth year between 1620 and 1630 (inclusive), by birth year ascending
 |sort=Birth year
 |ascending
}}
This query lists all semantic biographies with the property birth year between 1620 and 1630 (inclusive), by birth year ascending
 FirstnameLastnameBirth yearOccupation
John KeebleJohnKeeble1620Mariner
Joos BatemanJoosBateman1620Merchant
Captaine Thomas BreedonThomasBreedon1620Brewer
William HorneWilliamHorne1620Mariner
Zacharias Bronnwell JuniorZachariasBronnewell1620Mariner
William BingWilliamBing1620Mariner
Edward BushellEdwardBushell1620Merchant
Humphree HutchinsHumphreeHutchins1620Waterman
Henry DamorinHenryDamorin1620Ropemaker
Henry TulseHenryTulse1620Grocer
Abraham SkeltonAbrahamSkelton1620Waterman
Necholes MoorNecholesMoor1620Mariner
Martin BandMartinBand1620Mariner
Robert HookerRobertHooker1620Ropemaker
Joseph AsheJosephAshe1620Merchant
Alexander FowlerAlexanderFowler1620Winecooper
Baldwin MathewsBaldwinMathews1620Merchant
James SadlerJamesSadler1620Merchant
Thomas DouglasThomasDouglas1620Mariner
John HarrisJohnHarris1620Merchant
Cornelius van BommellCorneliusVan Bommell1620Merchant
John PageJohnPage1620Mariner
Phillipp DaviesPhillippDavies1620Shipwright
Andrew BowmanAndrewBowman1621Mariner
John WhitteyJohnWhittey1621Mariner
Vallintine BuggsVallintineBuggs1621Mariner
Richard HopkinsRichardHopkins1621Cutler
Manoel AlvaresManoelAlvares1621Steward
Captaine Willoughby HannamWilloughbyHannam1621Mariner
John CourtJohnCourt1621Mariner
Thomas BeeThomasBee1621Mariner
William BouremanWilliamBoureman1621Shipwright
John CocklingsJohnCocklings1621Mariner
George MoulinGeorgeMoulin1621Mariner
John HuttonJohnHutton1621Mariner
John BellamyJohnBellamy1621Winecooper
Robert MillRobertMill1621Mariner
Stephen CranbrookeStephenCranbrooke1621Mariner
Ambrose PomeroyAmbrosePomeroy1621Mariner
Francis PardiniFrancisPardini1621Merchant
Alexander RobinsonAlexanderRobinson1621Mariner
John DaviesJohnDavies1621Labourer
Christopher MalimChristopherMalim1621Shipwright
Charles GanderCharlesGander1621Shipwright
Robert RickmanRobertRickman1622Fishmonger
Gillis VandeputGillisVandeput1622Merchant
Thomas De LavallThomasDe Lavall1622Merchant
Edward ArlibearEdwardArlibear1622Mariner
Jasper DevenishJasperDevenish1622Mariner
Thomas ChaplainThomasChaplain1622Shipwright
... further results
The part "ascending" of the query was not understood.

Results might not be as expected.



Semantic queries with "OR"


{{#ask: [[Category:Semantic biography]]  [[Occupation::Fishmonger]] OR [[Occupation::Grocer]]
 |?Occupation
 |intro=This query lists all semantic biographies with the property occupation = fishmonger or grocer
}}
This query lists all semantic biographies with the property occupation = fishmonger or grocer
 Occupation
Captaine John GreeneFishmonger
Ffrancis HarfeildGrocer
Henry BurrowesFishmonger
Henry TulseGrocer
James JauncyGrocer
John CremerFishmonger
John KnightGrocer
John StaceGrocer
Lewis BykerGrocer
Marke MortimerGrocer
Nicholas NobleGrocer
Richard BaddelyFishmonger
Richard BenthamFishmonger
Robert ArcherGrocer
Robert RickmanFishmonger
Robert WestronFishmonger
Samuell BirdseyFishmonger
Stephen SikesGrocer
Theophilus ReuellGrocer
Thomas FisherFishmonger
Thomas HicksFishmonger
Thomas LockingtonFishmonger
Thomas MarklandGrocer
Thomas PeacockGrocer
William WheatleyGrocer