แม่แบบ:Incorrect

ไม่ถูกต้อง
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

แม่แบบในชุดนี้ออกแบบมาเพื่อใช้ในตารางเพื่อสร้างเซลล์ข้อมูลที่มีข้อความพร้อมทั้งพื้นหลังเป็นสีที่สื่อความหมายอย่างเหมาะสม มักใช้บ่อยในการจัดทำตารางเปรียบเทียบ

ตัวอย่างเช่น {{yes}} จะสร้างเซลล์ที่ให้สีพื้นหลังสีเขียว ข้อความในเซลล์นั้นจะนำมาจากพารามิเตอร์หลัง เช่น {{yes|Sure}} จะแสดงคำว่า "Sure" แทนที่คำว่า "Yes" แม่แบบส่วนใหญ่จะอนุญาตให้ผู้ใช้แทนที่ข้อความเริ่มต้นด้วยวิธีนี้ บางคนอาจต้องการข้อความที่ปรากฏตามที่แม่แบบได้กำหนดไว้แต่แรก บางคนอาจต้องการแถบแนวตั้งในระหว่าง {{table cell template}} text หรือ {{table cell template}} | text ข้อมูลนี้นั้นทั้งสีและข้อความเริ่มต้นจะอยู่ในตารางด้านล่างดังต่อไปนี้

หากคุณต้องการใช้แอตทริบิวต์อื่น ๆ สำหรับเซลล์ตารางเช่น colspan หรือ rowspan ต้องวางก่อนการเรียกใช้แม่แบบ และต้องไม่มีแถบแนวตั้ง | ขั้นอยู่ระหว่างข้อความนั้น ๆ

ใช่ไม่
ใช่/ไม่ใช่
...!{{Yes}} ||{{No}} ||rowspan=2 {{n/a}}|-|colspan=2 {{Yes-No}}...

แม่แบบ

