แม่แบบ:Ya
แม่แบบในชุดนี้ออกแบบมาเพื่อใช้ในตารางเพื่อสร้างเซลล์ข้อมูลที่มีข้อความพร้อมทั้งพื้นหลังเป็นสีที่สื่อความหมายอย่างเหมาะสม มักใช้บ่อยในการจัดทำตารางเปรียบเทียบ ตัวอย่างเช่น หากคุณต้องการใช้แอตทริบิวต์อื่น ๆ สำหรับเซลล์ตารางเช่น
... !{{Yes}} ||{{No}} ||rowspan=2 {{n/a}} |- |colspan=2 {{Yes-No}} ... แม่แบบ
โค้ดCommon code to most if not all the templates in this series:
Code specific to this template:
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 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 style="background: #abcdef; color: black; vertical-align: middle; text-align: center; " class="automatic table-automatic"| text ข้อมูลแม่แบบด้านล่างนี้คือข้อมูลแม่แบบ เอกสารกำกับสำหรับแม่แบบนี้ซึ่งถูกใช้งานโดย ตัวช่วยสร้างแม่แบบ, เครื่องมือแก้ไขแบบเห็นภาพ และเครื่องมืออื่น ๆ ดูรายงานการใช้พารามิเตอร์ประจำเดือนสำหรับแม่แบบ:Ya
ข้อมูลแม่แบบสำหรับ Ya One of several templates for styling individual table cells with standard contents and colors.
|
Portal di Ensiklopedia Dunia