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

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


-->{{DISPLAYTITLE:Template:Detonator}}
-->{{DISPLAYTITLE:Template:Detonator}}
<div style="background-color:#303030; border:1px solid #454545; border-radius:.3em">
<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; gap:.9em; align-items:center; background-color:#454545; padding:.8em 1em">
<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>
<p style="line-height:1; font-size:1.3em; color:#D8D8D8; margin:0"> Technical Guide </p>
<div>Template Documentation</div>
<div style="display:flex; gap:.5em; background-color:rgb(0 0 0 / 25%); border:1px solid rgb(255 255 255 / 20%); border-radius:.3em; user-select:none; padding:.15em .5em">
<div style="display:flex; align-items:center; gap:.3em; background:rgb(0 0 0 / 25%); border-radius:.3em; user-select:none; padding:.1em .45em">
<div>[[File:icon-visibility.png|14px|link=User:THE OWL/Sandbox/Templates/Documentation/Sample text]]</div>
<div style="width:18px; height:18px; background:#EEE; clip-path:path('M4.73 11.68C3.58 10.7 2.77 9.58 2.38 9c.39-.58 1.2-1.7 2.35-2.68C5.91 5.3 7.36 4.5 9 4.5s3.1.8 4.27 1.82c1.15.98 1.96 2.1 2.35 2.68-.39.58-1.2 1.7-2.35 2.68C12.1 12.7 10.64 13.5 9 13.5c-1.64 0-3.09-.8-4.27-1.82ZM9 3C6.86 3 5.07 4.05 3.75 5.18 2.42 6.32 1.51 7.6 1.1 8.23.79 8.7.79 9.3 1.1 9.77c.41.63 1.32 1.91 2.65 3.05C5.07 13.95 6.86 15 9 15s3.93-1.05 5.25-2.18c1.33-1.14 2.24-2.42 2.65-3.05.31-.47.31-1.07 0-1.54-.41-.63-1.32-1.91-2.65-3.05C12.93 4.05 11.14 3 9 3ZM7.5 9c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5S7.5 9.83 7.5 9ZM9 6C7.34 6 6 7.34 6 9s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3Z')"></div>
<div style="opacity:20%">|</div>
<div style="opacity:20%">|</div>[[File:icon-edit-filled.png|15px|link=]]<div style="opacity:20%">|</div>
<div>[[File:icon-edit-filled.png|12px|link=https://developer.valvesoftware.com/w/index.php?title=User:THE_OWL/Sandbox/Templates/Documentation/Sample_text&action=edit]]</div>
<div style="width:18px; height:18px; background:#EEE; clip-path:path('m3.76 8.68.96-.96c.29-.29.77-.29 1.06 0s.29.77 0 1.06L3.53 11.03c-.14.14-.33.22-.53.22s-.39-.08-.53-.22L.22 8.78c-.29-.29-.29-.77 0-1.06s.77-.29 1.06 0l.98.98c.16-4.01 3.45-7.2 7.49-7.2 4.14 0 7.5 3.36 7.5 7.5s-3.36 7.5-7.5 7.5c-2.36 0-4.46-1.09-5.83-2.79-.26-.32-.21-.79.11-1.05.32-.26.79-.21 1.05.11C6.18 14.13 7.87 15 9.75 15c3.31 0 6-2.69 6-6s-2.69-6-6-6C6.54 3 3.92 5.52 3.76 8.68ZM9.75 3.75c.41 0 .75.34.75.75V8.69l2.03 2.03c.29.29.29.77 0 1.06-.29.29-.77.29-1.06 0L9.22 9.53C9.08 9.39 9 9.2 9 9V4.5c0-.41.34-.75.75-.75Z')"></div>
<div style="opacity:20%">|</div>
<div>[[File:icon-history.png|14px|link=https://developer.valvesoftware.com/w/index.php?title=User:THE_OWL/Sandbox/Templates/Documentation/Sample_text&action=history]]</div>
</div>
</div>
<div style="padding:.75em 1em .5em 1em">
{{/Sample text}}
</div>
</div>
</div>
<div style="padding:.75em 1em .5em; border:1px solid #444; border-radius:0 0 .4em .4em; background:#2D2D2D">
{{/Sample text}}
</div>
</div>

Revision as of 07:50, 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.