World Library  
Flag as Inappropriate
Email this Article

List of countries by GDP sector composition

 

List of countries by GDP sector composition

This is a list of countries by gross domestic product (GDP) sector composition.

Contents

  • Methodology 1
  • List by percentage 2
  • By economic sector 3
    • Nominal GDP sector composition 3.1
    • PPP GDP sector composition 3.2
  • GDP from natural resources 4
  • References 5
  • Sources 6

Methodology

The figures are based on nominal GDP and GDP (PPP) estimates and sector composition ratios provided by the CIA World Factbook at market or government official exchange rates with figures in trillions of United States dollars.

Agricultural sector
Agriculture (a term which encompasses farming) is the process of producing food, feed, fiber and other goods by the systematic raising of plants and animals. Agricultural output is a component of the GDP of a nation.
Industrial sector
Industry is the segment of economy concerned with production of goods (including fuels and fertilisers). Industrial output is a component of the GDP of a nation. It includes mining and extraction sectors.
Service sector
A service is the non-material equivalent of a good. Service provision is defined as an economic activity that does not result in ownership, and this is what differentiates it from providing physical goods. It is claimed to be a process that creates benefits by facilitating either a change in customers, a change in their physical possessions, or a change in their intangible assets. Service output is a component of the GDP of a nation. The service sector includes (but is not limited to) farm and factory related activities.

List by percentage

Country Agriculture Industry Services Year[1]
 Afghanistan 34.9 25.0 40.0 2008 est.
 Albania 20.7 19.7 59.6 2011 est.
 Algeria 12.0 56.5 31.5 2011 est.
 Angola 9.6 65.8 24.6 2008 est.
 Anguilla 2.2 28.5 69.3 2011 est.
 Antigua and Barbuda 3.8 32.9 63.4 2011 est.
 Argentina 10.0 30.7 59.2 2011 est.
 Armenia 19.1 40.5 40.3 2011 est.
 Aruba 0.4 33.3 66.3 2002 est.
 Australia 4.0 24.6 71.4 2011 est.
 Austria 1.5 29.4 69.1 2011 est.
 Azerbaijan 5.5 62.1 32.4 2011 est.
