Jump to content

ແມ່ແບບ:ຕາຕະລາງຕອນ

ຈາກ ວິກິພີເດຍ
Documentation icon ຄູ່ມືການໃຊ້ງານແມ່ແບບ[ເບິ່ງ] [ແກ້] [ປະຫວັດ] [ລ້າງແຄຊ]


ຈຸດປະສົງຂອງແມ່ແບບ{{ຕາຕະລາງຕອນ}}ແມ່ນເພື່ອໃຫ້ການເຮັດຕາຕະລາງຂອງຕອນພາຍໃນຊຸດລະຄອນ/ລາຍການໂທລະທັດງ່າຍຂຶ້ນ, ໂດຍຕາຕະລາງຕ່າງໆ13ແບບ ແລະ ສາມາດເລືອກຕັ້ງຄ່າຄວາມກວ້າງຂອງຕາຕະລາງໄດ້ ແລະ ລວມເຖິງ{{ລາຍຊື່ຕອນ}}ໃນພາຣາມິດເຕີ"ຕອນ". ຕາຕະລາງຫ້ອງໜຶ່ງຈະໃຊ້ໄດ້ດ້ວຍຕົວແປສະເພາະໃດໜຶ່ງຈາກສອງວິທີ: ຊື່= ຈະເອີ້ນໃຊ້ຫ້ອງ"ຊື່"ໂດຍບໍ່ມີການກຳນົດຂະໜາດ, ແລະ ຊື່=30 ຈະເອີ້ນໃຊ້ຫ້ອງ"ຊື່"ທີ່ມີຄວາມກວ້າງ30%.

ເອີ້ນໃຊ້

[ດັດແກ້]
ພາຣາມິດເຕີ
{{ຕາຕະລາງຕອນ
|ຄຳອະທິບາຍ      = ຂໍ້ຄວາມ
|ພື້ນຫຼັງ         = ສີ

|ຄວາມກວ້າງລວມ  = ຄວາມກວ້າງ
|ໂດຍລວມ       = ຄວາມກວ້າງ
|ຊຸດ           = ຄວາມກວ້າງ
|ຊີຊັນ          = ຄວາມກວ້າງ
|ຊື່            = ຄວາມກວ້າງ
|aux1         = ຄວາມກວ້າງ
|ຜູ້ກຳກັບ       = ຄວາມກວ້າງ
|ຜູ້ຂຽນບົດ      = ຄວາມກວ້າງ
|aux2         = ຄວາມກວ້າງ
|aux3         = ຄວາມກວ້າງ
|ມື້ອອກອາກາດ   = ຄວາມກວ້າງ
|ມື້ຢຸດຕິອອກອາກາດ = ຄວາມກວ້າງ
|ລະຫັດຜະລິດ    = ຄວາມກວ້າງ
|ຈຳນວນຜູ້ເບິ່ງ   = ຄວາມກວ້າງ
|aux4         = ຄວາມກວ້າງ
|ປະເທດ        = ປະເທດ
|ເປີດຕົວ       = ມື້
|ປະເພດຜູ້ເບິ່ງ   = ຂໍ້ຄວາມ

|ໂດຍລວມຂຄ      = ຂໍ້ຄວາມ
|ຊຸດຂຄ          = ຂໍ້ຄວາມ
|ຊີຊັນຂຄ         = ຂໍ້ຄວາມ
|ຊື່ຂຄ           = ຂໍ້ຄວາມ
|aux1ຂຄ        = ຂໍ້ຄວາມ
|ຜູ້ກຳກັບຂຄ      = ຂໍ້ຄວາມ
|ຜູ້ຂຽນບົດຂຄ     = ຂໍ້ຄວາມ
|aux2ຂຄ        = ຂໍ້ຄວາມ
|aux3ຂຄ        = ຂໍ້ຄວາມ
|ມື້ອອກອາກາດຂຄ  = ຂໍ້ຄວາມ
|ມື້ຢຸດຕິອອກອາກາດຂຄ = ຂໍ້ຄວາມ
|ລະຫັດຜະລິດຂຄ   = ຂໍ້ຄວາມ
|ຈຳນວນຜູ້ເບິ່ງຂຄ    = ຂໍ້ຄວາມ
|aux4ຂຄ       = ຂໍ້ຄວາມ

|ໂດຍລວມອອ      = ອ້າງອີງ
|ຊຸດອອ          = ອ້າງອີງ
|ຊີຊັນອອ         = ອ້າງອີງ
|ຊື່ອອ           = ອ້າງອີງ
|aux1ອອ        = ອ້າງອີງ
|ຜູ້ກຳກັບອອ      = ອ້າງອີງ
|ຜູ້ຂຽນບົດອອ     = ອ້າງອີງ
|aux2ອອ        = ອ້າງອີງ
|aux3ອອ        = ອ້າງອີງ
|ມື້ອອກອາກາດອອ  = ອ້າງອີງ
|ມື້ຢຸດຕິອອກອາກາດອອ = ອ້າງອີງ
|ລະຫັດຜະລິດອອ   = ອ້າງອີງ
|ຈຳນວນຜູ້ເບິ່ງອອ    = ອ້າງອີງ
|aux4ອອ       = ອ້າງອີງ

|ຕອນ     = ລາຍຊື່ຕອນ/ສ່ວນແຖວ
|ບໍ່ປິດ    = BOOLEAN
}}

