Archive is at User:RexxS/sandbox/Archive
For temporary testing 1
edit5 January 1933
5 January 1933
5 January 1933 – 19 April 1937
For temporary testing 2
edit- pt
- Ronaldo Mourão. "O Brasil e a passagem de Vênus entre o Sol e a Terra". ECO•21 (in Portuguese) (91). Wikidata Q100367981. Archived from the original on 15 October 2020.
- Ronaldo Mourão. "O Brasil e a passagem de Vênus entre o Sol e a Terra". ECO•21 (in Portuguese) (91). Wikidata Q100367981. Archived from the original on 15 October 2020.
{{journal |archive-date=15 October 2020 |archive-url=http://web.archive.org/web/20201015051845/http://www.eco21.com.br/textos/textos.asp?ID=808 |author-link1=Ronaldo Rogério de Freitas Mourão |author1=Ronaldo Mourão |id=[[WDQ (identifier)|Wikidata]] [[:d:Q100367981|Q100367981]] |issue=91 |journal=ECO•21 |language=pt |title=O Brasil e a passagem de Vênus entre o Sol e a Terra |url=http://www.eco21.com.br/textos/textos.asp?ID=808}}
For temporary testing 3
editWikidata table
editgetValueByLang
edit{{#invoke:WikidataIB|getValueByLang|P856|qid=Q1071969|fwd=ALL|osd=no}}
→ https://www.gnu.org/software/bison/{{#invoke:WikidataIB|getValueByLang|P856|qid=Q1071969|fwd=ALL|osd=no|maxvals=1}}
→ https://www.gnu.org/software/bison/{{#invoke:WikidataIB|getValueByLang|P856|qid=Q1071969|fwd=ALL|osd=no|rank=best}}
→ https://www.gnu.org/software/bison/
Blacklist
editFragment to demo exact matching for field names in blacklist:
{{#invoke:Sandbox/RexxS/Blacklist |isBlacklisted |name=title |suppressfields=aaa, bbb, title, ccc, ddd}}
→ blacklisted{{#invoke:Sandbox/RexxS/Blacklist |isBlacklisted |name=title |suppressfields=aaa; bbb; title; ccc; ddd}}
→ blacklisted{{#invoke:Sandbox/RexxS/Blacklist |isBlacklisted |name=title |suppressfields=aaa; bbb; other title 1; ccc; ddd}}
→ not blacklisted{{#invoke:Sandbox/RexxS/Blacklist |isBlacklisted |name=title |suppressfields=aaa; bbb; other_title_1; ccc; ddd}}
→ not blacklisted{{#invoke:Sandbox/RexxS/Blacklist |isBlacklisted |name=other title |suppressfields=aaa; bbb; other title 1; ccc; ddd}}
→ not blacklisted{{#invoke:Sandbox/RexxS/Blacklist |isBlacklisted |name=other title 1 |suppressfields=aaa; bbb; other title 1; ccc; ddd}}
→ blacklisted
FAC headers
edit<noinclude>== {{{1|Level 2 heading}}} ==</noinclude><includeonly>=== {{{1|Level 3 heading}}} ===</includeonly>
<noinclude>=== {{{1|Level 3 heading}}} ===</noinclude><includeonly>==== {{{1|Level 4 heading}}} ====</includeonly>
Testing #if with module
edit0 → if is true
false → if is true
"" → if is true
→ if is false
{{#invoke:WikidataIB |checkBlacklist |name=Joe |suppressfields=Dave; Joe; Fred}}
→ false{{#invoke:WikidataIB |checkBlacklist |name=Joe |suppressfields=Dave; Jim; Fred}}
→ true
{{#if:{{#invoke:WikidataIB |checkBlacklist |name=Joe |suppressfields=Dave; Joe; Fred}} | blacklisted | not blacklisted}}
→ blacklisted{{#if:{{#invoke:WikidataIB |checkBlacklist |name=Jim |suppressfields=Dave; Joe; Fred}} | blacklisted | not blacklisted}}
→ blacklisted
Retired person's guide to Time
edit- Time
- An ever-accelerating metric designed to monotonically shorten the gap between Christmas and birthdays, thus maximising the opportunity for your children to receive gifts from you.
- Hour
- The ever-shortening gap between feeding the cat.
- Day
- The ever-shortening gap between taking your statin tablets.
- Night
- The period when fewer shops are open.
- Weekday
- Day where there is lots of traffic in the morning and late afternoon.
- Weekend
- Days when the British Association of Slow Drivers have their weekly rallies.
- Sunday
- Day when the local supermarket closes early.
CheckPage
edit{{#invoke:RexxS|checkRedirect|art=Theologian}}
→ Redirect{{#invoke:RexxS|checkRedirect|art=Theology}}
→ Not Redirect{{#invoke:RexxS|checkRedirect|art=Theologianx}}
→ Does not exist{{#invoke:RexxS|checkPage|art=Theologian}}
→ 70579{{#invoke:RexxS|checkPage|art=Theologianx}}
→ 0
Wikidata #statements
editRichard Burton (Q151973) → film actor, diarist, stage actor, actor, film director, film producer, producer, director
Howard Carter (Q133682) → egyptologist
Richard Burton (Q151973) → film actor, diarist, stage actor, actor, film director, film producer, producer, director
Howard Carter (Q133682) → anthropologist, archaeologist, egyptologist, necropolis scholar
Card suits
editI've used these to create vector images of the unicode characters as accurately as possible.
Extended content
|
---|
—3♠—3
—3♥—3
—3♦—3
—3♣—3
— 3♠ — 3 — — 3♥ — 3 — — 3♦ — 3 — — 3♣ — 3 — |
Carousel
editLake view from Beartooth Pass.jpg
Infobox with separate image
editSydney Opera House | |
---|---|
General information | |
Status | Complete |
Type | Performing arts centre |
Architectural style | Expressionist |
Location | Bennelong Point, Sydney |
Country | Australia |
Coordinates | 33°51′31.2″S 151°12′50.5″E / 33.858667°S 151.214028°E |
Elevation | 4 m (13 ft) |
Current tenants | |
Groundbreaking | 1 March 1959 |
Construction started | 1 March 1959 |
Completed | 1973 |
Opened | 20 October 1973 |
Inaugurated | 20 October 1973 |
Cost | A$102 million, equivalent to ~A$915 million in 2015[1] |
Client | NSW government |
Owner | NSW Government |
Height | 65 m (213 ft) |
Dimensions | |
Other dimensions |
|
Technical details | |
Structural system | Concrete frame & precast concrete ribbed roof |
Design and construction | |
Architect | Jørn Utzon |
Structural engineer | Ove Arup & Partners |
Main contractor | Civil & Civic (level 1), M.R. Hornibrook (level 2 and 3 and interior) |
Other information | |
Seating capacity |
|
Website | |
sydneyoperahouse | |
Type | Cultural |
Criteria | i |
Designated | 2007 (31st session) |
Reference no. | 166rev |
State Party | Australia |
Region | Asia-Pacific |
References | |
Coordinates[2] |
Adapted from Sydney Opera House
References
- ^ "Inflation Calculator". RBA. 14 February 1966. Retrieved 15 May 2016.
- ^ Topographic maps 1:100000 9130 Sydney and 1:25000 91303N Parramatta River
Thermometer
editWikidata arbitrary access
edit{{#invoke:Sandbox/RexxS/AA|getValueFromID|Q151973|P26|FETCH_WIKIDATA}}
- to fetch value of 'spouse' (P26) from 'Richard Burton' (Q151973)
Elizabeth Taylor, Sybil Christopher, Suzy Miller, Elizabeth Taylor, Sally Burton:
At present (21:55, 11 May 2015 (UTC)) this returns "Lua error in Module:Sandbox/RexxS/AA at line 17: Access to arbitrary items has been disabled.."
Previewing in Richard Burton gives Elizabeth Taylor, Sally Burton, Sybil Christopher, so we know the sandbox module works.
- Yay - Today it works! 12:24, 17 September 2015 (UTC)
Monitor check - green
edit
Chrome button
editChrome button
Bad sig
editFamously Sharp (talk) 15:50, 18 April 2014 (UTC)
cslist
editA comma separated list.
html inline list:
- Headmaster
- painter
- recording artist
html list inside hlist class:
- Headmaster
- painter
- recording artist
html list inside cslist class:
- Headmaster
- painter
- recording artist
hlist template:
- Headmaster
- painter
- recording artist
hlist template with cslist class:
- Headmaster
- painter
- recording artist
Getting an image from Wikidata
edit{{#invoke:Sandbox/RexxS/Images|getImage}}
Infobox person
editJust parent=
RexxS/sandbox | |
---|---|
Parent | my father |
Just parents=
RexxS/sandbox | |
---|---|
Parents |
|
Both parent= and parents=
RexxS/sandbox | |
---|---|
Parents |
|
Convert errors
editThis represents an error message that should be different in preview mode from saved mode.
Icon for editing Wikidata
editAuthor for The Lord of the Rings (Q15228) - should be J. R. R. Tolkien
Publication date for The Lord of the Rings (Q15228) - should be 1954
Cite encyclopedia
edit- Cavell, Richard (2015). "Remembering Canada: The Politics of Cultural Memory". In Sugars, Cynthia (ed.). The Oxford Handbook of Canadian Literature. Oxford University Press. pp. 64–79. ISBN 9780199941865.
- Brody, David (February 2000). "Meany, George". American National Biography Online. Oxford University Press and American Council of Learned Societies. Retrieved 12 August 2016.
{{cite encyclopedia}}
: Unknown parameter|subscription=
ignored (|url-access=
suggested) (help)
- Cavell, Richard (2015). Sugars, Cynthia (ed.). Remembering Canada: The Politics of Cultural Memory. Oxford University Press. pp. 64–79. ISBN 9780199941865.
{{cite book}}
:|work=
ignored (help) - Cavell, Richard (2015). Sugars, Cynthia (ed.). Remembering Canada: The Politics of Cultural Memory. Oxford University Press. pp. 64–79. ISBN 9780199941865.
{{cite book}}
: Unknown parameter|encyclopedia=
ignored (help) - Brody, David (February 2000). Meany, George. Oxford University Press and American Council of Learned Societies. Retrieved 12 August 2016.
{{cite book}}
: Unknown parameter|encyclopedia=
ignored (help); Unknown parameter|subscription=
ignored (|url-access=
suggested) (help)
Test citeq
editScript error: No such module "Citeq/sandbox".
Jeffrey T. Williams; Kent E. Carpenter; James L. Van Tassell; Paul Hoetjes; Wes Toller; Peter Etnoyer; Michael Smith (21 May 2010). "Biodiversity Assessment of the Fishes of Saba Bank Atoll, Netherlands Antilles". PLOS One. 5 (5). Bibcode:2010PLoSO...510676W. doi:10.1371/JOURNAL.PONE.0010676. ISSN 1932-6203. PMC 2873961. PMID 20505760. Wikidata Q15625490.{{cite journal}}
: CS1 maint: unflagged free DOI (link)
Test Page
edit{{#invoke:Page|id|1284129}}
→ 0
Subst cite
edit"1-2 Castle Cottages". National Heritage List for England. Historic England. Retrieved 15 July 2013.
"1-2 Castle Cottages", National Heritage List for England, Historic England, retrieved 15 July 2013
{{subst:cite web|title=1-2 Castle Cottages|url=http://list.english-heritage.org.uk/resultsingle.aspx?uid=1057244|work=National Heritage List for England|publisher=Historic England|accessdate=15 July 2013}}
→ {{cite web}}
: Empty citation (help)
{{safesubst:cite web|title=1-2 Castle Cottages|url=http://list.english-heritage.org.uk/resultsingle.aspx?uid=1057244|work=National Heritage List for England|publisher=Historic England|accessdate=15 July 2013}}
→ {{cite web}}
: Empty citation (help)
{{subst:citation|title=1-2 Castle Cottages|url=http://list.english-heritage.org.uk/resultsingle.aspx?uid=1057244|work=National Heritage List for England|publisher=Historic England|accessdate=15 July 2013}}
→ {{citation}}
: Empty citation (help)
WikidataIB on Commons
editFrom c:User talk:RexxS #Oddity with WikidataIB
- The strange part is that fetching the label directly for Q35682629 gives "Stierch"; asking for the local sitelink shows there isn't one (as expected):
{{#invoke:WikidataIB |getLink |Q35682629}}
→ Stierch{{#invoke:WikidataIB |getLabel |Q35682629}}
→ Stierch{{#invoke:WikidataIB |getAT |Q35682629}}
→
- But enabling the "wikidata-link" in getValue() still returns nothing:
- It's as if there were a label, but that label is empty, which shouldn't happen. I need to track that down. --RexxS (talk) 00:38, 5 April 2018 (UTC)
- A few more tests:
{{#invoke:WikidataIB |getValue |P735 |qid=Q5060734 |fetchwikidata=ALL |onlysourced=no}}
→ Sarah, Alexandra{{#invoke:WikidataIB |getValue |P735 |qid=Q5060734 |fetchwikidata=ALL |onlysourced=no |noicon=true}}
→ Sarah, Alexandra{{#invoke:WikidataIB |getValue |P735 |qid=Q5060734 |fetchwikidata=ALL |onlysourced=no |noicon=true |sep="--"}}
→ Sarah--Alexandra
These work here. Something's not right. --RexxS (talk) 01:44, 5 April 2018 (UTC)
Routemap tables
edit
Aberdeen, Carlisle, Inverness,
Glasgow Central, Glasgow Queen Street
|
|
Waverley Route
to Brunstane
|
|
Edinburgh Suburban line
Lothian lines
|
--
Aberdeen, Carlisle, Inverness,
Glasgow Central, Glasgow Queen Street
|
|
Waverley Route
to Brunstane
|
|
Edinburgh Suburban line
Lothian lines
|
--
Aberdeen, Carlisle, Inverness,
Glasgow Central, Glasgow Queen Street
|
|
Waverley Route
to Brunstane
|
|
Edinburgh Suburban line
Lothian lines
|
Nationality
editNew Oxford American Dictionary:
- state
- a nation or territory considered as an organized political community under one government
- nation
- a large aggregate of people united by common descent, history, culture, or language, inhabiting a particular country or territory
- country
- a nation with its own government, occupying a particular territory
Lists
edit{{cslist | first item | second item | third item | etc}}
→- first item
- second item
- third item
- etc
{{#invoke:List |horizontal | first item | second item | third item | etc}}
→- first item
- second item
- third item
- etc
Date precision
edit- >7< ok
- >7< ok
- >11< ok
- >0<
- >0<
- >0<
- >0<
- >7<
- >0<
- >0<
- >SMALLER<
- >BIGGER<
- >SMALLER<
- >SMALLER<