Template:Table tools/doc: Difference between revisions
Jump to navigation
Jump to search
Bug:All buttons on the table tools template will stops working correctly if there's space on the template name. Please use "_" (underscore) instead. [todo tested in ?]
No edit summary |
(New examples, and also added parameter section and table itself.) |
||
Line 2: | Line 2: | ||
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. | 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. | ||
{{Bug|All buttons on the table tools template will stops working correctly if there's space on the template name. Please use "_" (underscore) instead.}} | {{Bug|All buttons on the table tools template will stops working correctly if there's space on the template name. Please use "_" (underscore) instead.}} | ||
== Parameters and Examples == | |||
== | {| width="100%" class="unsortable" style="overflow: hidden; border-radius:.4em; border:2px solid #525252" | ||
{{Code|<nowiki>{{Table tools|Sdktools}}</nowiki>}} | |- bgcolor="#3A3A3A" style="white-space:nowrap" | ||
{{Doc/PreviewBlock|{{Table tools|Sdktools}}}} | ! 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.<br>{{Important|Template with spacing between text must have "_" (underscore),<br>otherwise the button will stops working and rendering correctly.}} | |||
| bgcolor="#3A3A3A" | {{CodeBlock|margin=5px|<nowiki>{{Table tools|Sdktools}}</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}}}} | |||
|} |
Revision as of 01:43, 21 March 2024

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.
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.
