Wikia

Familypedia

Help:Inline queries/Configuring labels or table headers

Talk0
164,449pages on
this wiki

< Help:Inline queries

Subpages of the main Help page:
* 1 /Introduction to "hash"ask
* 2 /The "hash"show parser function
* 3 /Standard parameters for inline queries
**3.1 /Result limits and links to further results
**3.2 /Introduction and default text
**3.3 /Sorting results

**3.4 /Configuring labels or table headers

**3.5 /Changing the first result column
* 4 /Result formats
* 5 /Exporting query results: RSS, etc.
* 6 /Using templates for custom formatting

Queries that return more than just the selected articles (e.g. the population in the above example) will display labels that describe the various output fields. By default, the label just displays the name of the requested property, or the text «Category» if categories are displayed. Labels for properties normally display as a link to the respective pages in the Property: namespace.

In the table format, the labels appear as column headers. In other formats, the labels might appear right before the output fields. The texts used for these labels can be controlled as explained in Help:Displaying information, using the equality symbol after printouts. Example:

{{#ask: [[Category:City]]
 |?Population=
 | ?Area#km²=Size in km²
 | ?Category=Category memberships
 | format=table
 | default=nothing found in Category:City
}}

This query will produce:

    Size in km² Category memberships
Burundai (c1210-1263) Globals missing- person
Facts articles- person
(surname)
Born in 1210
Died in 1263
Mongol Empire
Generals of the Mongol Empire
Golden Horde
People of the Mongol Empire
Year of birth uncertain
Morta of Šiauliai (c1210-1262) Articles with Lithuanian-language external links
Globals missing- person
Facts articles- person
(surname)
Person articles requiring maintenance
Born in 1210
Died in 1262
Year of birth uncertain
Born in Šiauliai
Queens of Lithuania
Grand Duchesses of Lithuania
Nobility of Belarus
Medieval women
Albert J. Adams (1845-1906) Articles with hCards
Numbers game
Criminals of New York City
Criminals who committed suicide
Sing Sing
Suicides in New York
Adams (surname)
Born in 1845
Died in 1906
Famous people
Non-SMW people articles
Adelheid von Hessen (c1323-aft1371) Globals missing- person
Facts articles- person
Von Hessen (surname)
Born in 1324
Died in 1371
Articles incorporating an MLCC with a warning
Married in 1341
Married in Poznań
Burials in Kassel
14th-century women
House of Hesse
Polish queens consort
Women of medieval Poland
Georgina Charlotte Alderson (1827-1899) Facts articles- person
Alderson (surname)
Born in 1827
Died in 1889
People on Wikipedia
Married in 1857
Spouses of Prime Ministers of the United Kingdom
British marchionesses
Ladies of the Royal Order of Victoria and Albert
Companions of the Order of the Crown of India
Cecil family
Algeria Articles with Arabic-language external links
Pages with broken file links
Articles with French-language external links
Algeria
Arab republics
Arabic-speaking countries and territories
Countries in Africa
French-speaking countries and territories
G15 nations
Member states of OPEC
Member states of the African Union
Member states of the Arab League
Member states of the Organisation of Islamic Cooperation
Member states of the Union for the Mediterranean
Member states of the United Nations
North African countries
Republics
States and territories established in 1962
Valid name- nation
All female survey crew - Minidoka Project, Idaho 1918 PD US Government
Surveying
Feminism
1918
Idaho
Ancestors of Cosimo I de Medici Pages with broken file links
Rulers of Florence
House of Medici
People from Florence
Patrons of literature
Knights of the Golden Fleece
Kinship and descent
Ann Arbor, Michigan Settlements established in 1824
Ann Arbor, Michigan
Academic enclaves
Cities in Michigan
County seats in Michigan
Cities in Washtenaw County, Michigan
Metro Detroit
1824 establishments in Michigan Territory
University towns in the United States
Saint Anne Globals missing- person
Facts articles- person
(surname)
Mary (mother of Jesus)
Eastern Orthodox saints
Saints from the Holy Land
1st-century Christian female saints
Anglican saints
Angelic visionaries
Agnes von Brandenburg (1257-1304) Facts articles- person
Ascania (surname)
Born in 1257
Died in 1304
People on Wikipedia
Articles with authority control information
Female regents
Danish royal consorts
Women of medieval Denmark
Regents of Denmark
House of Schauenburg
House of Ascania
Burials at St. Bendt's Church
Beatrix von Brandenburg (c1270-bef1316) Facts articles- person
Ascania (surname)
Born in 1270
Died in 1316
People on Wikipedia
House of Ascania
House of Piast
Medieval women
Franziska Sybilla von Sachsen-Lauenburg (1675-1733) Facts articles- person
Ascania (surname)
Born in 1675
Died in 1733
People on Wikipedia
Articles with authority control information
German royalty
German princesses
House of Ascania
17th-century German people
18th-century German people
Female regents
Regents of Germany
Duchesses of Saxe-Lauenburg
Margravines of Baden-Baden
People from Schleswig-Holstein
House of Zähringen
Roman Catholic monarchs
Mechthild von Brandenburg (c1210-1261) Facts articles- person
Ascania (surname)
Born in 1210
Died in 1261
People on Wikipedia
Medieval women
House of Ascania
Duchesses of Brunswick-Lüneburg
Auburn, New South Wales Valid name- locality- New South Wales
Suburbs of Sydney
Turkish communities outside Turkey
Austin, Texas Pages with broken file links
Austin, Texas
Academic enclaves
Capitals of former nations
Cities in Texas
Greater Austin
Planned cities in the United States
Settlements established in 1839
Cities in Hays County, Texas
Cities in Travis County, Texas
Cities in Williamson County, Texas
County seats in Texas
Azerbaijan Articles with Russian-language external links
Articles with Persian-language external links
Articles with Azerbaijani-language external links
Country articles requiring maintenance
Pages with broken file links
Spoken articles
Articles with hAudio microformats
Caspian Sea countries
Azerbaijan
Bicontinental countries
Caucasus
Western Asian countries
Countries in Europe
Near Eastern countries
Landlocked countries
Modern Turkic states
Republics
Russian-speaking countries and territories
States and territories established in 1991
Western Asia
Member states of the Organisation of Islamic Cooperation
Member states of the Commonwealth of Independent States
Member states of the United Nations
Azerbaijani inhabited regions
Azerbaijani-speaking countries and territories
Valid name- nation
Evelyn Baring, 1st Earl of Cromer (1841-1917) Facts articles- person
Baring (surname)
Born in 1841
Died in 1917
People on Wikipedia
Articles with authority control information
People from Norfolk
Baring family
British consuls-general in Egypt
Diplomatic peers
Earls in the Peerage of the United Kingdom
19th century in Egypt
Knights Grand Cross of the Order of the Bath
Knights Grand Cross of the Order of St Michael and St George
Knights Commander of the Order of the Star of India
Companions of the Order of the Indian Empire
Members of the Order of Merit
Members of the Privy Council of the United Kingdom
Fellows of the Royal Society
Graduates of the Staff College, Camberley
Anti-suffragists
20th century in Egypt
Burials in Dorset
Batlow, New South Wales Valid name- locality- New South Wales
Towns in New South Wales
Australian soldier settlements
Battle of Bannockburn Articles incorporating a citation from the 1911 Encyclopaedia Britannica with Wikisource reference
1314 in Scotland
Battles between England and Scotland
Battles of the Wars of Scottish Independence
National Trust for Scotland properties
Conflicts in 1314
Museums in Stirling (council area)
Military and war museums in Scotland
History museums in Scotland
Inventory of Historic Battlefields in Scotland
Battle of the Kalka River 1223 in Europe
Battles involving the Mongols
Battles involving Kievan Rus'
Conflicts in 1223
Battle of Blue Waters (1362) Articles with Lithuanian-language external links
Articles with Ukrainian-language external links
Conflicts in 1362
Battles involving the Grand Duchy of Lithuania
History of Ukraine
History of Kiev
Golden Horde
Battles involving the Mongols
1362 in Lithuania
Battle of Cornul lui Sas (1612) Conflicts in 1612
Battles involving Moldavia
Battles involving the Ottoman Empire
Battles involving the Crimean Khanate
Battles involving Poland
Battle of Legnica 1241 in Europe
History of Silesia
Battles involving the Mongols
Battles involving Poland
Battles involving Bohemia
Battles involving the Teutonic Knights
Legnica
Conflicts in 1241
Battle of Mount Tugov Battles involving the Mongols
Battles involving Russia
Yaroslavl Oblast
1257 in Russia
Conflicts in 1257
Battle of Suzdal (1445) 1445 in Europe
Conflicts in 1445
Battles involving the Mongols
Battles involving Russia
Russo-Kazan Wars
Battle of the Sit River (1238) Articles incorporating text from Brockhaus-Efron
Battles involving the Mongols
Battles involving Russia
Principality of Vladimir-Suzdal
1238 in Russia
Conflicts in 1238
Battle of the Vorskla River (1399) Articles with Lithuanian-language external links
1399 in Lithuania
Conflicts in 1399
Battles involving Russia
Battles involving the Mongols
Battles involving the Grand Duchy of Lithuania
Battles involving Poland
Battles involving the Teutonic Knights
History of Ukraine
Battles involving Moldavia
Golden Horde
Battle of the Vozha River (1378) 1378 in Russia
Conflicts in 1378
Battles involving the Mongols
Battles involving Russia
Golden Horde
Anne Beauchamp, 16th Countess of Warwick (1426-1492) Facts articles- person
Beauchamp (surname)
Born in 1426
Died in 1492
Articles with authority control information
Famous people
Daughters of British earls
Earls in the Peerage of England
Earls of Warwick (1088)
English countesses
Women of medieval England
Women of the Tudor period
People from Caversham, Berkshire
Hereditary suo jure peeresses
15th-century women
English women
15th-century English people
Eleanor Beaufort (1431-1501) Facts articles- person
Beaufort (surname)
Born in 1431
Died in 1501
People on Wikipedia
Women of medieval England
People from Devon
People from Wiltshire
Women of the Tudor period
15th-century women
16th-century women
15th-century English people
16th-century English people
Beaufort family
Spencer-Churchill family
Butler dynasty
Joan Beaufort (c1406-1445) Facts articles- person
Beaufort (surname)
Born in 1406
Died in 1445
Famous people
Beaufort family
House of Stuart
Scottish royal consorts
Female regents
Women of medieval Scotland
Daughters of British earls
Upgraded from info page
Margaret Beaufort (1443-1509) Facts articles- person
Beaufort (surname)
Born in 1443
Died in 1509
Famous people
Daughters of English dukes
English countesses
Founders of English schools and colleges
Beaufort family
House of Tudor
Ladies of the Garter
Women in Medieval warfare
Women of the Tudor period
People of the Wars of the Roses
Burials at Westminster Abbey
Female regents
Upgraded from info page
Basilios Bessarion (1403-1472) Globals missing- person
Facts articles- person
Bessarion (surname)
Born in 1403
Died in 1472
Migrants from the Empire of Trebizond to Italy
Articles with authority control information
Famous people
Greek Roman Catholics
Deans of the College of Cardinals
Diplomats of the Holy See
East–West Schism
Empire of Trebizond
Greek cardinals
Cardinal-bishops of Frascati
Cardinal-bishops of Sabina
Greek Renaissance humanists
Greek theologians
Latin Patriarchs of Constantinople
Converts to Roman Catholicism from Eastern Orthodoxy
Byzantine Pontians
15th-century Byzantine people
15th-century Greek people
Birutė of Palanga (c1320-1382) Globals missing- person
Facts articles- person
Of Palanga (surname)
Born in 1320
Died in 1382
Articles with Lithuanian-language external links
Year of birth uncertain
12th-century women
Deified people
Lithuanian goddesses
Grand Duchesses of Lithuania
Lithuanian nobility
Deaths by drowning
Mary Ann Black (1801-1861) Facts articles- person
Black (surname)
Born in 1801
Died in 1861
Ancestry from Scotland
Ancestry from England
Resided in New South Wales
Australian businesspeople
People from Sydney
Women of the Victorian era
People on Wikipedia
Elizabeth Ann Bloomer (1918-2011) Facts articles- person
Bloomer (surname)
Born in 1918
Died in 2011
20th-century American people
20th-century women writers
21st-century American people
21st-century women writers
Activists from California
American dancers
American Episcopalians
American female models
American memoirists
American women's rights activists
American women writers
Breast cancer survivors
Burials in Michigan
California Republicans
Congressional Gold Medal recipients
First Ladies of the United States
Gerald Ford family
Michigan Republicans
Married in Grand Rapids, Michigan
Born in Chicago
Died in Rancho Mirage, California
People self-identifying as alcoholics
Second Ladies of the United States
Spouses of members of the United States House of Representatives
Writers from California
Writers from Chicago, Illinois
Writers from Michigan
Writers from Virginia
Anne Boleyn (c1505-1536) Facts articles- person
Boleyn (surname)
Born in 1505
Died in 1536
People on Wikipedia
Articles with authority control information
Anne Boleyn
Annulment
Boleyn family
Created suo jure peeresses
Daughters of British earls
English Anglicans
Executed English women
Executed royalty
Executions at the Tower of London
Converts to Anglicanism from Roman Catholicism
Howard family (English aristocracy)
Maids of Honour
Marquesses in the Peerage of England
Mistresses of Henry VIII of England
English people executed by decapitation
People executed under the Tudors for treason against England
People from Kent
People from Norfolk
Prisoners in the Tower of London
Wives of Henry VIII of England
16th-century English people
16th-century women
Year of birth uncertain
People executed by the Kingdom of England by decapitation
People executed under Henry VIII of England
Burials at St. Peter ad Vincula (London)
Mary Boleyn (1503-1543) Facts articles- person
Boleyn (surname)
Born in 1503
Died in 1543
People on Wikipedia
Articles with authority control information
Mistresses of Henry VIII of England
Mistresses of French royalty
People from Norfolk
People from Sevenoaks (district)
Women of the Tudor period
Howard family (English aristocracy)
Boleyn family
Daughters of British earls
Ladies of the Privy Chamber
16th-century English people
16th-century women
English women
Mary Boleyn
Carey family
Marie Christine de Bourbon (1606-1663) Facts articles- person
Bourbon (surname)
Born in 1606
Died in 1663
People on Wikipedia
Migrants from France to Italy
Articles with authority control information
People from Paris
Female regents
Regents of Savoy
House of Bourbon (France)
House of Savoy
Duchesses of Savoy
Princesses of France (Bourbon)
17th-century French people
Ann Eliza Brainerd (1819-1905) Facts articles- person
Brainerd (surname)
Born in 1819
Died in 1905
People on Wikipedia
Articles with authority control information
19th-century American novelists
American fantasy writers
American women novelists
People from St. Albans, Vermont
Women of the Victorian era
American women writers
Writers from Vermont
Eleanor Brandon (1519-1547) Facts articles- person
Brandon (surname)
Born in 1519
Died in 1547
People on Wikipedia
Daughters of British dukes
English countesses
Women of the Tudor period
16th-century women
16th-century English people
Disease-related deaths in England
Brandon family
Frances Brandon (1517-1559) Facts articles- person
Brandon (surname)
Born in 1517
Died in 1559
People on Wikipedia
Articles with authority control information
Burials at Westminster Abbey
English duchesses by marriage
Daughters of English dukes
Women of the Tudor period
Heirs to the English throne
16th-century English people
16th-century women
Brandon family
Grey family
Eva de Braose (-1255) Facts articles- person
Braose (surname)
Died in 1255
People on Wikipedia
Married same sex
Medieval women
Eva Anna Paula Braun (1912-1945) Articles with hCards
Pages with broken file links
Female suicides
German people of World War II
Hitler family
Nazis who committed suicide
People from Munich
German Roman Catholics
Shooting survivors
Suicides by poison
Suicides in Germany
Born in 1912
Died in 1945
Braun (surname)
Non-SMW people articles
Famous people
Brookline, Massachusetts Pages with broken file links
Incomplete lists
Brookline, Massachusetts
Streetcar suburbs
Towns in Norfolk County, Massachusetts
Israeli-American history
Jews and Judaism in Massachusetts
Jewish communities in the United States
Russian communities in the United States
Russian-American culture in Massachusetts
Established in 1638
Elizabeth Browne (c1502-1565) Facts articles- person
Browne (surname)
Born in 1502
Died in 1565
People on Wikipedia
Mistresses of English royalty
Women of the Tudor period
English countesses
Somerset family
English ladies-in-waiting
Browne family
16th-century women
Constantin Brâncoveanu (1654-1714) Articles with authority control information
Died in Constantinople
Born in Brâncoveni, Olt
People from Olt County
Executed reigning monarchs
People executed by Turkey by decapitation
Romanian saints
Voivodes of Wallachia
Patrons of literature
Eastern Orthodox Christians from Romania
Romanian people executed by decapitation
People executed by the Ottoman Empire
Christians executed for refusing to convert to Islam
18th-century Christian saints
18th-century Eastern Orthodox martyrs
17th-century Romanian people
18th-century Romanian people
18th-century executions
Recipients of the Order of St. Andrew
Christian saints killed by Muslims
People on Wikipedia
Brâncoveanu (surname)
Born in 1654
Died in 1714
Non-SMW people articles
Piccarda Bueri (c1368-1433) Facts articles- person
Bueri (surname)
Born in 1368
Died in 1433
People on Wikipedia
15th-century Italian people
House of Medici
Patrons of literature
People from Florence
John Ellis Bush (1953) Facts articles- person
Bush (surname)
Born in 1953
People on Wikipedia
Articles with authority control information
Living people
20th-century Roman Catholics
21st-century Roman Catholics
American bankers
American consultants
American consulting businesspeople
American expatriates in Venezuela
American people of Dutch descent
American people of English descent
American people of German descent
American philanthropists
American real estate businesspeople
American Roman Catholics
Bush family
Businesspeople from Miami, Florida
Businesspeople from Texas
Children of Presidents of the United States
Converts to Roman Catholicism from Anglicanism
Florida Republicans
Governors of Florida
Great Floridians
Lehman Brothers people
People from Coral Gables, Florida
People from Houston, Texas
People from Midland, Texas
Phillips Academy alumni
Republican Party state governors of the United States
Siblings of Presidents of the United States
State cabinet secretaries of Florida
Texas Republicans
University of Texas at Austin alumni
… further results

It is possible to use empty printout labels to have no label for a result column at all. In tables, however, the table header will still be shown even if all printouts use empty labels. To remove the header of a table completely, the parameter headers can be used. Two values are possible:

  • show: display labels (default)
  • hide: hide all labels and table headers

This setting works for tables as well as for other outputs. In the latter case, the value hide will hide all printout labels, even if they have a non-empty label set in the query.


This page uses content from the Semantic MediaWiki website. The original content was at Help:Inline queries. The list of authors can be seen in the page history there. The documentation portion of the content of Semantic MediaWiki is available under Creative Commons 3.0 licensing.

Around Wikia's network

Random Wiki