2.2 6.5 91.3 2011 est.
0.4 63.6 36.0 2011 est.
18.4 28.6 53.0 2011 est.
3.2 13.9 82.9 2011 est.
9.4 45.9 44.7 2011 est.
0.7 21.7 77.6 2011 est.
9.7 19.8 70.5 2011 est.
36.0 6.4 57.6 2011 est.
0.7 7.0 92.2 2011 est.
16.7 45.4 37.9 2011 est.
10.0 40.0 50.0 2011 est.
8.3 26.3 65.4 2011 est.
2.1 45.0 52.9 2011 est.
5.5 27.5 67.0 2011 est.
1.0 11.9 87.2 2011 est.
0.8 66.7 32.5 2011 est.
5.2 30.6 64.2 2011 est.
34.7 23.3 42.0 2011 est.
38.2 18.2 43.6 2011 est.
31.0 21.4 47.7 2011 est.
30.0 30.0 40.0 2011 est.
19.5 31.0 49.5 2011 est.
1.9 27.1 71.0 2011 est.
8.4 15.7 75.9 2011 est.
0.5 50.4 49.1 2011 est.
53.1 14.5 32.4 2011 est.
52.7 6.7 40.6 2011 est.
5.1 41.8 53.1 2010 est.
10.1 46.8 43.1 2011 est.
7.0 37.6 55.5 2011 est.
51.6 13.6 47.0 2011 est.
37.5 27.6 35.0 2011 est.
4.2 70.7 25.1 2011 est.
11.7 9.9 78.5 2008 est.
6.3 21.7 72.0 2011 est.
30.0 21.0 49.0 2011 est.
5.4 25.5 69.1 2011 est.
4.0 20.8 75.2 2011 est.
0.7 15.5 83.8 2010 est.
2.4 16.5 81.1 2011 est.
1.6 38.1 60.3 2011 est.
4.5 19.1 76.4 2011 est.
3.0 17.0 79.9 2011 est.
21.4 22.4 56.3 2011 est.
6.7 26.1 67.2 2011 est.
6.5 34.6 58.9 2011 est.
14.5 37.6 47.6 2011 est.
10.6 30.0 59.3 2011 est.
3.6 89.7 4.3 2011 est.
11.0 34.0 55.0 2011 est.
3.5 28.5 61.0 2011 est.
41.0 13.0 46.0 2011 est.
1.8 24.9 73.2 2011 est.
95.0 N/A N/A 1996
16.0 29.0 55.0 2007 est.
12.0 20.2 67.7 2011 est.
3.0 29.2 67.8 2011 est.
1.8 18.8 79.4 2011 est.
3.5 20.4 76.1 2005
5.2 54.4 40.4 2011 est.
26.7 17.4 55.9 2011 est.
8.8 22.7 68.5 2011 est.
0.8 28.6 70.6 2011 est.
28.3 21.0 50.7 2011 est.
0.0 0.0 100.0 2008 est.
3.3 17.9 78.9 2011 est.
4.0 29.0 67.0 2009 est.
5.3 14.2 80.5 2011 est.
13.3 24.0 62.7 2011 est.
3.0 10.0 87.0 2000
16.9 53.6 29.5 2011 est.
55.8 13.0 31.2 2011 est.
18.5 30.6 50.9 2011 est.
25.0 16.0 59.0 2010 est.
12.6 26.3 61.1 2011 est.
0.1 6.8 93.2 2011 est.
3.7 31.3 65.0 2011 est.
5.4 24.7 69.9 2011 est.
17.2 26.4 56.4 2011 est.
14.7 47.2 38.1 2011 est.
10.4 37.7 51.8 2011 est.
9.7 60.5 29.8 2011 est.
2.0 29.0 69.0 2010 est.
1.0 11.0 88.0 FY08/09 est.
2.5 31.1 64.9 2011 est.
2.0 24.7 73.4 2011 est.
5.8 29.5 64.7 2011 est.
1.2 27.3 71.6 2011 est.
1.0 2.0 97.0 2005
4.5 30.8 64.7 2011 est.
5.2 37.9 56.9 2011 est.
19.0 16.4 64.6 2011 est.
8.9 24.2 66.8 2004
23.0 43.4 33.6 2011 est.
2.6 39.2 58.2 2008 est.
12.9 22.6 64.5 2009 est.
0.3 47.4 52.3 2011 est.
20.1 28.8 51.1 2011 est.
27.8 34.8 37.4 2011 est.
4.0 21.7 74.3 2011 est.
4.6 19.7 75.7 2011 est.
7.5 33.1 59.4 2011 est.
76.9 5.4 17.7 2002 est.
3.2 49.5 47.3 2011 est.
8.0 37.0 55.0 2009
3.3 28.2 68.6 2011 est.
0.4 13.6 86.0 2007 est.
0.1 9.4 90.6 2011 est.
9.5 27.1 63.4 2011 est.
28.3 16.4 55.2 2011 est.
30.3 16.7 53.0 2011 est.
12.0 40.0 48.0 2011 est.
5.6 16.9 77.5 2009 est.
38.8 21.9 39.3 2011 est.
1.9 17.2 80.9 2010 est.
31.7 14.9 53.4 2004 est.
17.8 37.6 44.7 2011 est.
4.5 24.0 71.4 2011 est.
3.8 34.2 62.0 2011 est.
28.9 15.2 55.9 2004 est.
16.2 20.3 63.5 2011 est.
0.0 4.9 95.1 2005
15.8 32.6 51.6 2011 est.
0.8 11.3 87.9 2011
1.6 23.0 75.3 2011 est.
16.6 32.2 51.2 2011 est.
31.5 23.8 44.7 2011 est.
7.2 33.3 59.5 2011 est.
34.9 15.0 50.1 2010 est.
2.7 24.2 73.1 2011 est.
2.0 27.1 70.9 2011 est.
4.8 24.5 70.7 2011 est.
17.4 25.7 56.8 2011 est.
39.0 16.0 45.0 2011 est.
[2] 17.8 25.7 54.6 2015 est.
23.5 26.9 49.5 2003
2.6 39.7 57.7 2011 est.
1.5 49.5 48.9 2011 est.
20.9 25.8 53.3 2011 est.
6.2 12.0 81.8 2003
4.1 16.7 79.2 2011 est.
29.9 37.6 32.4 2011 est.
23.1 18.6 58.3 2011 est.
8.0 38.0 54.0 2011 est.
12.8 31.5 55.7 2011 est.
3.4 33.6 63.0 2011 est.
2.5 22.8 74.7 2011 est.
1.0 45.0 54.0 2005 est.
0.1 73.0 26.9 2011 est.
7.9 32.9 59.2 2011 est.
4.5 36.9 58.6 2011 est.
33.0 13.9 53.1 2011 est.
2.4 22.8 74.7 2011 est.
4.1 18.4 77.5 2011 est.
1.0 15.0 84.0 2000
7.8 25.9 66.3 2011 est.
9.9 28.8 61.4 2011 est.
0.1 39.2 60.7 2009
15.0 24.4 60.6 2011 est.
2.0 69.1 28.9 2011 est.
15.0 22.8 62.2 2011 est.
11.2 18.7 70.0 2011 est.
2.0 18.5 79.5 2011 est.
51.5 22.0 26.5 2011 est.
0.0 26.6 73.4 2010 est.
0.4 18.3 81.3 2008 est.
3.8 35.5 60.7 2011 est.
2.5 6.9 90.5 2011 est.
37.7 6.4 55.9 2011 est.
60.2 7.4 32.5 2008 est.
2.5 31.6 65.9 2011 est.
3.2 25.8 71.0 2011 est.
13.0 29.6 57.4 2011 est.
25.0 29.3 45.7 2011 est.
10.8 24.4 64.8 2005 est.
8.2 46.9 44.9 2011 est.
1.8 27.3 70.9 2011 est.
1.3 27.5 71.3 2011 est.
16.9 27.4 55.7 2011 est.
1.3 32.0 66.9 2011 est.
21.4 21.7 56.8 2011 est.
27.8 24.2 48.0 2011 est.
13.3 34.0 52.7 2011 est.
26.5 17.8 55.6 2011 est.
46.0 23.0 31.0 2011 est.
20.8 18.1 61.1 2011 est.
0.3 58.4 41.3 2011 est.
10.6 34.6 54.8 2010 est.
9.3 28.1 62.6 2011 est.
7.9 24.5 67.6 2011 est.
1.0 24.2 74.8 2011 est.
16.6 27.2 56.2 2002
22.0 25.4 52.6 2011 est.
9.4 34.4 56.2 2011 est.
0.8 53.9 45.3 2011 est.
0.7 21.4 77.8 2011 est.
1.2 19.2 79.6 2011 est.
9.4 21.7 68.9 2011 est.
21.9 37.7 40.3 2011 est.
21.2 10.4 68.4 2011 est.
3.8 35.8 60.4 2011 est.
22.0 40.3 37.7 2011 est.
1.0 19.0 80.0 2003 est.
3.7 13.6 82.7 2011 est.
N/A N/A 40.0 2007 est.
7.9 42.2 49.9 2011 est.
21.4 35.1 43.5 2011 est.
20.4 24.6 54.9 2011 est.
 World 6.1 31.1 62.9 2011 est.