แก้
แม่แบบเซลล์ตาราง
Class[1]Default syntaxPreview (default)Customized syntaxPreview (customized)
table-rh{{rh}} | Row header[2]Row header{{rh|align=right}} | Row headerRow header
{{rh2}} | Row header[2]Row header{{rh2|align=center}} | Row headerRow header
table-yes{{yes}}ใช่{{yes|customized [[plain text|text]]}}customized text
{{yes C}} ใช่{{yes C|customized [[plain text|text]]}} customized text
{{yes O}} ใช่{{yes O|customized [[plain text|text]]}} customized text
{{yes N}}ใช่{{yes N|customized [[plain text|text]]}}customized text
table-maybe{{maybe}}อาจจะ{{maybe|customized [[plain text|text]]}}customized text
table-no{{no}}ไม่{{no|customized [[plain text|text]]}}customized text
{{no O}} ไม่{{no O|customized [[plain text|text]]}} customized text
{{no X}} ไม่{{no X|customized [[plain text|text]]}} customized text
{{eliminated}}ถูกคัดออก{{eliminated|dropped out}}dropped out
{{active fire|12%}}ใช้งานอยู่ (12%)
{{lost}}แพ้{{lost|missing}}missing
{{safe}}ปลอดภัย{{safe|protected}}protected
{{no Y}}ไม่{{no Y|customized [[plain text|text]]}}customized text
table-active{{active}}Active{{active|live}}live
table-siteactive{{site active}}Active{{site active|up}}up
{{coming soon}}เร็ว ๆ นี้{{coming soon|second half of the year}}second half of the year
table-siteinactive{{site inactive}}Inactive{{site inactive|down}}down
table-success{{success}}สำเร็จ{{success|mission complete}}mission complete
{{operational}}ประมวลผล{{operational|returning data}}returning data
table-failure{{failure}}ล้มเหลว{{failure|wrong orbit}}wrong orbit
{{main mission failure}}ภารกิจหลักล้มเหลว{{main mission failure|
Primary objective failed,
but a secondary objective succeed}}
Primary objective failed, but secondary objective succeed
table-yes2{{yes2}}{{yes2|text}}text
{{good}}ดี{{good|A}}A
{{ya}}Yes{{ya|text=ya}}ya
{{ya|Ya}}Ya{{ya|text}}text
{{yan}}Yes{{yan|text=ya}}ya
{{won}}ชนะ{{won|text=white}}winner
{{won|place=1}}1{{won|place=gold}}gold
{{won|place=2}}2{{won|place=silver}}silver
{{won|place=3}}3{{won|place=bronze}}bronze
{{WinDL}}W{{WinDL|win}}win
{{WinDL|res=D}}D{{WinDL|res=draw}}draw
{{WinDL|res=L}}L{{WinDL|res=loss}}loss
table-no2{{no2}}{{no2|text}}text
{{na}}No{{na|text=na}}na
{{na|Na}}Na{{na|text}}text
{{nan}}No{{nan|text=na}}na
{{nom}}เสนอชื่อเข้าชิง{{nom|5}}5
{{notnom}}ไม่ได้เสนอชื่อเข้าชิง{{notnom}}not selected
{{sho}}รายชื่อตัวเลือก{{sho|proposed}}proposed
{{longlisted}}เสนอตัวเลือก{{longlisted|rejected}}rejected
{{TBA}}รอประกาศ{{TBA|to be announced}}to be announced
table-partial{{partial}}Partial{{partial|almost done}}almost done
{{Regional}}Regional{{Regional|Uyghur}}Uyghur
{{MaybeCheck}}Maybe{{MaybeCheck|text=possibly}}possibly
{{MaybeCheck|possibly}}possibly{{MaybeCheck|text}}text
{{partial success}}สำเร็จบางส่วน{{partial success|
reached orbit and returned pictures}}
reached orbit and returned pictures
{{partial failure}}ล้มเหลวบางส่วน{{partial failure|[[Cubesat]] not deployed}}Cubesat not deployed
{{okay}}Neutral{{okay|C}}C
{{Yes-No}}ใช่/ไม่ใช่{{Yes-No|yes with an if; no with a but}}yes with an if; no with a but
{{some}}Some{{some|many}}many
{{pending}}รอผล{{pending|awaiting}}awaiting
{{sometimes}}บางครั้ง{{sometimes|occasionally}}occasionally
{{rarely}}นาน ๆ ครั้ง{{rarely|seldom}}seldom
{{usually}}เป็นประจำ{{usually|commonly}}commonly
{{unofficial}}ไม่เป็นทางการ{{unofficial|''de facto''}}de facto
{{unofficial2}}ไม่เป็นทางการ{{unofficial2|''de facto''}}de facto
{{nonpartisan}}Nonpartisan{{nonpartisan|impartial}}impartial
table-any{{any}}อะไรก็ได้{{any|anyone}}anyone
table-automatic{{perhaps}}มีส่วน{{perhaps|maybe}}maybe
table-draw{{draw}}{{draw|1:1}}1:1
table-noAttempt{{No attempt}}ไม่มีความพยายาม{{No attempt|No landing attempted}}No landing attempted
table-na{{n/a}}{{n/a|unavailable}}unavailable
{{varies}}แปรผัน{{varies|differs}}differs
{{non-album single}}ซิงเกิลไม่มีอัลบั้ม{{ไม่มีอัลบั้ม|{{{2}}}}}ซิงเกิลไม่มีอัลบั้ม
{{unreleased}}ยังไม่วางจำหน่าย{{unreleased|shelved}}shelved
{{BLACK}}N/A{{BLACK|banned}}banned
{{sdash}}{{sdash|[[File:Dash.svg}}dash
{{vacant}}ว่าง{{vacant|missing}}missing
table-unknown{{unknown}}ไม่ทราบ{{unknown|?}}?
{{dunno}}?{{dunno|not sure}}not sure
table-included{{included}}รวม{{included|incorporated}}incorporated
noresult{{no result}}ไม่พบผลลัพธ์{{no result|NR}}NR
table-planned{{planned}}วางแผนไว้{{planned|July 2028}}July 2028
table-scheduled{{scheduled}}ตามกำหนดการ{{scheduled|3 March 2027}}3 March 2027
table-software{{beta}}ขั้นทดลอง{{beta|preview}}preview
{{table-experimental}}Experimental{{table-experimental|lab}}lab
{{nightly}}Nightly build{{nightly|dev}}dev
{{release-candidate}}Release candidate{{release-candidate|RC}}RC
{{open source}}โอเพนซอร์ซ{{open source|software libre}}software libre
{{free}}ฟรี{{free|empty}}empty
{{proprietary}}ติดลิขสิทธิ์{{proprietary|custom extension}}custom extension
{{nonfree}}ต้องเสียเงิน{{nonfree|paid}}paid
{{needs}}Needs{{needs|req.}}req.
table-depends{{depends}}ขึ้นอยู่กับ{{depends|vendor-defined}}vendor-defined
table-dropped{{dropped}}ถูกนำออก{{dropped|discontinued}}discontinued
{{terminated}}ยกเลิกแล้ว{{terminated|fired}}fired
incorrect{{incorrect}}ไม่ถูกต้อง{{incorrect|wrong}}wrong
table-debate{{D-P}}P{{D-P|present}}present
{{D-A}}A{{D-A|absent}}absent
{{D-I}}I{{D-I|invited}}invited
{{D-O}}O{{D-O|invited to other debate}}invited to other debate
{{D-N}}N{{D-N|not invited}}not invited
{{D-Nv}}NV{{D-Nv|not voting}}not voting
{{D-W}}W{{D-W|withdrawn}}withdrawn
{{D-Out}}Out{{D-Out|out of race}}out of race
table-cast{{CMain}}บทนำ{{CMain|text}}text
{{CAlso starring}}นักแสดงรอง{{CAlso starring|costar}}costar
{{CRecurring}}ตัวประกอบ{{CRecurring|regular guest}}regular guest
{{CGuest}}นักแสดงรับเชิญ{{CGuest|victim}}victim
{{COther}}Does not appear{{COther|ensemble}}ensemble
{{CNone}}Does not appear{{CNone|cast}}cast
{{CEmpty}}
{{CRemoved}}removed{{CRemoved|edited}}edited
{{CFinalist}}Finalist{{CFinalist|contender}}contender
{{CFinalist|place=3rd Place}}3rd Place{{CFinalist|place=third place}}third place
{{exempt}}ยกเว้น{{Black Exempt|{{{2}}}}}B.Exempt
{{nocontest}}{{nocontest|rescheduled}}
{{Runner-up}}รองชนะเลิศ{{Runner-up|2nd Place}}2nd Place
{{Quit}}Quit{{Quit|left}}left
no class{{not yet}}Not yet{{not yet|NY}}NY
{{optional}}Optional{{optional|non-mandatory}}non-mandatory
{{shade|100}}%100%{{shade|color=blue}}%100%
{{shade|75}}%75%{{shade|color=blue}}%75%
{{shade|25}}%25%{{shade|color=blue}}25
{{shade|0}}%0%{{shade|color=blue}}%0%
{{ColorCell|{{{2}}}}}{{ColorCell|Blank}}Blank
{{ColorCell|type=lred}}{{ColorCell|type=lred}}Red
{{ColorCell|type=lgreen}}{{ColorCell|type=lgreen}}Green

โค้ด

แก้

Common code to most if not all the templates in this series:

style="background: #abcdef; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="automatic table-automatic"| {{{1|text}}}

Code specific to this template:

style="background: #F90; color: black; vertical-align: middle; text-align: center; " class="incorrect"|ไม่ถูกต้อง

To make a new table cell template you can use:

{{subst:Table cell templates|text= default text |bg= background color |class= a class name without prefix |align= standard horizontal alignment}}

You should leave out the align parameter and often the class parameter is unnecessary, too.

Add the new template to the table in the common documentation afterwards. Please consider reusing one of the other templates and please choose the color sensibly.

If you find a table cell template that does not take a parameter and you want to be able to change the text in the cell, do not duplicate the template! Instead, edit the template and change the text to a default parameter substitution. For example, if a template's text is Dropped, change that to {{{1|Dropped}}}.

style="background: #abcdef; color: black; vertical-align: middle; text-align: center; " class="automatic table-automatic"| text

ข้อมูลแม่แบบ

แก้
ด้านล่างนี้คือข้อมูลแม่แบบ เอกสารกำกับสำหรับแม่แบบนี้ซึ่งถูกใช้งานโดยเครื่องมือแก้ไขแบบเห็นภาพและเครื่องมืออื่น ๆ

ข้อมูลแม่แบบสำหรับ Incorrect(อาจล้าสมัย)

One of several templates for styling individual table cells with standard contents and colors.

พารามิเตอร์แม่แบบ[แก้ไขข้อมูลแม่แบบ]

พารามิเตอร์คำอธิบายชนิดสถานะ
text1

text to be displayed instead of the default, if this doesn't work put the text after the template, possibly with a vertical bar | in between

ค่าปริยาย
(template dependent)
เนื้อหาแนะนำ
horizontal alignalign

text alignment inside the cell, either 'left', 'right', 'center' or 'justified'

ค่าปริยาย
center
สตริงแนะนำ
stylestyle

a semicolon separated list of additional CSS rules to be applied to the table cell

ค่าปริยาย
(template dependent)
สตริงแนะนำ
background colorcolor

a valid CSS color value or name to override the standard the cell background, only available with some templates

ค่าปริยาย
(template dependent)
บรรทัดแนะนำ
No. placeplace

Order of various prizes

ไม่ทราบชนิดเลือกได้


  1. The HTML class of table cell templates may be referenced in a user stylesheet to change appearance.
  2. 2.0 2.1 Does not take a parameter; the content should be placed after the template call, separated by a pipe (|) character.
🔥 Top keywords: หน้าหลักองค์การกระจายเสียงและแพร่ภาพสาธารณะแห่งประเทศไทยลิซ่า (แร็ปเปอร์)พิเศษ:ค้นหาดวงใจเทวพรหม (ละครโทรทัศน์)อสมทพระบาทสมเด็จพระวชิรเกล้าเจ้าอยู่หัวปาณรวัฐ กิตติกรเจริญวอลเลย์บอลชายเนชันส์ลีก 2024ฟุตบอลชิงแชมป์แห่งชาติยุโรปพระสุนทรโวหาร (ภู่)ฟุตบอลชิงแชมป์แห่งชาติยุโรป 2024กองทัพ พีคการเลือกตั้งนายกองค์การบริหารส่วนจังหวัดปทุมธานี พ.ศ. 2567ชาร์เลท วาศิตา แฮเมเนาลานีญาศิริลักษณ์ คองรัญชน์รวี เอื้อกูลวราวัตรณฐพร เตมีรักษ์พระบาทสมเด็จพระมหาภูมิพลอดุลยเดชมหาราช บรมนาถบพิตรสมเด็จเจ้าฟ้าฯ กรมพระศรีสวางควัฒน วรขัตติยราชนารีโฉมฉาย ฉัตรวิไลแบล็กพิงก์ประเทศไทยรายชื่อวิดีโอออนไลน์ที่มียอดผู้ชมมากที่สุดใน 24 ชั่วโมงแรกพระราชวัชรธรรมโสภณ (ศิลา สิริจนฺโท)พระบาทสมเด็จพระจุลจอมเกล้าเจ้าอยู่หัวพงษ์สิทธิ์ คำภีร์อาณาจักรอยุธยาฟุตบอลอาเซียนชิงแชมป์เยาวชนอายุไม่เกิน 16 ปีวอลเลย์บอลกรณ์นภัส เศรษฐรัตนพงศ์พระบาทสมเด็จพระพุทธยอดฟ้าจุฬาโลกมหาราชภาวะโลกร้อนรายชื่อจังหวัดของประเทศไทยเรียงตามพื้นที่ฟุตบอลชิงแชมป์แห่งชาติยุโรป 2020ดอกเตอร์ไคลแมกซ์ ปุจฉาพาเสียวพระบาทสมเด็จพระจอมเกล้าเจ้าอยู่หัวพระจันทร์ฉาย พี.เค.แสนชัยมวยไทยยิม