ຕົວຢ່າງ

[ດັດແກ້]
ຕາຕະລາງມາດຕະຖານ:
{{ຕາຕະລາງຕອນ|caption=This is a caption|background=#B40000 |overall=5 |season=5 |title=17 |director=11 |writer=37 |airdate=10 |prodcode=6 |viewers=9 |country=U.S.}}

ຂໍ້ຜິດພາດ Lua: expandTemplate: template "Screen reader-only" does not exist.

ຕາຕະລາງທັງໝົດ:
{{ຕາຕະລາງຕອນ |overall= |season= |title= |aux1= |director= |writer= |aux2= |aux3= |airdate= |altdate= |prodcode= |viewers= |aux4= |country= |aux1T=Aux1 |aux2T=Aux2 |aux3T=Aux3 |aux4T=Aux4 |altdateT=AltDate}}
ຕອນ
ທັງໝົດ
ຕອນຊີຊັນຊື່Aux1ກຳກັບໂດຍຂຽນບົດໂດຍAux2Aux3ມື້ອອກອາກາດເດີມAltDateລະຫັດ
ຜະລິດ
ຜູ້ເບິ່ງຈາກປະເທດ
(ລ້ານ)
Aux4
ໃຊ້ດ້ວຍ{{ລາຍຊື່ຕອນ}}:
Code
{{ຕາຕະລາງຕອນ |background = #005F6C |overall = 6 |series = 6 |title = 20 |director = 14 |writer = 15 |airdate = 16 |prodcode = 8 |viewers = 9 |aux4 = 6 |country = UK |overallT = Story |seriesT = Episode |aux4T = AI |aux4R = {{Dummy reference}} |dontclose = y}}
{{Episode list
 |EpisodeNumber = 203
 |EpisodeNumber2 = 1
 |Title = [[The Eleventh Hour (Doctor Who)|The Eleventh Hour]]
 |DirectedBy = Adam Smith
 |WrittenBy = [[Steven Moffat]]
 |OriginalAirDate = {{Start date|2010|4|3|df=y}}
 |ProdCode = 1.1
 |Viewers = 10.09
 |Aux4 = 86
 |LineColor = 005F6C
}}
{{Episode list
 |EpisodeNumber = 204
 |EpisodeNumber2 = 2
 |Title = [[The Beast Below]]
 |DirectedBy = [[Andrew Gunn (director)|Andrew Gunn]]
 |WrittenBy = Steven Moffat
 |OriginalAirDate = {{Start date|2010|4|10|df=y}}
 |ProdCode = 1.2
 |Viewers = 8.42
 |Aux4 = 86
 |LineColor = 005F6C
}}
{{End|html=y|Episode table}}

ແມ່ແບບ:ລາຍຊື່ຕອນ ແມ່ແບບ:ລາຍຊື່ຕອນ ແມ່ແບບ:ຈົບ

ຊີຊັນທີ່ແຍກກັນ

[ດັດແກ້]

For seasons which have been split into parts, use {{Episode table/part}}, as per the examples below. The part row has a HTML ID attribute applied to it, equal to the text displayed; i.e. the ID attributes of the following examples will be "Part 1" and "Athelstan's Journal".

There are multiple available parameters for the parted template:

  • |act=1 gives Act 1
  • |chapter=1 gives Chapter 1
  • |part=1 gives Part 1
  • |volume=1 gives Volume 1
  • |week=1 gives Week 1

The use of a subtitle is used through |subtitle=Subtitle Name, and can be used by itself or combined with any of the previous parameters. (Italics in the subtitle are to be inserted manually.) For example:

  • |chapter=1|subtitle=Crossover gives Chapter 1: Crossover
  • |subtitle=''Crossover'' gives Crossover

(ແມ່ແບບ:Itcol |p= and |nopart= have been deprecated; use |part= and |subtitle= instead.)

ຕົວຢ່າງ

[ດັດແກ້]
{{Episode table/part|c=#183E54|part=1}}

ແມ່ແບບ:Episode table

{{Episode table/part|c=#061453|subtitle=''Athelstan's Journal''}}

ແມ່ແບບ:Episode table

ພາຣາມິດເຕີ

[ດັດແກ້]

Each cell parameter has an alias to match the parameters used in {{Episode list}}. In the Cell Inclusion & Widths rows, the original parameter is listed, followed by its episode-list alias. This means that this:

{{Episode table |background=#B40000 |overall=5 |season=5 |title=17 |director=11 |writer=37 |airdate=10 |prodcode=6 |viewers=9 |country=U.S.}}

will produce exactly the same as this:

{{Episode table |background=#B40000 |EpisodeNumber=5 |EpisodeNumber2=5 |Title=17 |DirectedBy=11 |WrittenBy=37 |OriginalAirDate=10 |ProdCode=6 |Viewers=9 |country=U.S.}}
StoryEpisodeຊື່ກຳກັບໂດຍຂຽນບົດໂດຍມື້ອອກອາກາດເດີມລະຫັດ
ຜະລິດ
ຜູ້ເບິ່ງຈາກປະເທດUK
(ລ້ານ)
AI ແມ່ແບບ:Dummy reference
ພາຣາມິດເຕີແມ່ແບບ
Parameter Description Type Status
Table caption caption A caption should be provided that describes in general the content of the table. By default, the caption uses {{Screen reader-only}} to not be visually displayed in a browser, but still be present and voiced by a screen reader for accessibility. To make the caption visible, use |show_caption=y. e.g. NCIS season 11 episodes Wikitext Required for accessibility
Background color background The background color of the header row. If no color is specified, the background defaults to #CCCCFF.
Format: #595959
String Optional
Total width total_width Table width defaults to 100%. For tables that are less than 100%, set this field as necessary, with or without a percentage sign. Set to "auto" or blank to remove the set width and allow the table to display naturally.
Format: 75
Number Optional
Anchor anchor In {{Episode list}}, |EpisodeNumber= is a number representing the episode's order in the series. For example, the first episode would be 1. When defined, the specified number also generates a link anchor, prefixed by ep; for example,
[[List of episodes#ep1]]
; see more at ແມ່ແບບ:Slink. In the case of multiple tables with the same anchored episode number, the anchor can be made unique with the |anchor= parameter in the call of {{Episode table}}. For example, if |anchor= in this template is set to |anchor=Minisodes, then the anchor will be
[[List of episodes#Minisodesep1]]
. Note that the |anchor= parameter has no effect if the |episodes= parameter is absent.
Wikitext Optional
Cell Inclusion & Widths* Overall Number overall
EpisodeNumber
The inclusion (and optionally the width) of the "No." / "No. overall" cell.
Use |forceoverall=y to force this column to display "No. overall" when season/series is not set. Change the "overall" term by using |overall_type=)
Format: 10 / <blank>
Number Optional
Season season
EpisodeNumber2
The inclusion (and optionally the width) of the "No. in season" cell.
(Inclusion will set "No." cell to "No. overall" if overallT is unset. Change the "season" term by using |season_type=)
Format: 10 / <blank>
Note: "series" and "season" cannot be included in the same table.
Number Optional
Series series
EpisodeNumber2Series
The inclusion (and optionally the width) of the "No. in series" cell.
(Inclusion will set "No." cell to "No. overall" if overallT is unset. Change the "series" term by using |series_type=)
Format: 10 / <blank>
Note: "series" and "season" cannot be included in the same table.
Number Optional
Title title
Title
The inclusion (and optionally the width) of the "Title" cell.
Format: 10 / <blank>
Number Optional
Aux1 aux1
Aux1
The inclusion (and optionally the width) of the "Aux1" cell.
Format: 10 / <blank>
Number Optional
Director director
DirectedBy
The inclusion (and optionally the width) of the "Directed by" cell.
Format: 10 / <blank>
Number Optional
Writer writer
WrittenBy
The inclusion (and optionally the width) of the "Written by" cell.
Format: 10 / <blank>
Number Optional
Aux2 aux2
Aux2
The inclusion (and optionally the width) of the "Aux2" cell.
Format: 10 / <blank>
Number Optional
Aux3 aux3
Aux3
The inclusion (and optionally the width) of the "Aux3" cell.
Format: 10 / <blank>
Number Optional
Air Date airdate
OriginalAirDate
The inclusion (and optionally the width) of the "Original air date" cell.
Format: 10 / <blank>
Number Optional
Alternative Air Date altdate
AltDate
The inclusion (and optionally the width) of the "Alternative Air Date" cell.
Format: 10 / <blank>
Number Optional
Production Code prodcode
ProdCode
The inclusion (and optionally the width) of the "Production code" cell.
Format: 10 / <blank>
Number Optional
Viewers viewers
Viewers
The inclusion (and optionally the width) of the "Viewers" cell.
Format: 10 / <blank>
Number Optional
Aux4 aux4
Aux4
The inclusion (and optionally the width) of the "Aux4" cell.
Format: 10 / <blank>
Number Optional
Content Country country The series' originating country; displayed before "viewers".
(Exclusion capitalized "Viewers"; inclusion un-capitalizes "viewers".)
Format: U.S.
String Optional / Unrequired when viewers is not set
Released/Aired released Determines whether the episodes were released online or aired. Changes the "Original air date" cell to "Original release date".
Format: y
String Optional
Viewers type viewers_type The numeric format that viewers are grouped within the episode table. Set to "millions" by default. Including the parameter but leaving it blank will disclude the bracketed format.
Format: thousands
String Optional
Variable Content {variable}T Custom content of any cell (e.g. overallT, titleT).
Format: Any string
String Optional / Required when aux{1-4} and altdate set
Reference {variable}R Reference for any cell (e.g. overallR, titleR). If Wikipedia's link colours are not WCAG 2 AAA Compliant with the background colour, {{Episode table/ref}} is used to provide the reference with a compliant background colour.
Format: Reference
Reference Optional
Episodes episodes An infinite number of consecutive episode rows.
Format: {{Episode list}} or {{Episode table/part}}
Template Required when using {{Episode list}}
Don't Close dontclose Set this parameter to "y" to be able to close the initial wikicode declaration of the episode table, but to be able to continue displaying the separate episode rows after the header but outside of the initial declaration. Particularly useful for when the individual rows have to be transcluded outside of the article and thus must be outside of a template, or in articles with lots of templates that would otherwise exceed the post-expand include size limit. To close the initial declaration, {{End|html=y|Episode table}} must be used. Text Optional

*: These variables can be included but not set to a value, e.g. |title=, which will include the cell but not set a width to it.


TemplateData

[ດັດແກ້]
TemplateData documentation used by VisualEditor and other tools

ແມ່ແບບ:TemplateData header

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Backgroundbackground

no description

Lineoptional
Total widthtotal_width

no description

Numberoptional
Show captionshow_caption

no description

Auto value
y
Booleanoptional
Captioncaption

no description

Stringoptional
overalloverall EpisodeNumber

Displaying and width of "No. overall".

Numberoptional
(Force overall)forceoverall

Replaces "No." with "No. overall" when "series" or "season" is not set, also activates "overall_type" in such cases.

Auto value
1
Booleanoptional
(Overall type)overall_type

Replaces "overall" in "No. overall". Use "overallT" to replace header completely.

Lineoptional
overall2overall2 *

Displaying and width of additional 2nd column for overall numbers, without headline by default.

Numberoptional
seasonseason EpisodeNumber2

Displaying and width of "No. in season".

Numberoptional
(Season type)season_type

Replaces "season" in "No. in season". Use "seasonT" to replace header completely.

Lineoptional
seriesseries EpisodeNumber2Series

Displaying and width of "No. in series".

Numberoptional
(Series type)series_type

Replaces "series" in "No. in series". Use "seriesT" to replace header completely.

Lineoptional
titletitle Title

Displaying and width of "Title".

Numberoptional
aux1aux1 Aux1

Displaying and width of the 1st additional column.

Numberoptional
directordirector DirectedBy

Displaying and width of "Directed by".

Numberoptional
writerwriter WrittenBy

Displaying and width of "Written by".

Numberoptional
aux2aux2 Aux2

Displaying and width of the 2nd additional column.

Numberoptional
aux3aux3 Aux3

Displaying and width of the 3rd additional column.

Numberoptional
airdateairdate OriginalAirDate

Displaying and width of "Original air date".

Numberoptional
(Release date)released

Replaces "Original air date" with "Original release date". Must be used with "airdate".

Auto value
y
Booleanoptional
altdatealtdate AltDate

Displaying and width of AltDate.

Numberoptional
guestsguests Guests

Guest(s)

Example
Displaying and width of "Guest(s)".
Numberoptional
musicalguestsmusicalguests MusicalGuests

Musical/entertainment guest(s)

Example
Displaying and width of "Musical/entertainment guest(s)".
Numberoptional
prodcodeprodcode ProdCode

Displaying and width of "Prod. code".

Numberoptional
viewersviewers Viewers

Displaying and width of "Viewers".

Numberoptional
(Country)country

Specifying the country for viewers

Stringoptional
(Viewers type)viewers_type

Replaces "millions"

Lineoptional
aux4aux4 Aux4

Displaying and width of the 4th additional column.

Numberoptional
[text] overalloverallT EpisodeNumberT

no description

Stringoptional
[text] overall2overall2T *T

no description

Stringoptional
[text] seasonseasonT EpisodeNumber2T

no description

Stringoptional
[text] seriesseriesT EpisodeNumber2SeriesT

no description

Stringoptional
[text] titletitleT TitleT

no description

Stringoptional
[text] aux1aux1T Aux1T

no description

Stringoptional
[text] directordirectorT DirectedByT

no description

Stringoptional
[text] writerwriterT WrittenByT

no description

Stringoptional
[text] aux2aux2T Aux2T

no description

Stringoptional
[text] aux3aux3T Aux3T

no description

Stringoptional
[text] airdateairdateT OriginalAirDateT

no description

Stringoptional
[text] altdatealtdateT AltDateT

no description

Stringoptional
[text] guestsguestsT GuestsT

no description

Stringoptional
[text] musicalguestsmusicalguestsT MusicalGuestsT

no description

Stringoptional
[text] prodcodeprodcodeT ProdCodeT

no description

Stringoptional
[text] viewersviewersT ViewersT

no description

Stringoptional
[text] aux4aux4T Aux4T

no description

Stringoptional
[ref] overalloverallR EpisodeNumberR

no description

Stringoptional
[ref] overall2overall2R *R

no description

Stringoptional
[ref] seasonseasonR EpisodeNumber2R

no description

Stringoptional
[ref] seriesseriesR EpisodeNumber2SeriesR

no description

Stringoptional
[ref] titletitleR TitleR

no description

Stringoptional
[ref] aux1aux1R Aux1R

no description

Stringoptional
[ref] directordirectorR DirectedByR

no description

Stringoptional
[ref] writerwriterR WrittenByR

no description

Stringoptional
[ref] aux2aux2R Aux2R

no description

Stringoptional
[ref] aux3aux3R Aux3R

no description

Stringoptional
[ref] airdateairdateR OriginalAirDateR

no description

Stringoptional
[ref] altdatealtdateR AltDateR

no description

Stringoptional
[ref] guestsguestsR GuestsR

no description

Stringoptional
[ref] musicalguestsmusicalguestsR MusicalGuestsR

no description

Stringoptional
[ref] prodcodeprodcodeR ProdCodeR

no description

Stringoptional
[ref] viewersviewersR ViewersR

no description

Stringoptional
[ref] aux4aux4R Aux4R

no description

Stringoptional
Anchoranchor

no description

Lineoptional
Don't closedontclose

no description

Auto value
y
Booleanoptional
Episodesepisodes

Listing of {{Episode list}}

Contentoptional

ເບິ່ງເພີ່ມເຕີມ

[ດັດແກ້]

ແມ່ແບບ:ແມ່ແບບກ່ອງຂໍ້ມູນທີ່ກ່ຽວຂ້ອງກັບໜັງ ແລະ ລາຍການ/ລະຄອນໂທລະທັດ