By economic sector

Nominal GDP sector composition

Nominal GDP sector composition, 2014 (in percentage and in millions of dollars):
Country nominal GDP Agri. Indus. Serv. Agri. Indus. Serv.
  World 74,699,258 5.9% 30.5% 63.6% 4,407,256 22,783,274 47,508,728
1 17,418,925 1.12% 19.1% 79.7% 209,027 3,327,015 13,882,883
2 10,380,380 9.1% 42.6% 48.3% 944,615 4,422,042 5,013,724
3 4,616,335 1.2% 27.5% 71.4% 55,396 1,269,492 3,296,063
4 3,859,547 0.8% 28.1% 71.1% 30,876 1,084,533 2,744,138
5 2,945,146 0.7% 21% 78.3% 20,616 618,481 2,306,049
6 2,846,889 1.9% 18.3% 79.8% 54,091 520,981 2,271,817
7 2,353,025 5.4% 27.4% 67.2% 127,063 644,729 1,581,233
8 2,147,952 2% 24.2% 73.8% 42,959 519,804 1,585,189
9 2,047,811 17.4% 25.8% 56.9% 356,319 528,335 1,165,204
10 1,857,461 3.9% 36% 60.1% 72,441 668,686 1,116,334
11 1,788,717 1.8% 28.6% 69.6% 32,197 511,573 1,244,947
12 1,444,189 4% 26.6% 69.4% 57,768 384,154 1,002,267
13 1,416,949 2.7% 39.8% 57.5% 38,258 563,946 814,746
14 1,406,855 3.3% 24.2% 72.6% 46,426 340,459 1,021,377
15 1,282,725 3.7% 34.2% 62.1% 47,461 438,692 796,572
16 888,648 14.3% 46.9% 38.8% 127,077 416,776 344,795
17 866,354 2.8% 24.1% 73.2% 24,258 208,791 634,171
18 806,108 8.9% 28.1% 63% 71,744 226,516 507,848
19 752,459 2% 66.9% 31.1% 15,049 503,395 234,015
20 712,050 1.3% 27.7% 71% 9,257 197,238 505,556
21 573,652 17.8% 25.7% 54.6% 102,110 147,429 313,214[3]
22 559,113 1.8% 26.9% 71.3% 10,064 150,401 398,648
23 552,230 3.4% 33.6% 63% 18,776 185,549 347,905
24 527,810 0.7% 21.6% 77.7% 3,695 114,007 410,108
25 511,602 2.7% 38.3% 59% 13,813 195,944 301,845
26 505,452 1.3% 32% 66.9% 6,571 161,745 338,147
27 447,644 10% 30.7% 59.2% 44,764 137,427 265,005
28 436,069 1.5% 29.5% 69% 6,541 128,640 300,888
29 416,444 0.7% 59.4% 39.8% 2,915 247,368 165,745
30 402,700 11.2% 40.6% 48.2% 45,102 163,496 194,101
31 400,117 8.9% 38% 53.1% 35,610 152,044 212,462
32 380,491 13.3% 34% 52.7% 50,605 129,367 200,519
33 347,196 4.5% 19.1% 76.4% 15,624 66,314 265,258
34 341,216 2.5% 31.6% 65.9% 8,530 107,824 224,861
35 246,397 3.3% 17.9% 78.9% 8,131 44,105 194,407
36 209,226 4.7% 34.9% 60.4% 9,834 73,020 126,373

