sinatra-s3 0.98 → 0.99
Sign up to get free protection for your applications and to get access to all the features.
- data/README +36 -18
- data/bin/sinatra-s3 +47 -15
- data/examples/wiki.rb +13 -13
- data/lib/sinatra-s3/admin.rb +1 -1
- data/lib/sinatra-s3/base.rb +1 -5
- data/lib/sinatra-s3/models/bit.rb +2 -2
- data/lib/sinatra-s3/s3.rb +11 -4
- data/public/js/wiki.js +35 -0
- data/s3.yml.example +6 -3
- metadata +63 -67
- data/examples/README +0 -9
- data/examples/wikicloth/MIT-LICENSE +0 -20
- data/examples/wikicloth/README +0 -81
- data/examples/wikicloth/Rakefile +0 -23
- data/examples/wikicloth/init.rb +0 -1
- data/examples/wikicloth/install.rb +0 -0
- data/examples/wikicloth/lib/core_ext.rb +0 -43
- data/examples/wikicloth/lib/wiki_buffer.rb +0 -279
- data/examples/wikicloth/lib/wiki_buffer/html_element.rb +0 -237
- data/examples/wikicloth/lib/wiki_buffer/link.rb +0 -70
- data/examples/wikicloth/lib/wiki_buffer/table.rb +0 -159
- data/examples/wikicloth/lib/wiki_buffer/var.rb +0 -77
- data/examples/wikicloth/lib/wiki_cloth.rb +0 -61
- data/examples/wikicloth/lib/wiki_link_handler.rb +0 -138
- data/examples/wikicloth/lib/wikicloth.rb +0 -5
- data/examples/wikicloth/run_tests.rb +0 -48
- data/examples/wikicloth/sample_documents/air_force_one.wiki +0 -170
- data/examples/wikicloth/sample_documents/cheatsheet.wiki +0 -205
- data/examples/wikicloth/sample_documents/default.css +0 -34
- data/examples/wikicloth/sample_documents/elements.wiki +0 -7
- data/examples/wikicloth/sample_documents/george_washington.wiki +0 -526
- data/examples/wikicloth/sample_documents/images.wiki +0 -15
- data/examples/wikicloth/sample_documents/lists.wiki +0 -421
- data/examples/wikicloth/sample_documents/pipe_trick.wiki +0 -68
- data/examples/wikicloth/sample_documents/random.wiki +0 -55
- data/examples/wikicloth/sample_documents/tv.wiki +0 -312
- data/examples/wikicloth/sample_documents/wiki.png +0 -0
- data/examples/wikicloth/sample_documents/wiki_tables.wiki +0 -410
- data/examples/wikicloth/tasks/wikicloth_tasks.rake +0 -0
- data/examples/wikicloth/test/test_helper.rb +0 -3
- data/examples/wikicloth/test/wiki_cloth_test.rb +0 -8
- data/examples/wikicloth/uninstall.rb +0 -0
- data/examples/wikicloth/wikicloth-0.1.3.gem +0 -0
- data/examples/wikicloth/wikicloth.gemspec +0 -69
- data/public/test.html +0 -8
@@ -1,55 +0,0 @@
|
|
1
|
-
<!-- TEST
|
2
|
-
|
3
|
-
-->----
|
4
|
-
|
5
|
-
|
6
|
-
{{ date }}
|
7
|
-
|
8
|
-
<ref>test</ref>
|
9
|
-
|
10
|
-
<ref name="test">another reference</ref>
|
11
|
-
|
12
|
-
<ref name="test" />
|
13
|
-
|
14
|
-
<references />
|
15
|
-
|
16
|
-
== TEST ==
|
17
|
-
|
18
|
-
---hello world---
|
19
|
-
|
20
|
-
_hello world_
|
21
|
-
|
22
|
-
{|
|
23
|
-
|+ Hello World
|
24
|
-
| ABBA
|
25
|
-
| BANK
|
26
|
-
|-
|
27
|
-
| CAT
|
28
|
-
| DOG
|
29
|
-
|}
|
30
|
-
|
31
|
-
{| style="foo||"
|
32
|
-
! x !! 1 !! 2 !! 3
|
33
|
-
|-
|
34
|
-
! 1
|
35
|
-
| style="boo" | 1 || 2 || 3
|
36
|
-
|- style="blah"
|
37
|
-
! 2
|
38
|
-
| 2 || 4 || 6
|
39
|
-
|-
|
40
|
-
! 3
|
41
|
-
| 3 || [ http://www.google.com/ GOOGLE ] || 9
|
42
|
-
|-
|
43
|
-
! 4
|
44
|
-
| 4 || 8 || 12
|
45
|
-
|-
|
46
|
-
! 5
|
47
|
-
| 5 || 10 || 15
|
48
|
-
|}
|
49
|
-
|
50
|
-
''whats up foo'' or '''maybe''' you just want some of '''''this'''''
|
51
|
-
[ http://www.youtube.com/ {{PAGENAME}} ]
|
52
|
-
|
53
|
-
<nowiki>hello {{ BOO }} world</nowiki>
|
54
|
-
|
55
|
-
{{#if: {{PAGENAME}} | sucka foo | {{ BLA |1=foo|bla}} }}
|
@@ -1,312 +0,0 @@
|
|
1
|
-
{{refimprove|date=September 2008}}
|
2
|
-
{{pp-semi|small=yes}}
|
3
|
-
{{otheruses}}
|
4
|
-
{{redir|TV}}
|
5
|
-
{{Infobox Product
|
6
|
-
|title = Television
|
7
|
-
|image = [[Image:Braun HF 1.jpg|Center|180px|]]
|
8
|
-
|caption =
|
9
|
-
|inventor = [[John Logie Baird]]
|
10
|
-
|launch year = 1928
|
11
|
-
|company =
|
12
|
-
|available = Worldwide
|
13
|
-
}}
|
14
|
-
'''Television''' ('''TV''') is a widely used [[telecommunication]] [[mass-media|medium]] for transmitting and receiving moving [[images]], either [[monochrome|monochromatic]] ("black and white") or [[color]], usually accompanied by [[sound]]. "Television" may also refer specifically to a [[television set]], [[television program]]ming or [[Transmission (telecommunications)|television transmission]]. The word is derived from mixed [[Latin]] and [[Greek language|Greek]] roots, meaning "far sight": Greek ''tele'' ({{polytonic|τ{{Unicode|ῆ}}λε}}), far, and Latin ''visio'', sight (from ''video, vis-'' to see, or to view in the first person).
|
15
|
-
|
16
|
-
[[History of television#Broadcast television|Commercially available since the late 1930s]], the television set has become a common communications receiver in homes, businesses and institutions, particularly as a source of [[entertainment]] and news. Since the 1970s the availability of [[Videotape|video cassettes]], [[laserdiscs]], [[DVD-Video|DVDs]] and now [[Blu-ray]] discs, have resulted in the television set frequently being used for viewing recorded as well as broadcast material.
|
17
|
-
|
18
|
-
Although other forms such as [[closed-circuit television]] are in use, the most common usage of the medium is for [[broadcast television]], which was modeled on the existing [[radio broadcasting]] systems developed in the 1920s, and uses high-powered radio-frequency transmitters to [[broadcasting|broadcast]] the television signal to individual TV receivers.
|
19
|
-
|
20
|
-
Broadcast TV is typically disseminated via [[radio]] transmissions in the 7-1000 [[megahertz]]-range of the [[FM radio|FM]] frequency band<ref>[http://www.csgnetwork.com/tvfreqtable.html]</ref>. Signals are now often transmitted with [[stereo]] and/or [[surround sound]] in many countries. Until the 2000s broadcast TV programs were generally recorded and transmitted as an [[analog recording|analog]] signal, but in recent years public and commercial broadcasters have been progressively introducing [[digital television]] broadcasting technology.
|
21
|
-
|
22
|
-
A standard television set comprises multiple internal [[electronic circuit]]s, including those for [[Tuner (electronics)|receiving]] and decoding [[broadcast]] [[signals]]. A visual [[display device]] which lacks a tuner is properly called a [[video monitor|monitor]], rather than a television. A television system may use different technical standards such as [[digital television]] (DTV) and [[high-definition television]] (HDTV). Television systems are also used for surveillance, industrial process control, and guiding of weapons, in places where direct observation is difficult or dangerous.
|
23
|
-
|
24
|
-
[[Amateur television]] (HAM TV or ATV) is also used for experimentation, pleasure and public service events by [[amateur radio]] operators. HAM TV stations were on the air in many cities before commercial TV stations came on the air -
|
25
|
-
see http://www.earlytelevision.org/1940_home_camera.html for more info.
|
26
|
-
|
27
|
-
==History==
|
28
|
-
{{main|History of television}}
|
29
|
-
[[File:Bbc broadcasting house front.jpg|thumb|right|[[BBC Broadcasting House]]. The [[BBC]] is the largest and oldest broadcaster in the world.<ref>{{cite web |title=BBC website: ''About the BBC - What is the BBC'' |url=http://www.bbc.co.uk/info/purpose/what.shtml |accessdate=2008-06-14}}</ref>]]
|
30
|
-
|
31
|
-
In its early stages of development, television employed a combination of [[optics|optical]], mechanical and [[electronics|electronic]] technologies to capture, transmit and display a visual image. By the late 1920s, however, those employing only optical and electronic technologies were being explored. All modern television systems rely on the latter, although the knowledge gained from the work on mechanical-dependent systems was crucial in the development of fully electronic television.
|
32
|
-
|
33
|
-
The first time images were transmitted electrically were via early mechanical [[Fax#History|fax]] machines, including the [[pantelegraph]], developed in the late 1800s. The concept of electrically-powered transmission of television images in motion, was first sketched in 1878 as the [[telephonoscope]], shortly after the invention of the [[telephone]]. At the time, it was imagined by early science fiction authors, that someday that [[light]] could be transmitted over wires, as sounds were.{{fact|date=January 2009}}
|
34
|
-
|
35
|
-
The idea of using [[scanning]] to transmit images was put to actual practical use in 1881 in the pantelegraph, through the use of a [[pendulum]]-based scanning mechanism. From this period forward, scanning in one form or another, has been used in nearly every image transmission technology to date, including television. This is the concept of "[[rasterization]]", the process of converting a visual image into a stream of electrical pulses.{{fact|date=January 2009}}
|
36
|
-
|
37
|
-
In 1884 [[Paul Gottlieb Nipkow]], a 20-year old university student in Germany, patented the first electromechanical television system which employed a [[Nipkow disk|scanning disk]], a spinning disk with a series of holes spiraling toward the center, for rasterization. The holes were spaced at equal [[angle|angular]] intervals such that in a single rotation the disk would allow light to pass through each hole and onto a light-sensitive [[selenium]] sensor which produced the electrical pulses. As an image was focused on the rotating disk, each hole captured a horizontal "slice" of the whole image, in a scanning fashion.{{fact|date=January 2009}}
|
38
|
-
|
39
|
-
Nipkow's design would not be practical until advances in [[amplifier]] [[vacuum tube|tube]] technology became available in 1907. Even then the device was only useful for transmitting still "[[halftone]]" images - represented by equally spaced dots of varying size - over telegraph or telephone lines. Later designs would use a rotating mirror-drum scanner to capture the image and a [[cathode ray tube]] (CRT) as a display device, but moving images were still not possible, due to the poor sensitivity of the [[selenium]] sensors.{{fact|date=January 2009}}
|
40
|
-
|
41
|
-
Scottish inventor [[John Logie Baird]] demonstrated the transmission of moving silhouette images in [[London]] in 1925, and of moving, [[monochrome|monochromatic]] images in 1926. Baird's scanning disk produced an image of 30 lines resolution, just enough to discern a human face, from a double spiral of [[lense]]s.{{fact|date=January 2009}}. Remarkably, in 1927 Baird also invented the world's first [[video recording]] system, "Phonovision" -- by modulating the output signal of his TV camera down to the audio range he was able to capture the signal on a 10-inch wax audio disc using conventional audio recording technology. A handful of Baird's 'Phonovision' recordings survive and these were finally decoded and rendered into viewable images in the 1990s using modern digital signal-processing technology<ref>[http://www.tvdawn.com/ World's First TV Recordings]</ref>.
|
42
|
-
|
43
|
-
In 1926, [[Hungary|Hungarian]] engineer [[Kálmán Tihanyi]] invented the entirely electronic camera tube and entirely electronic display and the transmitting and receiving system.<ref>{{cite web | title = Hungary - [[Kálmán Tihanyi|Kálmán Tihanyi's]] 1926 Patent Application 'Radioskop' | work = Memory of the World | publisher = [[UNESCO|United Nations Educational, Scientific and Cultural Organization (UNESCO)]] | url = http://portal.unesco.org/ci/en/ev.php-URL_ID=23240&URL_DO=DO_TOPIC&URL_SECTION=201.html| accessdate = 2008-02-22}}</ref><ref name=US2133123>United States Patent Office, Patent No. 2,133,123, Oct. 11, 1938.</ref><ref name=US2158259>United States Patent Office, Patent No. 2,158,259, May 16, 1939</ref><ref>{{cite web|url=http://www.bairdtelevision.com/zworykin.html |title=Vladimir Kosma Zworykin, 1889-1982 |publisher=Bairdtelevision.com |date= |accessdate=2009-04-17}}</ref>
|
44
|
-
|
45
|
-
By 1927, Russian inventor [[Léon Theremin]] developed a mirror drum-based television system which used [[interlacing]] to achieve an image resolution of 100 lines.{{fact|date=January 2009}}
|
46
|
-
|
47
|
-
Also in 1927, [[Herbert E. Ives]] of [[Bell Labs]] transmitted moving images from a 50-[[aperture]] disk producing 16 frames per minute over a [[cable]] from [[Washington, DC]] to [[New York City]], and via [[radio]] from [[Whippany, New Jersey]]. Ives used viewing screens as large as 24 by 30 inches (60 by 75 [[centimeter]]s). His subjects included Secretary of Commerce [[Herbert Hoover]].{{fact|date=January 2009}}
|
48
|
-
|
49
|
-
In 1928, [[Philo Farnsworth]] made the world's first working television system with electronic scanning of both the pickup and display devices, which he first demonstrated to news media on 1 September 1928, televising a motion picture film.{{fact|date=January 2009}}
|
50
|
-
|
51
|
-
The first practical use of television was in Germany. Regular television broadcasts began in Germany in 1929 and in 1936 the [[Olympic]] games in Berlin were broadcast to television stations in Berlin and Leipzig where the public could view the games live.<ref>{{cite web|url=http://www.tvhistory.tv |title=TV History |publisher=Gadgetrepublic |date=2009-05-01 |accessdate=2009-05-01}}</ref>
|
52
|
-
|
53
|
-
In 1936, [[Kálmán Tihanyi]] described the principle of [[Plasma display|Plasma Television]], the first flat panel.<ref>http://ewh.ieee.org/r2/johnstown/downloads/20090217_IEEE_JST_Trivia_Answers.pdf</ref> <ref>http://www.scitech.mtesz.hu/52tihanyi/flat-panel_tv_en.pdf</ref><ref>{{cite web|url=http://www.gadgetrepublic.com/news/item/202/ |title=Gadget News and Reviews - News - Item |publisher=Gadgetrepublic |date=2009-01-26 |accessdate=2009-04-17}}</ref>
|
54
|
-
|
55
|
-
==Geographical usage==
|
56
|
-
[[Image:TV-introduction-world-map.svg|350px|thumb|Television introduction by country
|
57
|
-
{{legend|#ff0000|1930 to 1939}}
|
58
|
-
{{legend|#ff5400|1940 to 1949}}
|
59
|
-
{{legend|#ffa800|1950 to 1959}}
|
60
|
-
{{legend|#ffff00|1960 to 1969}}
|
61
|
-
{{legend|#a8ff00|1970 to 1979}}
|
62
|
-
{{legend|#54ff00|1980 to 1989}}
|
63
|
-
{{legend|#00ff00|1990 to 1999}}
|
64
|
-
{{legend|Grey|No data}}
|
65
|
-
]]
|
66
|
-
{{main|Geographical usage of television}}
|
67
|
-
*[[Timeline of the introduction of television in countries]]
|
68
|
-
|
69
|
-
==Content==
|
70
|
-
===Programming===
|
71
|
-
{{seealso|Category:Television genres}}
|
72
|
-
Getting TV programming shown to the public can happen in many different ways. After production the next step is to market and deliver the product to whatever markets are open to using it. This typically happens on two levels:
|
73
|
-
|
74
|
-
#'''Original Run''' or '''First Run''' – a producer creates a program of one or multiple episodes and shows it on a station or network which has either paid for the production itself or to which a license has been granted by the producers to do the same.
|
75
|
-
#'''[[Television syndication|Syndication]]''' – this is the terminology rather broadly used to describe secondary programming usages (beyond original run). It includes secondary runs in the country of first issue, but also international usage which may or may not be managed by the originating producer. In many cases other companies, [[TV stations]] or individuals are engaged to do the syndication work, in other words to sell the product into the markets they are allowed to sell into by contract from the copyright holders, in most cases the producers.
|
76
|
-
|
77
|
-
First run programming is increasing on subscription services outside the U.S., but few domestically produced programs are syndicated on domestic [[Free-to-air|FTA]] elsewhere. This practice is increasing however, generally on digital-only FTA channels, or with subscriber-only first run material appearing on FTA.
|
78
|
-
|
79
|
-
Unlike the U.S., repeat FTA screenings of a FTA network program almost only occur on that network. Also, [[Affiliate]]s rarely buy or produce non-network programming that is not centred around local events.
|
80
|
-
|
81
|
-
===Funding===
|
82
|
-
{{globalize|section}}
|
83
|
-
[[Image:TV users.svg|thumb|400px|right|Television sets per 1000 people of the world {{legend|#10547C|1000+}}
|
84
|
-
{{legend|#1674AB|500-1000}}
|
85
|
-
{{legend|#1B8BCF|300-500}}
|
86
|
-
{{legend|#3CA6E6|200-300}}
|
87
|
-
{{legend|#70BEED|100-200}}
|
88
|
-
{{legend|#9DD2F2|50-100}}
|
89
|
-
{{legend|#CCE8F9|0-50}}
|
90
|
-
{{legend|Grey|No data}}]]
|
91
|
-
|
92
|
-
Around the globe, broadcast television is financed by either government, advertising, licensing (a form of tax), subscription or any combination of these. To protect revenues, subscription TV channels are usually encrypted to ensure that only subscription payers receive the decryption codes to see the signal. Non-encrypted channels are known as '''Free to Air''' or '''FTA'''.
|
93
|
-
|
94
|
-
====Advertising====
|
95
|
-
Television's broad reach makes it a powerful and attractive medium for [[advertiser]]s. Many television networks and stations sell blocks of broadcast time to advertisers ("sponsors") in order to fund their programming.
|
96
|
-
|
97
|
-
=====United States=====
|
98
|
-
Since inception in the U.S. in 1940, [[television commercial|TV commercials]] have become one of the most effective, persuasive, and popular method of selling products of many sorts, especially consumer goods. U.S. [[advertising]] rates are determined primarily by [[Nielsen Ratings]]. The time of the day and popularity of the channel determine how much a television commercial can cost. For example, the highly popular [[American Idol]] can cost approximately $750,000 for a thirty second block of commercial time; while the same amount of time for the [[FIFA World Cup|World Cup]] and the [[Super Bowl]] can cost several million dollars.
|
99
|
-
|
100
|
-
In recent years, the paid program or [[infomercial]] has become common, usually in lengths of 30 minutes or one hour. Some drug companies and other businesses have even created "news" items for broadcast, known in the industry as [[video news release]]s, paying [[program director]]s to use them.<ref>[[Jon Stewart]] of "[[The Daily Show]]" was mock-outraged at this, saying, "That's what we do!", and calling it a new form of television, "infoganda".</ref>
|
101
|
-
|
102
|
-
Some TV programs also weave advertisements into their shows, a practice begun in film and known as [[product placement]]. For example, a character could be drinking a certain kind of soda, going to a particular chain restaurant, or driving a certain make of car. (This is sometimes very subtle, where shows have vehicles provided by manufacturers for low cost, rather than wrangling them.) Sometimes a specific brand or trade mark, or music from a certain artist or group, is used. (This excludes guest appearances by artists, who perform on the show.)
|
103
|
-
|
104
|
-
=====United Kingdom=====
|
105
|
-
The TV regulator oversees TV advertising in the United Kingdom. Its restrictions have applied since the early days of commercially funded TV. Despite this, an early TV mogul, [[Lew Grade]], likened the broadcasting licence as being a "licence to print money". Restrictions mean that the big three national commercial TV channels: [[ITV]], [[Channel 4]], and [[Five (TV channel)|Five]] can show an average of only seven minutes of advertising per hour (eight minutes in the peak period). Other broadcasters must average no more than nine minutes (twelve in the peak). This means that many imported TV shows from the US have unnatural breaks where the UK company has edited out the breaks intended for US advertising. Advertisements must not be inserted in the course of certain specific proscribed types of programs which last less than half an hour in scheduled duration, this list includes any news or current affairs program, documentaries, and programs for children. Nor may advertisements be carried in a program designed and broadcast for reception in schools or in any religious service or other devotional program, or during a formal Royal ceremony or occasion. There also must be clear demarcations in time between the programs and the advertisements.
|
106
|
-
|
107
|
-
The [[BBC]], being strictly non-commercial is not allowed to show advertisements on television in the UK, although it has many advertising-funded channels abroad. The majority of its budget comes from TV licencing (see below) and the sale of content to other broadcasters.
|
108
|
-
|
109
|
-
====Taxation or license====
|
110
|
-
Television services in some countries may be funded by a [[television licence]], a form of taxation which means advertising plays a lesser role or no role at all. For example, some channels may carry no advertising at all and some very little, including:
|
111
|
-
* [[Australia]] ([[Australian Broadcasting Corporation|ABC]])
|
112
|
-
* [[Norway]] ([[NRK]])
|
113
|
-
* [[Sweden]] ([[Sveriges Television|SVT]])
|
114
|
-
* [[United Kingdom]] ([[BBC]])
|
115
|
-
|
116
|
-
The [[BBC]] carries no advertising on its UK channels and is funded by an annual licence paid by all households owning a television. This licence fee is set by government, but the BBC is not answerable to or controlled by government and is therefore genuinely independent.
|
117
|
-
|
118
|
-
The two main BBC TV channels are watched by almost 90 percent of the population each week and overall have 27 per cent share of total viewing.<ref>{{cite web|url=http://www.barb.co.uk/viewingsummary/weekreports.cfm?report=multichannel&requesttimeout=500&flag=viewingsummary |title=viewing statistics in UK |publisher=Barb.co.uk |date= |accessdate=2009-04-17}}</ref> This in spite of the fact that 85% of homes are multichannel, with 42% of these having access to 200 free to air channels via satellite and another 43% having access to 30 or more channels via [[Freeview (United Kingdom)|Freeview]].<ref>[http://www.ofcom.org.uk/research/tv/reports/dtv/dtv_2007_q3/dtvq307.pdf OFCOM quarterly survey]</ref> The licence that funds the seven advertising-free BBC TV channels currently costs £139.50 a year (about US$215) irrespective of the number of TV sets owned. When the same sporting event has been presented on both BBC and commercial channels, the BBC always attracts the lion's share of the audience, indicating viewers prefer to watch TV uninterrupted by advertising.
|
119
|
-
|
120
|
-
The [[Australian Broadcasting Corporation]] (ABC) carries no advertising (except for the ABC Shop) as it is banned under law [http://www.comlaw.gov.au/ComLaw/Legislation/ActCompilation1.nsf/all/search/8B104AA963F8AB9FCA25718D002260DC ABC Act 1983]. The ABC receives its funding from the Australian Government every three years. In the 2006/07 Federal Budget the ABC received Au$822.67 Million<ref>http://www.abc.net.au/corp/pubs/documents/budget2006-07.pdf</ref> this covers most of the ABC funding commitments and, as with the BBC, also funds radio channels, transmitters and the ABC web sites. The ABC also receives funds from its many ABC Shops across Australia.
|
121
|
-
|
122
|
-
In [[France]] government-funded channels do carry advertisements yet those who own television sets have to pay an annual tax ("la redevance audiovisuelle").<ref>[http://www.minefi.gouv.fr/paca/minefi_relais_sociaux/impots/fiche21.html Ministry of Finance]</ref>
|
123
|
-
|
124
|
-
====Subscription====
|
125
|
-
Some TV channels are partly funded from subscriptions and therefore the signals are encrypted during broadcast to ensure that only paying subscribers have access to the decryption codes. Most subscription services are also funded by advertising.
|
126
|
-
|
127
|
-
===Genres===
|
128
|
-
Television [[genre]]s include a broad range of programming types that entertain, inform, and educate viewers. The most expensive entertainment genres to produce are usually drama and dramatic miniseries. However, other genres, such as historical Western genres, may also have high production costs.
|
129
|
-
|
130
|
-
Popular entertainment genres include action-oriented shows such as police, crime, detective dramas, horror, or thriller shows. As well, there are also other variants of the drama genre, such as medical dramas and daytime soap operas. Science fiction shows can fall into either the drama or action category, depending on whether they emphasize philosophical questions or high adventure. Comedy is a popular genre which includes [[situation comedy]] (sitcom) and animated shows for the adult demographic such as ''[[Family Guy]]''.
|
131
|
-
|
132
|
-
The least expensive forms of entertainment programming are game shows, talk shows, variety shows, and reality TV. Game shows show contestants answering questions and solving puzzles to win prizes. Talk shows feature interviews with film, television and music celebrities and public figures. Variety shows feature a range of musical performers and other entertainers such as comedians and magicians introduced by a host or Master of Ceremonies. There is some crossover between some talk shows and variety shows, because leading talk shows often feature performances by bands, singers, comedians, and other performers in between the interview segments.
|
133
|
-
''Reality TV'' shows "regular" people (''i.e.'', not [[actors]]) who are facing unusual challenges or experiences, ranging from arrest by police officers (''[[COPS]]'') to weight loss (''[[The Biggest Loser]]''). A variant version of reality shows depicts celebrities doing mundane activities such as going about their everyday life (''[[Snoop Dogg's Father Hood]]'') or doing manual labour (''[[Simple Life]]'').
|
134
|
-
|
135
|
-
==Social aspects==
|
136
|
-
{{main|Social aspects of television}}
|
137
|
-
Television has played a pivotal role in the socialization of the 20th and 21st centuries. There are many [[social aspects of television]] that can be addressed, including:
|
138
|
-
<div style="-moz-column-count:4; column-count:4;">
|
139
|
-
*[[Social aspects of television#Alleged dangers|Alleged dangers]]
|
140
|
-
*[[Social aspects of television#Educational advantages|Educational advantages]]
|
141
|
-
*[[Social aspects of television#Gender and television|Gender and television]]
|
142
|
-
*[[Social aspects of television#Negative effects|Negative effects]]
|
143
|
-
*[[Social aspects of television#Politics and television|Politics and television]]
|
144
|
-
*[[Social aspects of television#Positive effects|Positive effects]]
|
145
|
-
*[[Social aspects of television#Propaganda delivery|Propaganda delivery]]
|
146
|
-
*[[Social aspects of television#Socializing children|Socializing children]]
|
147
|
-
*[[Social aspects of television#Suitability for audience|Suitability for audience]]
|
148
|
-
*[[Social aspects of television#Technology trends|Technology trends]]
|
149
|
-
</div>
|
150
|
-
|
151
|
-
==Environmental aspects==
|
152
|
-
[[Image:2005 Austria 25 Euro 50 Years Television back.jpg|upright|thumb|[[Euro gold and silver commemorative coins (Austria)#2005 coinage|The 50 years of Television commemorative coin]]]]
|
153
|
-
With high [[lead]] content in [[cathode ray tube|CRTs]], and the rapid diffusion of new, flat-panel display technologies, some of which ([[LCD]]s) use lamps containing [[mercury (element)|mercury]], there is growing concern about [[electronic waste]] from discarded televisions. Related [[occupational health]] concerns exist, as well, for disassemblers removing copper wiring and other materials from CRTs. Further environmental concerns related to television design and use relate to the devices' increasing [[electrical energy]] requirements.<ref>{{cite web |url=http://www.energysavingtrust.org.uk/uploads/documents/aboutest/Riseofthemachines.pdf |publisher=Energy Saving Trust |title=The Rise of the Machines: A Review of Energy Using Products in the Home from the 1970s to Today |date=July 3, 2006 |format=PDF |accessdate=2007-08-31}}</ref>
|
154
|
-
|
155
|
-
==In numismatics==
|
156
|
-
Television has had such an impact in today's life, that it has been the main motif for numerous collectors' coins and medals. One of the most recent ones is the [[Euro gold and silver commemorative coins (Austria)#2005 coinage|Austrian 50 years of Television commemorative coin]] minted in March 9, 2005. The obverse of the coin shows a "test pattern", while the reverse shows several milestones in the history of television.
|
157
|
-
|
158
|
-
==References==
|
159
|
-
{{reflist|2}}
|
160
|
-
<references />
|
161
|
-
|
162
|
-
==See also==
|
163
|
-
{{Portal|Television|Television icon.png}}
|
164
|
-
* [[Broadcast-safe]]
|
165
|
-
* [[Handheld television]]
|
166
|
-
* [[How television works]]
|
167
|
-
* [[Information-action ratio]]
|
168
|
-
* [[Internet television]]
|
169
|
-
* [[List of countries by number of television broadcast stations]]
|
170
|
-
* [[List of television manufacturers]]
|
171
|
-
* [[List of years in television]]
|
172
|
-
* [[Media psychology]]
|
173
|
-
* [[Technology of television]]
|
174
|
-
|
175
|
-
==Further reading==
|
176
|
-
* Albert Abramson, ''The History of Television, 1942 to 2000'', Jefferson, NC, and London, McFarland, 2003, ISBN 0786412208.
|
177
|
-
* [[Pierre Bourdieu]], ''On Television'', The New Press, 2001.
|
178
|
-
* Tim Brooks and Earle March, ''The Complete Guide to Prime Time Network and Cable TV Shows'', 8th ed., Ballantine, 2002.
|
179
|
-
* [[Jacques Derrida]] and [[Bernard Stiegler]], ''Echographies of Television'', Polity Press, 2002.
|
180
|
-
* David E. Fisher and Marshall J. Fisher, ''Tube: the Invention of Television'', Counterpoint, Washington, DC, 1996, ISBN 1887178171.
|
181
|
-
* [[Steven Berlin Johnson|Steven Johnson]], ''Everything Bad is Good for You: How Today's Popular Culture Is Actually Making Us Smarter'', New York, Riverhead (Penguin), 2005, 2006, ISBN 1594481946.
|
182
|
-
* [[Jerry Mander]], ''Four Arguments for the Elimination of Television'', Perennial, 1978.
|
183
|
-
* Jerry Mander, ''In the Absence of the Sacred'', Sierra Club Books, 1992, ISBN 0871565099.
|
184
|
-
* [[Neil Postman]], ''[[Amusing Ourselves to Death]]: Public Discourse in the Age of Show Business'', New York, Penguin US, 1985, ISBN 0670804541.
|
185
|
-
* Evan I. Schwartz, ''The Last Lone Inventor: A Tale of Genius, Deceit, and the Birth of Television'', New York, Harper Paperbacks, 2003, ISBN 0060935596.
|
186
|
-
* Beretta E. Smith-Shomade, ''Shaded Lives: African-American Women and Television'', Rutgers University Press, 2002.
|
187
|
-
* Alan Taylor, ''We, the Media: Pedagogic Intrusions into US Mainstream Film and Television News Broadcasting Rhetoric'', Peter Lang, 2005, ISBN 3631518528.
|
188
|
-
|
189
|
-
==External links==
|
190
|
-
{{sisterlinks}}
|
191
|
-
* [http://www.sciencetech.technomuses.ca/english/collection/television.cfm A History of Television] at the [[Canada Science and Technology Museum]]
|
192
|
-
* [http://www.museum.tv/archives/etv/index.html The Encyclopedia of Television] at the [[Museum of Broadcast Communications]]
|
193
|
-
* [http://www.nhk.or.jp/strl/aboutstrl/evolution-of-tv-en/index-e.html The Evolution of TV, A Brief History of TV Technology in Japan] [[NHK]]
|
194
|
-
* [http://www.tvhistory.tv/ Television's History — The First 75 Years]
|
195
|
-
* [http://radiostationworld.com/directory/television_standards/default.asp Worldwide Television Standards]
|
196
|
-
|
197
|
-
{{Video formats}}
|
198
|
-
|
199
|
-
[[Category:Television| ]]
|
200
|
-
[[Category:Video hardware]]
|
201
|
-
[[Category:Media formats]]
|
202
|
-
[[Category:Performing arts]]
|
203
|
-
[[Category:Scottish inventions]]
|
204
|
-
|
205
|
-
[[af:Televisie]]
|
206
|
-
[[am:ቴሌቪዥን]]
|
207
|
-
[[ang:Feorrsīen]]
|
208
|
-
[[ar:تلفاز]]
|
209
|
-
[[ast:Televisión]]
|
210
|
-
[[gn:Ta'angambyry]]
|
211
|
-
[[az:تلویزیون]]
|
212
|
-
[[zh-min-nan:Tiān-sī]]
|
213
|
-
[[map-bms:Televisi]]
|
214
|
-
[[be:Тэлебачанне]]
|
215
|
-
[[be-x-old:Тэлебачаньне]]
|
216
|
-
[[bs:Televizija]]
|
217
|
-
[[br:Skinwel]]
|
218
|
-
[[bg:Телевизия]]
|
219
|
-
[[ca:Televisió]]
|
220
|
-
[[cs:Televizor]]
|
221
|
-
[[cy:Teledu]]
|
222
|
-
[[da:Tv]]
|
223
|
-
[[pdc:Guckbax]]
|
224
|
-
[[de:Fernsehen]]
|
225
|
-
[[et:Televisioon]]
|
226
|
-
[[el:Τηλεόραση]]
|
227
|
-
[[eml:Televisiån]]
|
228
|
-
[[es:Televisión]]
|
229
|
-
[[eo:Televido]]
|
230
|
-
[[eu:Telebista]]
|
231
|
-
[[fa:تلویزیون]]
|
232
|
-
[[fr:Télévision]]
|
233
|
-
[[fy:Televyzje]]
|
234
|
-
[[ga:Teilifís]]
|
235
|
-
[[gd:Telebhisean]]
|
236
|
-
[[gl:Televisión]]
|
237
|
-
[[ki:Terebiceni]]
|
238
|
-
[[hak:Thien-sṳ]]
|
239
|
-
[[ko:텔레비전]]
|
240
|
-
[[hy:Հեռատեսիլ]]
|
241
|
-
[[hi:दूरदर्शन]]
|
242
|
-
[[hr:Televizija]]
|
243
|
-
[[io:Televiziono]]
|
244
|
-
[[id:Televisi]]
|
245
|
-
[[ia:Television]]
|
246
|
-
[[is:Sjónvarp]]
|
247
|
-
[[it:Televisione]]
|
248
|
-
[[he:טלוויזיה]]
|
249
|
-
[[kn:ದೂರದರ್ಶನ]]
|
250
|
-
[[ka:ტელევიზია]]
|
251
|
-
[[ky:Телекөрсөтүү]]
|
252
|
-
[[sw:Televisheni]]
|
253
|
-
[[ku:Televîzyon]]
|
254
|
-
[[lad:Television]]
|
255
|
-
[[la:Televisio]]
|
256
|
-
[[lv:Televīzija]]
|
257
|
-
[[lb:Televisioun]]
|
258
|
-
[[lt:Televizija]]
|
259
|
-
[[hu:Televízió]]
|
260
|
-
[[mk:Телевизија]]
|
261
|
-
[[ml:ടെലിവിഷന്]]
|
262
|
-
[[mr:दूरचित्रवाणी]]
|
263
|
-
[[arz:تليفزيون]]
|
264
|
-
[[ms:Televisyen]]
|
265
|
-
[[nl:Televisie]]
|
266
|
-
[[nds-nl:Tillevisie]]
|
267
|
-
[[ne:टेलिभिजन]]
|
268
|
-
[[ja:テレビ]]
|
269
|
-
[[no:Fjernsyn]]
|
270
|
-
[[nn:Fjernsyn]]
|
271
|
-
[[nrm:Télévision]]
|
272
|
-
[[nov:Televisione]]
|
273
|
-
[[oc:Television]]
|
274
|
-
[[uz:Televideniye]]
|
275
|
-
[[nds:Feernseher]]
|
276
|
-
[[pl:Telewizja]]
|
277
|
-
[[pt:Televisão]]
|
278
|
-
[[ro:Televiziune]]
|
279
|
-
[[qu:Ñawikaruy]]
|
280
|
-
[[ru:Телевидение]]
|
281
|
-
[[sm:Televise]]
|
282
|
-
[[sa:दूरदर्शन]]
|
283
|
-
[[sco:Televeesion]]
|
284
|
-
[[sq:Televizioni]]
|
285
|
-
[[scn:Televisioni]]
|
286
|
-
[[si:රූපවාහිනිය]]
|
287
|
-
[[simple:Television]]
|
288
|
-
[[sk:Televízia]]
|
289
|
-
[[sl:Televizija]]
|
290
|
-
[[sr:Телевизија]]
|
291
|
-
[[su:Televisi]]
|
292
|
-
[[fi:Televisio]]
|
293
|
-
[[sv:Television]]
|
294
|
-
[[tl:Telebisyon]]
|
295
|
-
[[ta:தொலைக்காட்சி]]
|
296
|
-
[[kab:Tiliẓri]]
|
297
|
-
[[te:దూరదర్శిని]]
|
298
|
-
[[th:โทรทัศน์]]
|
299
|
-
[[tr:Televizyon]]
|
300
|
-
[[uk:Телебачення]]
|
301
|
-
[[ur:بعید نُما]]
|
302
|
-
[[vec:Tełevixion]]
|
303
|
-
[[vi:Truyền hình]]
|
304
|
-
[[fiu-vro:Televis'uun]]
|
305
|
-
[[wa:Televuzion]]
|
306
|
-
[[war:Telebisyon]]
|
307
|
-
[[wuu:电视机]]
|
308
|
-
[[yi:טעלעוויזיע]]
|
309
|
-
[[zh-yue:電視]]
|
310
|
-
[[diq:Televizyon]]
|
311
|
-
[[bat-smg:Televėzėjė]]
|
312
|
-
[[zh:电视]]
|
Binary file
|
@@ -1,410 +0,0 @@
|
|
1
|
-
'''Tables''' may be authored in wiki pages using either XHTML table elements directly, or using wikicode formatting to define the table. XHTML table elements and their use are well described on various web pages and will not be discussed here. The benefit of wikicode is that the table is constructed of character symbols which tend to make it easier to perceive the table structure in the article editing view compared to XHTML table elements.
|
2
|
-
|
3
|
-
As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.
|
4
|
-
|
5
|
-
== Wiki table markup summary ==
|
6
|
-
{|cellpadding="5" cellspacing="0" border="1" width="60%"
|
7
|
-
|
|
8
|
-
<nowiki>{|</nowiki>
|
9
|
-
| '''table start'''
|
10
|
-
|-
|
11
|
-
|
|
12
|
-
<nowiki>|+</nowiki>
|
13
|
-
| table '''caption,''' ''optional;'' only between '''table start''' and first '''table row'''
|
14
|
-
|-
|
15
|
-
|
|
16
|
-
<nowiki>|-</nowiki>
|
17
|
-
| '''table row,''' ''optional on first row'' -- wiki engine assumes the first row
|
18
|
-
|-
|
19
|
-
|
|
20
|
-
<nowiki>!</nowiki>
|
21
|
-
| '''table header''' cell, ''optional.'' Consecutive '''table header''' cells may be added on same line separated by double marks (<code>!!</code>) or start on new lines, each with its own single mark (<code>!</code>).
|
22
|
-
|-
|
23
|
-
|
|
24
|
-
<nowiki>|</nowiki>
|
25
|
-
| '''table data''' cell, ''required!'' Consecutive '''table data''' cells may be added on same line separated by double marks (<code><nowiki>||</nowiki></code>) or start on new lines, each with its own single mark (<code><nowiki>|</nowiki></code>).
|
26
|
-
|-
|
27
|
-
|
|
28
|
-
<nowiki>|}</nowiki>
|
29
|
-
| '''table end'''
|
30
|
-
|}
|
31
|
-
*The above marks must '''start on a new line''' except the double <code>||</code> and <code>!!</code> for optionally adding consecutive cells to a line. However, blank spaces at the beginning of a line are ignored.
|
32
|
-
*'''XHTML attributes.''' Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
|
33
|
-
**Cells and caption (<code>|</code> or <code>||</code>, <code>!</code> or <code>!!</code>, and <code>|+</code>) hold content. So separate any attributes from content with a single pipe (<code>|</code>). Cell content may follow on same line or on following lines.
|
34
|
-
**Table and row marks (<code>{|</code> and <code>|-</code>) do not directly hold content. Do ''not'' add pipe (<code>|</code>) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parser will delete it ''and'' your final attribute if it was touching the erroneous pipe!
|
35
|
-
*'''Content''' may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headings, or nested tables, must be on its own new line.
|
36
|
-
|
37
|
-
==Basics==
|
38
|
-
The following table lacks borders and good spacing but shows the simplest wiki markup table structure.
|
39
|
-
|
40
|
-
{| cellspacing="0" border="1"
|
41
|
-
!style="width:50%"|You type
|
42
|
-
!style="width:50%"|You get
|
43
|
-
|-
|
44
|
-
|
|
45
|
-
<pre>
|
46
|
-
{|
|
47
|
-
|Orange
|
48
|
-
|Apple
|
49
|
-
|-
|
50
|
-
|Bread
|
51
|
-
|Pie
|
52
|
-
|-
|
53
|
-
|Butter
|
54
|
-
|Ice cream
|
55
|
-
|}
|
56
|
-
</pre>
|
57
|
-
|
|
58
|
-
{|
|
59
|
-
|Orange
|
60
|
-
|Apple
|
61
|
-
|-
|
62
|
-
|Bread
|
63
|
-
|Pie
|
64
|
-
|-
|
65
|
-
|Butter
|
66
|
-
|Ice cream
|
67
|
-
|}
|
68
|
-
|}
|
69
|
-
|
70
|
-
The cells in the same row can be listed on one line separated by <code>||</code>.
|
71
|
-
|
72
|
-
Extra spaces within cells in the wiki markup, as in the wiki markup below, do not affect the actual table rendering.
|
73
|
-
|
74
|
-
{| cellspacing="0" border="1"
|
75
|
-
!style="width:50%"|You type
|
76
|
-
!style="width:50%"|You get
|
77
|
-
|-
|
78
|
-
|
|
79
|
-
<pre>
|
80
|
-
{|
|
81
|
-
| Orange || Apple || more
|
82
|
-
|-
|
83
|
-
| Bread || Pie || more
|
84
|
-
|-
|
85
|
-
| Butter || Ice cream || and more
|
86
|
-
|}
|
87
|
-
</pre>
|
88
|
-
|
|
89
|
-
{|
|
90
|
-
| Orange || Apple || more
|
91
|
-
|-
|
92
|
-
| Bread || Pie || more
|
93
|
-
|-
|
94
|
-
| Butter || Ice cream || and more
|
95
|
-
|}
|
96
|
-
|}
|
97
|
-
|
98
|
-
=== Table headers ===
|
99
|
-
Table headers can be created by using "<code>!</code>" instead of "<code>|</code>". Headers usually show up bold and centered by default.
|
100
|
-
|
101
|
-
{| cellspacing="0" border="1"
|
102
|
-
!style="width:50%"|You type
|
103
|
-
!style="width:50%"|You get
|
104
|
-
|-
|
105
|
-
|
|
106
|
-
<pre>
|
107
|
-
{|
|
108
|
-
! Item
|
109
|
-
! Amount
|
110
|
-
! Cost
|
111
|
-
|-
|
112
|
-
|Orange
|
113
|
-
|10
|
114
|
-
|7.00
|
115
|
-
|-
|
116
|
-
|Bread
|
117
|
-
|4
|
118
|
-
|3.00
|
119
|
-
|-
|
120
|
-
|Butter
|
121
|
-
|1
|
122
|
-
|5.00
|
123
|
-
|-
|
124
|
-
!Total
|
125
|
-
|
|
126
|
-
|15.00
|
127
|
-
|}
|
128
|
-
</pre>
|
129
|
-
|
|
130
|
-
{|
|
131
|
-
! Item
|
132
|
-
! Amount
|
133
|
-
! Cost
|
134
|
-
|-
|
135
|
-
|Orange
|
136
|
-
|10
|
137
|
-
|7.00
|
138
|
-
|-
|
139
|
-
|Bread
|
140
|
-
|4
|
141
|
-
|3.00
|
142
|
-
|-
|
143
|
-
|Butter
|
144
|
-
|1
|
145
|
-
|5.00
|
146
|
-
|-
|
147
|
-
!Total
|
148
|
-
|
|
149
|
-
|15.00
|
150
|
-
|}
|
151
|
-
|}
|
152
|
-
|
153
|
-
===Caption===
|
154
|
-
A '''table caption''' can be added to the top of any table as follows.
|
155
|
-
|
156
|
-
{| cellspacing="0" border="1"
|
157
|
-
!style="width:50%"|You type
|
158
|
-
!style="width:50%"|You get
|
159
|
-
|-
|
160
|
-
|
|
161
|
-
<pre>
|
162
|
-
{|
|
163
|
-
|+Food complements
|
164
|
-
|-
|
165
|
-
|Orange
|
166
|
-
|Apple
|
167
|
-
|-
|
168
|
-
|Bread
|
169
|
-
|Pie
|
170
|
-
|-
|
171
|
-
|Butter
|
172
|
-
|Ice cream
|
173
|
-
|}
|
174
|
-
</pre>
|
175
|
-
|
|
176
|
-
{|
|
177
|
-
|+ Food complements
|
178
|
-
|-
|
179
|
-
|Orange
|
180
|
-
|Apple
|
181
|
-
|-
|
182
|
-
|Bread
|
183
|
-
|Pie
|
184
|
-
|-
|
185
|
-
|Butter
|
186
|
-
|Ice cream
|
187
|
-
|}
|
188
|
-
|}
|
189
|
-
|
190
|
-
== XHTML attributes ==
|
191
|
-
You can add XHTML attributes to tables. For the authoriative source on these, see [http://www.w3.org/TR/REC-html40/struct/tables.html the W3C's HTML 4.01 Specification page on tables].
|
192
|
-
|
193
|
-
=== Attributes on tables ===
|
194
|
-
Placing attributes after the table start tag (<code>{|</code>) applies attributes to the entire table.
|
195
|
-
|
196
|
-
{| cellspacing="0" border="1"
|
197
|
-
!style="width:50%"|You type
|
198
|
-
!style="width:50%"|You get
|
199
|
-
|-
|
200
|
-
|
|
201
|
-
<pre>
|
202
|
-
{| border="1"
|
203
|
-
|Orange
|
204
|
-
|Apple
|
205
|
-
|12,333.00
|
206
|
-
|-
|
207
|
-
|Bread
|
208
|
-
|Pie
|
209
|
-
|500.00
|
210
|
-
|-
|
211
|
-
|Butter
|
212
|
-
|Ice cream
|
213
|
-
|1.00
|
214
|
-
|}
|
215
|
-
</pre>
|
216
|
-
|
|
217
|
-
{| border="1"
|
218
|
-
|Orange
|
219
|
-
|Apple
|
220
|
-
|12,333.00
|
221
|
-
|-
|
222
|
-
|Bread
|
223
|
-
|Pie
|
224
|
-
|500.00
|
225
|
-
|-
|
226
|
-
|Butter
|
227
|
-
|Ice cream
|
228
|
-
|1.00
|
229
|
-
|}
|
230
|
-
|}
|
231
|
-
|
232
|
-
=== Attributes on cells ===
|
233
|
-
You can put attributes on individual '''cells'''. For example, numbers may look better aligned right.
|
234
|
-
|
235
|
-
{| cellspacing="0" border="1"
|
236
|
-
!style="width:50%"|You type
|
237
|
-
!style="width:50%"|You get
|
238
|
-
|-
|
239
|
-
|
|
240
|
-
<pre>
|
241
|
-
{| border="1"
|
242
|
-
|Orange
|
243
|
-
|Apple
|
244
|
-
|align="right" | 12,333.00
|
245
|
-
|-
|
246
|
-
|Bread
|
247
|
-
|Pie
|
248
|
-
|align="right" | 500.00
|
249
|
-
|-
|
250
|
-
|Butter
|
251
|
-
|Ice cream
|
252
|
-
|align="right" | 1.00
|
253
|
-
|}
|
254
|
-
</pre>
|
255
|
-
|
|
256
|
-
{| border="1"
|
257
|
-
|Orange
|
258
|
-
|Apple
|
259
|
-
|align="right"|12,333.00
|
260
|
-
|-
|
261
|
-
|Bread
|
262
|
-
|Pie
|
263
|
-
|align="right"|500.00
|
264
|
-
|-
|
265
|
-
|Butter
|
266
|
-
|Ice cream
|
267
|
-
|align="right"|1.00
|
268
|
-
|}
|
269
|
-
|}
|
270
|
-
|
271
|
-
You can also use '''cell''' attributes when you are listing multiple '''cells''' on a single line. Note that the '''cells''' are separated by <code>||</code>, and within each '''cell''' the attribute(s) and value are separated by <code>|</code>.
|
272
|
-
|
273
|
-
{| cellspacing="0" border="1"
|
274
|
-
!style="width:50%"|You type
|
275
|
-
!style="width:50%"|You get
|
276
|
-
|-
|
277
|
-
|
|
278
|
-
<pre>
|
279
|
-
{| border="1"
|
280
|
-
| Orange || Apple || align="right" | 12,333.00
|
281
|
-
|-
|
282
|
-
| Bread || Pie || align="right" | 500.00
|
283
|
-
|-
|
284
|
-
| Butter || Ice cream || align="right" | 1.00
|
285
|
-
|}
|
286
|
-
</pre>
|
287
|
-
|
|
288
|
-
{| border="1"
|
289
|
-
| Orange || Apple || align="right" | 12,333.00
|
290
|
-
|-
|
291
|
-
| Bread || Pie || align="right" | 500.00
|
292
|
-
|-
|
293
|
-
| Butter || Ice cream || align="right" | 1.00
|
294
|
-
|}
|
295
|
-
|}
|
296
|
-
|
297
|
-
===Attributes on rows===
|
298
|
-
You can put attributes on individual '''rows''', too.
|
299
|
-
|
300
|
-
{| cellspacing="0" border="1"
|
301
|
-
!style="width:50%"|You type
|
302
|
-
!style="width:50%"|You get
|
303
|
-
|-
|
304
|
-
|
|
305
|
-
<pre>
|
306
|
-
{| border="1"
|
307
|
-
|Orange
|
308
|
-
|Apple
|
309
|
-
|align="right"|12,333.00
|
310
|
-
|-
|
311
|
-
|Bread
|
312
|
-
|Pie
|
313
|
-
|align="right"|500.00
|
314
|
-
|- style="font-style:italic; color:green;"
|
315
|
-
|Butter
|
316
|
-
|Ice cream
|
317
|
-
|align="right"|1.00
|
318
|
-
|}
|
319
|
-
</pre>
|
320
|
-
|
|
321
|
-
{| border="1"
|
322
|
-
|Orange
|
323
|
-
|Apple
|
324
|
-
|align="right"|12,333.00
|
325
|
-
|-
|
326
|
-
|Bread
|
327
|
-
|Pie
|
328
|
-
|align="right"|500.00
|
329
|
-
|- style="font-style:italic; color:green;"
|
330
|
-
|Butter
|
331
|
-
|Ice cream
|
332
|
-
|align="right"|1.00
|
333
|
-
|}
|
334
|
-
|}
|
335
|
-
|
336
|
-
===With HTML attributes and CSS styles===
|
337
|
-
CSS style attributes can be added with or without other HTML attributes.
|
338
|
-
|
339
|
-
{| cellspacing="0" border="1"
|
340
|
-
!style="width:50%"|You type
|
341
|
-
!style="width:50%"|You get
|
342
|
-
|-
|
343
|
-
|
|
344
|
-
<pre style="white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; word-break:break-all;">
|
345
|
-
{| style="color:green; background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
|
346
|
-
|Orange
|
347
|
-
|Apple
|
348
|
-
|-
|
349
|
-
|Bread
|
350
|
-
|Pie
|
351
|
-
|-
|
352
|
-
|Butter
|
353
|
-
|Ice cream
|
354
|
-
|}
|
355
|
-
</pre>
|
356
|
-
|
|
357
|
-
{| style="color:green; background-color:#ffffcc;" cellpadding="20" cellspacing="0" border="1"
|
358
|
-
|Orange
|
359
|
-
|Apple
|
360
|
-
|-
|
361
|
-
|Bread
|
362
|
-
|Pie
|
363
|
-
|-
|
364
|
-
|Butter
|
365
|
-
|Ice cream
|
366
|
-
|}
|
367
|
-
|}
|
368
|
-
|
369
|
-
'''Attributes''' can be added to the caption and headers as follows.
|
370
|
-
|
371
|
-
{| cellspacing="0" border="1"
|
372
|
-
!style="width:50%"|You type
|
373
|
-
!style="width:50%"|You get
|
374
|
-
|-
|
375
|
-
|
|
376
|
-
<pre style="white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; word-break:break-all;">
|
377
|
-
{| border="1" cellpadding="20" cellspacing="0"
|
378
|
-
|+ align="bottom" style="color:#e76700;" |''Food complements''
|
379
|
-
|-
|
380
|
-
|Orange
|
381
|
-
|Apple
|
382
|
-
|-
|
383
|
-
|Bread
|
384
|
-
|Pie
|
385
|
-
|-
|
386
|
-
|Butter
|
387
|
-
|Ice cream
|
388
|
-
|}
|
389
|
-
</pre>
|
390
|
-
|
|
391
|
-
{| border="1" cellpadding="20" cellspacing="0"
|
392
|
-
|+ align="bottom" style="color:#e76700;" |''Food complements''
|
393
|
-
|-
|
394
|
-
|Orange
|
395
|
-
|Apple
|
396
|
-
|-
|
397
|
-
|Bread
|
398
|
-
|Pie
|
399
|
-
|-
|
400
|
-
|Butter
|
401
|
-
|Ice cream
|
402
|
-
|}
|
403
|
-
|}
|
404
|
-
|
405
|
-
==Caveats==
|
406
|
-
===Negative numbers===
|
407
|
-
If you start a cell on a new line with a negative number with a minus sign (or a parameter that evaluates to a negative number), your table can get broken, because the characters <code>|-</code> will be parsed as the wiki markup for table row, not table cell. To avoid this, insert a space before the value (<code>| -6</code>) or use in-line cell markup (<code>|| -6</code>).
|
408
|
-
===CSS vs Attributes===
|
409
|
-
Table borders specified through CSS rather then the border attribute will render incorrectly in a small subset of text browsers.
|
410
|
-
|