Jump to content

User:RexxS/sandbox

From Wikipedia, the free encyclopedia

Archive is at User:RexxS/sandbox/Archive

For temporary testing 1

[edit]

5 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

[edit]

Wikidata table

[edit]

getValueByLang

[edit]

Blacklist

[edit]

Fragment 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

[edit]
  • 0 → 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

[edit]

Richard 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 Edit this on Wikidata

Howard Carter (Q133682)anthropologist, archaeologist, egyptologist, necropolis scholar Edit this on Wikidata

Card suits

[edit]

I've used these to create vector images of the unicode characters as accurately as possible.

Extended content
—3♠—3"of hearts"
—3—3"of hearts"
—3—3"of hearts"
—3♣—3"of hearts"

— 3♠ — 3"of spades"

— 3 — 3"of hearts"

— 3 — 3"of diamonds"

— 3♣ — 3"of clubs"

[edit]

Grus canadensis2.jpg

Infobox with separate image

[edit]
Sydney Opera House at dusk
Sydney Opera House
RexxS/sandbox is located in Sydney
RexxS/sandbox
RexxS/sandbox is located in New South Wales
RexxS/sandbox
RexxS/sandbox is located in Australia
RexxS/sandbox
Location of Sydney Opera House in Sydney
General information
StatusComplete
TypePerforming arts centre
Architectural styleExpressionist
LocationBennelong Point, Sydney
CountryAustralia
Coordinates33°51′31.2″S 151°12′50.5″E / 33.858667°S 151.214028°E / -33.858667; 151.214028
Elevation4 m (13 ft)
Current tenants
Groundbreaking1 March 1959
Construction started1 March 1959
Completed1973
Opened20 October 1973
Inaugurated20 October 1973
CostA$102 million, equivalent to ~A$915 million in 2015[1]
ClientNSW government
OwnerNSW Government
Height65 m (213 ft)
Dimensions
Other dimensions
  • length 183 m (600 ft)
  • width 120 m (394 ft)
  • area 1.8 ha (4.4 acres)
Technical details
Structural systemConcrete frame & precast concrete ribbed roof
Design and construction
ArchitectJørn Utzon
Structural engineerOve Arup & Partners
Main contractorCivil & Civic (level 1), M.R. Hornibrook (level 2 and 3 and interior)
Other information
Seating capacity
  • Concert Hall 2,679
  • Joan Sutherland Theatre 1,507
  • Drama Theatre 544
  • Playhouse 398
  • The Studio 400
  • Utzon Room 210
  • Total 5,738
Website
sydneyoperahouse.com
TypeCultural
Criteriai
Designated2007 (31st session)
Reference no.166rev
State PartyAustralia
RegionAsia-Pacific
References
Coordinates[2]

Adapted from Sydney Opera House

References

  1. ^ "Inflation Calculator". RBA. 14 February 1966. Retrieved 15 May 2016.
  2. ^ Topographic maps 1:100000 9130 Sydney and 1:25000 91303N Parramatta River

Thermometer

[edit]
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Wikidata arbitrary access

[edit]

See Module:Sandbox/RexxS/AA

{{#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]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 grey
16 pale green


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 pale green
16 white

Chrome button

[edit]

Chrome button

Bad sig

[edit]

Famously Sharp (talk) 15:50, 18 April 2014 (UTC)

cslist

[edit]

A 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

[edit]

Just parent=

RexxS/sandbox
Parentmy father

Just parents=

RexxS/sandbox
Parents
  • my dad
  • my mom

Both parent= and parents=

RexxS/sandbox
Parents
  • my dad
  • my mom

Convert errors

[edit]

This represents an error message that should be different in preview mode from saved mode.

Icon for editing Wikidata

[edit]

Author 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

  • 1954 Edit this on Wikidata

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

[edit]

Script 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

[edit]

From 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:
  • {{#invoke:WikidataIB |getValue |P735 |qid=Q5060734 |fetchwikidata=ALL |onlysourced=no |wdl=yes}}Sarah, Alexandra Edit this on Wikidata
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 Edit this on Wikidata
  • {{#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

[edit]

New 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<