PPP GDP sector composition

PPP GDP sector composition, 2010 (in percentage and in millions of dollars)require('Module:No globals')

local p = {}

-- articles in which traditional Chinese preceeds simplified Chinese local t1st = { ["228 Incident"] = true, ["Chinese calendar"] = true, ["Lippo Centre, Hong Kong"] = true, ["Republic of China"] = true, ["Republic of China at the 1924 Summer Olympics"] = true, ["Taiwan"] = true, ["Taiwan (island)"] = true, ["Taiwan Province"] = true, ["Wei Boyang"] = true, }

-- the labels for each part local labels = { ["c"] = "Chinese", ["s"] = "simplified Chinese", ["t"] = "traditional Chinese", ["p"] = "pinyin", ["tp"] = "Tongyong Pinyin", ["w"] = "Wade–Giles", ["j"] = "Jyutping", ["cy"] = "Cantonese Yale", ["poj"] = "Pe̍h-ōe-jī", ["zhu"] = "Zhuyin Fuhao", ["l"] = "literally", }

-- article titles for wikilinks for each part local wlinks = { ["c"] = "Chinese language", ["s"] = "simplified Chinese characters", ["t"] = "traditional Chinese characters", ["p"] = "pinyin", ["tp"] = "Tongyong Pinyin", ["w"] = "Wade–Giles", ["j"] = "Jyutping", ["cy"] = "Yale romanization of Cantonese", ["poj"] = "Pe̍h-ōe-jī", ["zhu"] = "Bopomofo", }

-- for those parts which are to be treated as languages their ISO code local ISOlang = { ["c"] = "zh", ["t"] = "zh-Hant", ["s"] = "zh-Hans", ["p"] = "zh-Latn-pinyin", ["tp"] = "zh-Latn", ["w"] = "zh-Latn-wadegile", ["j"] = "yue-jyutping", ["cy"] = "yue", ["poj"] = "hak", ["zhu"] = "zh-Bopo", }

