Template:Table tools/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Adding example)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{documentation subapge}}
{{Doc/subpage}}
Used in template tables.
This template is intended to be used in template tables, it adds a button which leads to the template page (including talk page) itself, or allows you to edit the template directly. The purge button will clear the cache of the page that you are currently on, to reload the recently edited template.


==Examples==
== Parameters and Examples ==
{{Code|<nowiki>{{Table tools|Sdktools}}</nowiki>}}
{| width="100%" class="unsortable" style="overflow: hidden; border-radius:.4em; border:2px solid #525252"
{{Doc/PreviewBlock|{{Table tools|Sdktools}}}}
|- bgcolor="#3A3A3A" style="white-space:nowrap"
! style="width:15%" style="background-color:#4f5559; color:#FFF" | {{Dictionary/common|Param}}
! style="width:5%" text-align:center" style="background-color:#4f5559; color:#FFF" | {{Dictionary/common|Desc}}
! style="text-align:center" style="background-color:#4f5559; color:#FFF" | Value
! style="background-color:#4f5559; color:#FFF" | {{Dictionary/common|Previews}}
|-
| bgcolor="#3A3A3A" align="center" | {{Code|style=2|{{Param|1}}}}
| bgcolor="#3A3A3A" align="center" | Template name.
| bgcolor="#3A3A3A" | {{CodeBlock|margin=5px|<nowiki>{{Table tools|Sdktools}}</nowiki>}}<br>{{CodeBlock|margin=5px|<nowiki>{{Table tools|Source_games}}</nowiki>}}<br>{{CodeBlock|margin=5px|<nowiki>{{Table tools|Source games}}</nowiki>}}
| bgcolor="#3A3A3A" | {{Doc/PreviewBlock|{{Table tools|Sdktools}}}}<br>{{Doc/PreviewBlock|{{Table tools|Source_games}}}}<br>{{Doc/PreviewBlock|{{Table tools|Source games}}}}
|}

Latest revision as of 05:03, 14 August 2025

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

This template is intended to be used in template tables, it adds a button which leads to the template page (including talk page) itself, or allows you to edit the template directly. The purge button will clear the cache of the page that you are currently on, to reload the recently edited template.

Parameters and Examples

Parameter Description Value Previews
{{{1}}} Template name.
{{Table tools|Sdktools}}

{{Table tools|Source_games}}

{{Table tools|Source games}}
ViewDiscussEdit templatePurge

ViewDiscussEdit templatePurge

ViewDiscussEdit templatePurge