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

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Line 4: Line 4:


-->{{DISPLAYTITLE:Template:Detonator}}
-->{{DISPLAYTITLE:Template:Detonator}}
<div style="display:flex; align-items:center; gap:.5em; margin-bottom:-2px; padding:.6em .75em; border-radius:4px 4px 0 0; background:linear-gradient(0deg, #3D3D3D, #404040); color:#DDD; line-height:24px; font-size:1.4em">
<div style="display:flex; align-items:center; gap:.5em; margin-bottom:-2px; padding:.6em .75em; border:1px solid #525252; border-radius:4px 4px 0 0; background:linear-gradient(0deg, #3D3D3D, #404040); color:#DDD; line-height:24px; font-size:1.4em">
<div style="width:42px; height:28px; background:#EEE; clip-path:{{:{{FULLPAGENAME}}|brackets}}"></div>
<div style="width:42px; height:28px; background:#EEE; clip-path:{{:{{FULLPAGENAME}}|brackets}}"></div>
<div>Template Documentation</div>
<div>Template Documentation</div>
Line 22: Line 22:
</div>
</div>
</div>
</div>
<div style="margin-top:2px; padding:.75em 1em 1em; border:0px solid #3D3D3D; border-top:0; border-radius:0 0 4px 4px; background:#2D2D2D">
<div style="margin-top:2px; padding:.75em 1em 1em; border:1px solid #525252; border-top:0; border-radius:0 0 4px 4px; background:#2D2D2D">
{{/Sample text}}
{{/Sample text}}
</div><includeonly>
</div><includeonly>

Revision as of 12:19, 17 October 2025

Template Documentation
|
Icon-edit-filled.png
|
|
Icon-sandbox.png
Flag-en.png
English

This template can break pages.

Usage

 This template prefers inline formatting of parameters.

To use it, insert {{Detonator}} into the desired page and specify the parameters you need, which can be found in the table below, to the right of the template name in the following format: {{Detonator|parameter 1 = value|parameter 2 = value}}.

Parameters Description Preview
| <Text>
| 1 = <Text>
The text that will be displayed. Can contain links, templates and raw html. Icon-gnome-terminal.png Bomb it!
| reason = <Text> First Line.
Second Line.
Third Line.
Icon-gnome-terminal.png Bomb it!

See Also

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