local italic = { ["p"] = true, ["tp"] = true, ["w"] = true, ["j"] = true, ["cy"] = true, ["poj"] = true, } -- Categories for different kinds of Chinese text local cats = { ["c"] = "", ["s"] = "", ["t"] = "", }

function p.Zh(frame) -- load arguments module to simplify handling of args local getArgs = require('Module:Arguments').getArgs local args = getArgs(frame) return p._Zh(args) end function p._Zh(args) local uselinks = not (args["links"] == "no") -- whether to add links local uselabels = not (args["labels"] == "no") -- whether to have labels local capfirst = args["scase"] ~= nil

        local t1 = false -- whether traditional Chinese characters go first
        local j1 = false -- whether Cantonese Romanisations go first
        local testChar
        if (args["first"]) then
                 for testChar in mw.ustring.gmatch(args["first"], "%a+") do
          if (testChar == "t") then
           t1 = true
           end
          if (testChar == "j") then
           j1 = true
           end
         end
        end
        if (t1 == false) then
         local title = mw.title.getCurrentTitle()
         t1 = t1st[title.text] == true
        end

-- based on setting/preference specify order local orderlist = {"c", "s", "t", "p", "tp", "w", "j", "cy", "poj", "zhu", "l"} if (t1) then orderlist[2] = "t" orderlist[3] = "s" end if (j1) then orderlist[4] = "j" orderlist[5] = "cy" orderlist[6] = "p" orderlist[7] = "tp" orderlist[8] = "w" end -- rename rules. Rules to change parameters and labels based on other parameters if args["hp"] then -- hp an alias for p ([hanyu] pinyin) args["p"] = args["hp"] end if args["tp"] then -- if also Tongyu pinyin use full name for Hanyu pinyin labels["p"] = "Hanyu Pinyin" end if (args["s"] and args["s"] == args["t"]) then -- Treat simplified + traditional as Chinese if they're the same args["c"] = args["s"] args["s"] = nil args["t"] = nil elseif (not (args["s"] and args["t"])) then -- use short label if only one of simplified and traditional labels["s"] = labels["c"] labels["t"] = labels["c"] end

