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

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


-->{{DISPLAYTITLE:Template:Detonator}}
-->{{DISPLAYTITLE:Template:Detonator}}
<div style="display:flex; align-items:center; gap:.5em; padding:.6em .75em; border-radius:.4em .4em 0 0; background:#444; color:#DDD; line-height:24px; font-size:1.5em">
<div style="display:flex; align-items:center; gap:.5em; margin-bottom:-2px; padding:.6em .75em; border-radius:.4em .4em 0 0; background:#3F3F3F; color:#DDD; line-height:24px; font-size:1.4em">
<div style="width:42px; height:28px; background:#EEE; clip-path:path('M41 12.8c-.71-.01-1.28-.22-1.73-.61-.45-.39-.75-.91-.89-1.58-.15-.66-.23-1.87-.24-3.62s-.07-3-.18-3.77c-.12-.77-.37-1.4-.76-1.91-.38-.5-.87-.86-1.46-1.08C35.34.08 34.69 0 33.78 0h-.77V2.29h.43c.87 0 1.46.13 1.76.38.3.26.48.71.54 1.37.05.37.07 1.5.07 3.39 0 2.09.22 3.57.65 4.45.43.88 1.18 1.59 2.24 2.12-.81.36-1.44.86-1.88 1.51-.44.64-.74 1.51-.88 2.58-.09.65-.13 2.19-.13 4.62 0 1.27-.15 2.09-.47 2.46-.31.36-.94.54-1.9.54h-.43V28h.77c.79 0 1.37-.05 1.71-.16.52-.16.94-.38 1.27-.68.33-.3.61-.69.84-1.18.22-.49.38-1.15.46-1.97.05-.52.07-1.58.08-3.21.01-1.62.09-2.76.24-3.43.14-.66.44-1.19.89-1.58.45-.39 1.02-.59 1.73-.61V12.8Zm-8.44 0c-.71-.01-1.29-.22-1.73-.61-.45-.39-.75-.91-.9-1.58-.14-.66-.22-1.87-.23-3.62-.01-1.75-.07-3-.18-3.77-.12-.77-.37-1.4-.76-1.91-.38-.5-.87-.86-1.46-1.08C26.89.08 26.24 0 25.34 0h-.77V2.29H25c.87 0 1.46.13 1.76.38.29.26.47.71.54 1.37.05.37.07 1.5.07 3.39 0 2.09.22 3.57.65 4.45.43.88 1.17 1.59 2.23 2.12-.81.36-1.43.86-1.87 1.51-.44.64-.74 1.51-.89 2.58-.08.65-.12 2.19-.12 4.62 0 1.27-.16 2.09-.47 2.46-.31.36-.95.54-1.9.54h-.43V28h.77c.79 0 1.36-.05 1.71-.16.52-.16.94-.38 1.27-.68.33-.3.61-.69.84-1.18.22-.49.38-1.15.46-1.97.04-.52.07-1.58.08-3.21.01-1.62.09-2.76.23-3.43.15-.66.45-1.19.9-1.58.44-.39 1.02-.59 1.73-.61V12.8Zm-23.12 0v2.38c.7.02 1.28.22 1.73.61s.74.92.89 1.59c.15.67.23 1.88.23 3.63.01 1.75.08 3 .19 3.77.12.77.37 1.4.75 1.9.39.5.88.86 1.46 1.09.41.15 1.06.23 1.97.23h.77V25.71H17c-.87 0-1.46-.13-1.76-.39-.3-.26-.48-.73-.56-1.39-.04-.35-.05-1.48-.05-3.38 0-2.08-.23-3.59-.69-4.5-.45-.92-1.18-1.6-2.2-2.05.86-.44 1.49-.94 1.89-1.5.4-.56.68-1.37.84-2.4.11-.67.16-2.28.16-4.83 0-1.26.15-2.07.47-2.44.31-.36.94-.54 1.9-.54h.43V0h-.77c-.8-0-1.37.05-1.72.15-.51.15-.93.38-1.27.67-.33.3-.61.69-.83 1.19s-.38 1.15-.46 1.97c-.05.51-.08 1.58-.09 3.2 0 1.62-.08 2.77-.23 3.44s-.44 1.2-.89 1.58c-.45.38-1.03.59-1.73.6ZM1 12.8v2.38c.71.02 1.29.22 1.73.61.45.39.75.92.89 1.59.15.67.23 1.88.24 3.63.01 1.75.07 3 .18 3.77.12.77.37 1.4.75 1.9.39.5.88.86 1.47 1.09.4.15 1.06.23 1.96.23h.77V25.71H8.56c-.87 0-1.46-.13-1.76-.39-.3-.26-.48-.73-.56-1.39-.03-.35-.05-1.48-.05-3.38 0-2.08-.23-3.59-.68-4.5-.46-.92-1.19-1.6-2.2-2.05.85-.44 1.48-.94 1.88-1.5.4-.56.68-1.37.85-2.4.1-.67.15-2.28.15-4.83 0-1.26.16-2.07.47-2.44.31-.36.95-.54 1.9-.54h.43V0H8.22C7.43 0 6.86.05 6.51.15 5.99.3 5.57.53 5.24.82c-.33.3-.61.69-.84 1.19-.22.5-.38 1.15-.46 1.97-.05.51-.07 1.58-.08 3.2-.01 1.62-.09 2.77-.24 3.44-.14.67-.44 1.2-.89 1.58-.44.38-1.02.59-1.73.6Z')"></div>
<div style="width:42px; height:28px; background:#EEE; clip-path:path('M41 12.8c-.71-.01-1.28-.22-1.73-.61-.45-.39-.75-.91-.89-1.58-.15-.66-.23-1.87-.24-3.62s-.07-3-.18-3.77c-.12-.77-.37-1.4-.76-1.91-.38-.5-.87-.86-1.46-1.08C35.34.08 34.69 0 33.78 0h-.77V2.29h.43c.87 0 1.46.13 1.76.38.3.26.48.71.54 1.37.05.37.07 1.5.07 3.39 0 2.09.22 3.57.65 4.45.43.88 1.18 1.59 2.24 2.12-.81.36-1.44.86-1.88 1.51-.44.64-.74 1.51-.88 2.58-.09.65-.13 2.19-.13 4.62 0 1.27-.15 2.09-.47 2.46-.31.36-.94.54-1.9.54h-.43V28h.77c.79 0 1.37-.05 1.71-.16.52-.16.94-.38 1.27-.68.33-.3.61-.69.84-1.18.22-.49.38-1.15.46-1.97.05-.52.07-1.58.08-3.21.01-1.62.09-2.76.24-3.43.14-.66.44-1.19.89-1.58.45-.39 1.02-.59 1.73-.61V12.8Zm-8.44 0c-.71-.01-1.29-.22-1.73-.61-.45-.39-.75-.91-.9-1.58-.14-.66-.22-1.87-.23-3.62-.01-1.75-.07-3-.18-3.77-.12-.77-.37-1.4-.76-1.91-.38-.5-.87-.86-1.46-1.08C26.89.08 26.24 0 25.34 0h-.77V2.29H25c.87 0 1.46.13 1.76.38.29.26.47.71.54 1.37.05.37.07 1.5.07 3.39 0 2.09.22 3.57.65 4.45.43.88 1.17 1.59 2.23 2.12-.81.36-1.43.86-1.87 1.51-.44.64-.74 1.51-.89 2.58-.08.65-.12 2.19-.12 4.62 0 1.27-.16 2.09-.47 2.46-.31.36-.95.54-1.9.54h-.43V28h.77c.79 0 1.36-.05 1.71-.16.52-.16.94-.38 1.27-.68.33-.3.61-.69.84-1.18.22-.49.38-1.15.46-1.97.04-.52.07-1.58.08-3.21.01-1.62.09-2.76.23-3.43.15-.66.45-1.19.9-1.58.44-.39 1.02-.59 1.73-.61V12.8Zm-23.12 0v2.38c.7.02 1.28.22 1.73.61s.74.92.89 1.59c.15.67.23 1.88.23 3.63.01 1.75.08 3 .19 3.77.12.77.37 1.4.75 1.9.39.5.88.86 1.46 1.09.41.15 1.06.23 1.97.23h.77V25.71H17c-.87 0-1.46-.13-1.76-.39-.3-.26-.48-.73-.56-1.39-.04-.35-.05-1.48-.05-3.38 0-2.08-.23-3.59-.69-4.5-.45-.92-1.18-1.6-2.2-2.05.86-.44 1.49-.94 1.89-1.5.4-.56.68-1.37.84-2.4.11-.67.16-2.28.16-4.83 0-1.26.15-2.07.47-2.44.31-.36.94-.54 1.9-.54h.43V0h-.77c-.8-0-1.37.05-1.72.15-.51.15-.93.38-1.27.67-.33.3-.61.69-.83 1.19s-.38 1.15-.46 1.97c-.05.51-.08 1.58-.09 3.2 0 1.62-.08 2.77-.23 3.44s-.44 1.2-.89 1.58c-.45.38-1.03.59-1.73.6ZM1 12.8v2.38c.71.02 1.29.22 1.73.61.45.39.75.92.89 1.59.15.67.23 1.88.24 3.63.01 1.75.07 3 .18 3.77.12.77.37 1.4.75 1.9.39.5.88.86 1.47 1.09.4.15 1.06.23 1.96.23h.77V25.71H8.56c-.87 0-1.46-.13-1.76-.39-.3-.26-.48-.73-.56-1.39-.03-.35-.05-1.48-.05-3.38 0-2.08-.23-3.59-.68-4.5-.46-.92-1.19-1.6-2.2-2.05.85-.44 1.48-.94 1.88-1.5.4-.56.68-1.37.85-2.4.1-.67.15-2.28.15-4.83 0-1.26.16-2.07.47-2.44.31-.36.95-.54 1.9-.54h.43V0H8.22C7.43 0 6.86.05 6.51.15 5.99.3 5.57.53 5.24.82c-.33.3-.61.69-.84 1.19-.22.5-.38 1.15-.46 1.97-.05.51-.07 1.58-.08 3.2-.01 1.62-.09 2.77-.24 3.44-.14.67-.44 1.2-.89 1.58-.44.38-1.02.59-1.73.6Z')"></div>
<div>Template Documentation</div>
<div>Template Documentation</div>
Line 13: Line 13:
</div>
</div>
</div>
</div>
<div style="padding:.75em 1em .5em; border:1px solid #444; border-radius:0 0 .4em .4em; background:#2D2D2D">
<div style="padding:.75em 1em .5em; border:2px solid #3F3F3F; border-radius:0 0 .4em .4em; background:#2D2D2D">
{{/Sample text}}
{{/Sample text}}
</div>
</div>

Revision as of 07:56, 17 October 2025

Template Documentation
|
Icon-edit-filled.png
|

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.