Jump to content

User:Mindmatrix/gamma

From Wikipedia, the free encyclopedia

Test URL

[edit]

http://www12.statcan.gc.ca/census-recensement/2011/dp-pd/prof/details/page.cfm?Lang=E&Geo1=CD&Code1=2466&Geo2=PR&Code2=01&Data=Count&SearchText=montreal&SearchType=Begins&SearchPR=01&B1=All&Custom=&TABID=1

This should generate: "Test".

SCref test

[edit]

Case 1

[edit]

{{SCref |year = 2011 |unit = cd |type = prof |code = 2466 |name = }}

Generates: "Mindmatrix/gamma (Code 2466) Census Profile". 2011 census. Government of Canada - Statistics Canada. 2012. Link generated: http://www12.statcan.gc.ca/census-recensement/2011/dp-pd/prof/details/page.cfm?Lang=E&Geo1=CD&Code1=2466&Geo2=PR&Code2=24&Data=Count&SearchType=Begins&SearchPR=01&B1=All

Case 2

[edit]

{{SCref |year = |unit = cd |type = prof |code = 2466 |name = }}

Generates: "Mindmatrix/gamma (Code 2466) Census Profile". census. Government of Canada - Statistics Canada. Link generated: http://www12.statcan.gc.ca/census-recensement//dp-pd/prof/details/page.cfm?Lang=E&Geo1=CD&Code1=2466&Geo2=PR&Code2=24&Data=Count&SearchType=Begins&SearchPR=01&B1=All

Case 3

[edit]

Adjusted template: {{User:Mindmatrix/zeta |year = |unit = cd |type = prof |code = 2466 |name = }}

Generates: "(Code 2466) Census Profile". census. Statistics Canada. Expression error: Missing operand for +.. {{cite web}}: Check date values in: |year= (help)

Link generated: http://www12.statcan.gc.ca/census-recensement//dp-pd/prof/details/page.cfm?Lang=E&Geo1=CD&Code1=2466&Geo2=PR&Code2=01&Data=Count&SearchType=Begins&SearchPR=01&B1=All


[edit]

The former link contains the year; the latter two do not. Error is is template default year handling.


Other

[edit]

{{cite web|url=http://www12.statcan.gc.ca/census-recensement//dp-pd/prof/details/page.cfm?Lang=E&Geo1=CD&Code1=2466&Geo2=PR&Code2=24&Data=Count&SearchType=Begins&SearchPR=01&B1=All


{{cite web|url=http://www12.statcan.gc.ca/census-recensement/2011/dp-pd/prof/details/page.cfm?Lang=E&Geo1=CSD&Code1=2466&Geo2=PR&Code2=24&Data=Count&SearchType=Begins&SearchPR=01&B1=All

"Mindmatrix/gamma (Code 2466) Census Profile". census. Government of Canada - Statistics Canada.


"Mindmatrix/gamma (Code 462) All Data". 2001 census. Government of Canada - Statistics Canada.