Template:Table/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:


== Example ==
== Example ==
<center>
{{CodeBlock|<nowiki><center>
{{Table
{{Table
| caption = [[File:ValveEmployee.png]]<br><br>
| caption = [[File:ValveEmployee.png]]<br><br>
Line 20: Line 20:
}}
}}
}}
}}
</center>
</center></nowiki>}}
 


{{CodeBlock|<nowiki><center>
<center>
{{Table
{{Table
| caption = [[File:ValveEmployee.png]]<br><br>
| caption = [[File:ValveEmployee.png]]<br><br>
Line 39: Line 40:
}}
}}
}}
}}
</center></nowiki>}}
</center>


<includeonly>[[Category:Templates]][[Category:Formatting templates]]</includeonly>
<includeonly>[[Category:Templates]][[Category:Formatting templates]]</includeonly>

Revision as of 04:41, 20 February 2023

Edit-copy.png
This is a documentation subpage for Template:Table.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Adds a table, but actually adds a table.

Example

<center> {{Table | caption = [[File:ValveEmployee.png]]<br><br> | {{Table|tr | header = 1 | {{Table|th|radius=8px 0 0 0| Header 1 }} {{Table|th| Header 2 }} {{Table|th|radius=0 8px 0 0| Header 3 }} }} {{Table|tr | {{Table|td| Cell 1 }} {{Table|td| Cell 2 }} {{Table|td| Cell 3 }} }} {{Table|tr | {{Table|td|colspan=2|bg=#303030| Cell 4 }} {{Table|td| Cell 5 }} }} {{Table|tr | {{Table|td|radius=0 0 0 8px| Cell 6 }} {{Table|td|colspan=2|bg=#303030|radius=0 0 8px 0| Cell 7 }} }} }} </center>


tr tr tr tr