local body = "" -- the output string local params -- for creating HTML spans local label -- the label, i.e. the bit preceeding the supplied text local val -- the supplied text -- go through all possible fields in loop, adding them to the output for i, part in ipairs(orderlist) do if (args[part]) then -- build label label = "" if (uselabels) then label = labels[part] if (capfirst) then label = mw.language.getContentLanguage():ucfirst(
Country Purchasing Power Parity Agri. Indus. Serv. Agri. Indus. Serv.
  World 74,264,873 6% 30.9% 63.2% 4,233,098 22,799,316 47,232,459
1 14,657,800 1.1% 22.1% 76.8% 161,236 3,239,374 11,257,190
2 10,085,708 10.2% 46.9% 43% 1,028,742 4,730,197 4,336,854
3 4,309,532 1.4% 24.9% 73.8% 60,333 1,073,073 3,180,435
4 4,060,392 18.5% 26.3% 55.2% 751,173 1,067,883 2,241,336
5 2,940,434 0.9% 27.8% 71.3% 26,464 817,441 2,096,529
6 2,222,957 4% 36.8% 59.1% 88,918 818,048 1,313,768
7 2,172,768 0.7% 21.8% 77.5% 15,209 473,663 1,683,895
8 2,172,058 5.8% 26.8% 67.4% 147,700 582,112 1,463,967
9 2,145,487 2% 18.5% 79.5% 42,910 396,915 1,705,662
10 1,773,547 1.9% 25.3% 72.8% 33,697 448,707 1,291,142
11 1,567,470 3.9% 32.6% 63.5% 61,131 510,995 995,343
12 1,459,246 2.6% 39.3% 58.2% 37,940 573,484 849,281
13 1,368,642 3.3% 26% 70.7% 45,165 355,847 967,630
14 1,330,272 2.2% 26.3% 71.5% 29,266 349,862 951,144
15 1,109,884 22% 21.2% 56.8% 244,174 235,295 630,414
16 1,029,884 15.3% 47% 37.6% 157,572 484,045 387,236
17 960,511 9.6% 26.6% 63.8% 92,209 255,496 612,806
18 882,362 3.9% 25.6% 70.5% 34,412 225,885 623,830
19 821,781 1.4% 31.1% 67.5% 11,505 255,574 554,702
20 818,653 11% 41.7% 47.3% 90,052 341,378 387,223
21 721,319 3.4% 33% 63.5% 24,525 238,035 458,038
22 676,895 2.6% 24.9% 72.5% 17,599 168,547 490,749
23 632,223 8.5% 31.6% 59.8% 50,660 188,336 356,408
24 621,993 2.6% 61.8% 35.7% 16,172 384,392 222,052
25 586,877 12.4% 44.7% 42.9% 72,773 262,334 251,770
26 524,341 3% 31.2% 65.8% 15,825 164,580 347,095
27 498,176 13.5% 37.9% 48.6% 67,622 189,841 243,437
28 464,711 21.8% 23.6% 54.6% 98,362 106,483 246,355
29 429,866 9.3% 38% 52.7% 40,167 164,122 227,611
30 412,302 9.1% 41.6% 49.3% 37,920 173,347 205,433
31 394,346 0.7% 21.9% 77.4% 2,760 86,362 305,224
32 374,323 31.9% 32.9% 35.2% 117,966 121,664 130,170
33 354,716 1.9% 26.6% 71.6% 6,740 94,354 253,977
34 350,279 13.9% 31.3% 54.8% 49,095 110,552 193,554
35 346,973 4.1% 34.9% 61.1% 14,112 120,126 210,306
36 330,496 1.5% 29.4% 69.1% 4,989 97,784 229,827

GDP from natural resources

Source: World Development Indicators: Contribution of natural resources to gross domestic product (2011)
Total natural resources rents (% of GDP) by country, 2013
Oil rents (% of GDP) by country, 2013
Country Total natural resources
(% of GDP)
Oil
(% of GDP)
Natural gas
(% of GDP)
Coal
(% of GDP)
Mineral
(% of GDP)
Forest
(% of GDP)
2.1 .. .. 0 0 2.1
5.1 4.6 0 0 0.5 0.1
26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24.2 21.9 2.3 .. 0 ..
1.5 1.2 0.2 0.1 0 0
1.7 0.9 0 0.5 0.2 0.1
0.9 .. .. .. 0.1 0.7
27.9 3.3 15.1 0.2 9.3 0
0.5 .. .. .. 0 0.5
32.5 30 1.5 0.1 1 0
13.6 7.8 1.1 3.4 0.6 0.7
23.1 18.7 4.4 .. 0 0
27 .. .. 0 25.6 1.3
6.9 .. .. 2.8 2.4 1.6
World 5.7 3.1 0.5 1 1 0.2

References


-- Module:Hatnote -- -- -- -- This module produces hatnote links and links to related articles. It -- -- implements the and meta-templates and includes -- -- helper functions for other Lua hatnote modules. --


local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local mArguments -- lazily initialise Module:Arguments local yesno -- lazily initialise Module:Yesno

local p = {}


-- Helper functions


local function getArgs(frame) -- Fetches the arguments from the parent frame. Whitespace is trimmed and -- blanks are removed. mArguments = require('Module:Arguments') return mArguments.getArgs(frame, {parentOnly = true}) end

local function removeInitialColon(s) -- Removes the initial colon from a string, if present. return s:match('^:?(.*)') end

function p.findNamespaceId(link, removeColon) -- Finds the namespace id (namespace number) of a link or a pagename. This -- function will not work if the link is enclosed in double brackets. Colons -- are trimmed from the start of the link by default. To skip colon -- trimming, set the removeColon parameter to true. checkType('findNamespaceId', 1, link, 'string') checkType('findNamespaceId', 2, removeColon, 'boolean', true) if removeColon ~= false then link = removeInitialColon(link) end local namespace = link:match('^(.-):') if namespace then local nsTable = mw.site.namespaces[namespace] if nsTable then return nsTable.id end end return 0 end

function p.formatPages(...) -- Formats a list of pages using formatLink and returns it as an array. Nil -- values are not allowed. local pages = {...} local ret = {} for i, page in ipairs(pages) do ret[i] = p._formatLink(page) end return ret end

function p.formatPageTables(...) -- Takes a list of page/display tables and returns it as a list of -- formatted links. Nil values are not allowed. local pages = {...} local links = {} for i, t in ipairs(pages) do checkType('formatPageTables', i, t, 'table') local link = t[1] local display = t[2] links[i] = p._formatLink(link, display) end return links end

function p.makeWikitextError(msg, helpLink, addTrackingCategory) -- Formats an error message to be returned to wikitext. If -- addTrackingCategory is not false after being returned from -- Module:Yesno, and if we are not on a talk page, a tracking category -- is added. checkType('makeWikitextError', 1, msg, 'string') checkType('makeWikitextError', 2, helpLink, 'string', true) yesno = require('Module:Yesno') local title = mw.title.getCurrentTitle() -- Make the help link text. local helpText if helpLink then helpText = ' (help)' else helpText = end -- Make the category text. local category if not title.isTalkPage and yesno(addTrackingCategory) ~= false then category = 'Hatnote templates with errors' category = string.format( '%s:%s', mw.site.namespaces[14].name, category ) else category = end return string.format( '%s', msg, helpText, category ) end


-- Format link -- -- Makes a wikilink from the given link and display values. Links are escaped -- with colons if necessary, and links to sections are detected and displayed -- with " § " as a separator rather than the standard MediaWiki "#". Used in -- the template.


function p.formatLink(frame) local args = getArgs(frame) local link = args[1] local display = args[2] if not link then return p.makeWikitextError( 'no link specified', 'Template:Format hatnote link#Errors', args.category ) end return p._formatLink(link, display) end

function p._formatLink(link, display) -- Find whether we need to use the colon trick or not. We need to use the -- colon trick for categories and files, as otherwise category links -- categorise the page and file links display the file. checkType('_formatLink', 1, link, 'string') checkType('_formatLink', 2, display, 'string', true) link = removeInitialColon(link) local namespace = p.findNamespaceId(link, false) local colon if namespace == 6 or namespace == 14 then colon = ':' else colon = end -- Find whether a faux display value has been added with the | magic -- word. if not display then local prePipe, postPipe = link:match('^(.-)|(.*)$') link = prePipe or link display = postPipe end -- Find the display value. if not display then local page, section = link:match('^(.-)#(.*)$') if page then display = page .. ' § ' .. section end end -- Assemble the link. if display then return string.format('%s', colon, link, display) else return string.format('%s%s', colon, link) end end


-- Hatnote -- -- Produces standard hatnote text. Implements the template.


function p.hatnote(frame) local args = getArgs(frame) local s = args[1] local options = {} if not s then return p.makeWikitextError( 'no text specified', 'Template:Hatnote#Errors', args.category ) end options.extraclasses = args.extraclasses options.selfref = args.selfref return p._hatnote(s, options) end

function p._hatnote(s, options) checkType('_hatnote', 1, s, 'string') checkType('_hatnote', 2, options, 'table', true) local classes = {'hatnote'} local extraclasses = options.extraclasses local selfref = options.selfref if type(extraclasses) == 'string' then classes[#classes + 1] = extraclasses end if selfref then classes[#classes + 1] = 'selfref' end return string.format( '
%s
', table.concat(classes, ' '), s )

end

return p-------------------------------------------------------------------------------- -- Module:Hatnote -- -- -- -- This module produces hatnote links and links to related articles. It -- -- implements the and meta-templates and includes -- -- helper functions for other Lua hatnote modules. --


local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local mArguments -- lazily initialise Module:Arguments local yesno -- lazily initialise Module:Yesno

local p = {}


-- Helper functions


local function getArgs(frame) -- Fetches the arguments from the parent frame. Whitespace is trimmed and -- blanks are removed. mArguments = require('Module:Arguments') return mArguments.getArgs(frame, {parentOnly = true}) end

local function removeInitialColon(s) -- Removes the initial colon from a string, if present. return s:match('^:?(.*)') end

function p.findNamespaceId(link, removeColon) -- Finds the namespace id (namespace number) of a link or a pagename. This -- function will not work if the link is enclosed in double brackets. Colons -- are trimmed from the start of the link by default. To skip colon -- trimming, set the removeColon parameter to true. checkType('findNamespaceId', 1, link, 'string') checkType('findNamespaceId', 2, removeColon, 'boolean', true) if removeColon ~= false then link = removeInitialColon(link) end local namespace = link:match('^(.-):') if namespace then local nsTable = mw.site.namespaces[namespace] if nsTable then return nsTable.id end end return 0 end

function p.formatPages(...) -- Formats a list of pages using formatLink and returns it as an array. Nil -- values are not allowed. local pages = {...} local ret = {} for i, page in ipairs(pages) do ret[i] = p._formatLink(page) end return ret end

function p.formatPageTables(...) -- Takes a list of page/display tables and returns it as a list of -- formatted links. Nil values are not allowed. local pages = {...} local links = {} for i, t in ipairs(pages) do checkType('formatPageTables', i, t, 'table') local link = t[1] local display = t[2] links[i] = p._formatLink(link, display) end return links end

function p.makeWikitextError(msg, helpLink, addTrackingCategory) -- Formats an error message to be returned to wikitext. If -- addTrackingCategory is not false after being returned from -- Module:Yesno, and if we are not on a talk page, a tracking category -- is added. checkType('makeWikitextError', 1, msg, 'string') checkType('makeWikitextError', 2, helpLink, 'string', true) yesno = require('Module:Yesno') local title = mw.title.getCurrentTitle() -- Make the help link text. local helpText if helpLink then helpText = ' (help)' else helpText = end -- Make the category text. local category if not title.isTalkPage and yesno(addTrackingCategory) ~= false then category = 'Hatnote templates with errors' category = string.format( '%s:%s', mw.site.namespaces[14].name, category ) else category = end return string.format( '%s', msg, helpText, category ) end


-- Format link -- -- Makes a wikilink from the given link and display values. Links are escaped -- with colons if necessary, and links to sections are detected and displayed -- with " § " as a separator rather than the standard MediaWiki "#". Used in -- the template.


function p.formatLink(frame) local args = getArgs(frame) local link = args[1] local display = args[2] if not link then return p.makeWikitextError( 'no link specified', 'Template:Format hatnote link#Errors', args.category ) end return p._formatLink(link, display) end

function p._formatLink(link, display) -- Find whether we need to use the colon trick or not. We need to use the -- colon trick for categories and files, as otherwise category links -- categorise the page and file links display the file. checkType('_formatLink', 1, link, 'string') checkType('_formatLink', 2, display, 'string', true) link = removeInitialColon(link) local namespace = p.findNamespaceId(link, false) local colon if namespace == 6 or namespace == 14 then colon = ':' else colon = end -- Find whether a faux display value has been added with the | magic -- word. if not display then local prePipe, postPipe = link:match('^(.-)|(.*)$') link = prePipe or link display = postPipe end -- Find the display value. if not display then local page, section = link:match('^(.-)#(.*)$') if page then display = page .. ' § ' .. section end end -- Assemble the link. if display then return string.format('%s', colon, link, display) else return string.format('%s%s', colon, link) end end


-- Hatnote -- -- Produces standard hatnote text. Implements the template.


function p.hatnote(frame) local args = getArgs(frame) local s = args[1] local options = {} if not s then return p.makeWikitextError( 'no text specified', 'Template:Hatnote#Errors', args.category ) end options.extraclasses = args.extraclasses options.selfref = args.selfref return p._hatnote(s, options) end

function p._hatnote(s, options) checkType('_hatnote', 1, s, 'string') checkType('_hatnote', 2, options, 'table', true) local classes = {'hatnote'} local extraclasses = options.extraclasses local selfref = options.selfref if type(extraclasses) == 'string' then classes[#classes + 1] = extraclasses end if selfref then classes[#classes + 1] = 'selfref' end return string.format( '
%s
', table.concat(classes, ' '), s )

end

return p
  1. ^
  2. ^
  3. ^
  4. ^

Sources

  • GDP (nominal): International Monetary Fund, World Economic Outlook Database, April 2012: Nominal GDP list of countries. Data for the year 2012. - IMF
  • GDP Sector composition: Field Listing - GDP composition by sector. - CIA World Factbook
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.