User:THE OWL/Sandbox/Templates/Documentation/Sample text: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:


== Parameters and Examples ==
== Parameters and Examples ==
{| class="standard-table" style="width:100%"
{| cellpadding="6" rules="all" style="width:100%; border:2px solid #444; background:#222"
! style="width:10%" | Parameter
|- style="background:#1C1C1C; color:#DDD"
! Description
! Parameters
! style="width:15%" | Code example
! {{int:Listfiles description}}
! style="width:15%" | Result
! {{int:Preview}}
|-
|-
| style="text-align:center" | No Parameters
| style="font-family:monospace" | {{P| <Text>}} <br> {{P| 1 | <Text>}}
| Creates a detonator.
| style="background:#2A2A2A" | The text that will be displayed.
| style="background-color:#1F1F1F | <pre style="margin:0">{{Template:Detonator}}</pre>
| [[File:Icon-gnome-terminal.png|24px|link=]] Bomb it!
| style="background-color:#262626" | [[File:Icon-gnome-terminal.png|32px|link=]]
|}
|}


== See Also ==
== See Also ==
* [[User:THE OWL/Sandbox/Templates/Documentation/Sample text|Template:Bomb]], a template that marks something as a candidate for deletion.
* [[User:THE OWL/Sandbox/Templates/Documentation/Sample text|Template:Bomb]], a template that marks something as a candidate for deletion.

Revision as of 08:31, 17 October 2025

This template can break pages.

Usage

This template is usually written in a single line. To use it, insert {{THE OWL}} into the desired page and specify the parameters to the right of the template name in the following format: {{THE OWL|parameter 1 = value|parameter 2 = value}}.

Parameters and Examples

Parameters Description Preview
| <Text>
| 1 = <Text>
The text that will be displayed. Icon-gnome-terminal.png Bomb it!

See Also

  • Template:Bomb, a template that marks something as a candidate for deletion.