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

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "<div style="background-color:#303030; border:1px solid #454545; border-radius:.3em"> <div style="display:flex; background-color:#454545; padding:.5em 1em"> Documentation </div> <div style="padding:.75em .75em .5em 1em"> {{/Sample text}} </div> </div>")
 
mNo edit summary
 
(65 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="background-color:#303030; border:1px solid #454545; border-radius:.3em">
<!--
<div style="display:flex; background-color:#454545; padding:.5em 1em">
 
Documentation
This is the potential future of the Documentation template. So far, the development is at an early stage.
</div>
 
<div style="padding:.75em .75em .5em 1em">
-->{{DISPLAYTITLE:Template:Detonator}}__NOEDITSECTION__
{{/Sample text}}
<div class="plainlinks" style="display:flex; align-items:center; gap:.5em; padding:.55em .6em; border:1px solid #525252; border-radius:4px 4px 0 0; background:#3D3D3D; color:#DFDFDF; line-height:28px; font-size:1.4em">
</div>
<div style="min-width:42px; height:28px; background:#EEE; clip-path:{{:{{FULLPAGENAME}}|brackets}}"></div> Template Documentation
<table class="TablePager" cellpadding="3" style="writing-mode:sideways-lr; border:0; border-radius:5px; background:#262626; line-height:18px; font-size:.8em; user-select:none">
<tr><td style="position:relative; border:0; border-radius:4px">
<div style="width:18px; height:18px; background:#FFF; clip-path:{{:{{FULLPAGENAME}}|view}}"></div>
<!-- <div style="writing-mode:lr">&nbsp;View</div> -->
[{{canonicalurl:{{FULLPAGENAME}}/Sample text}} <hr class="vector-menu-checkbox">]
</td></tr>
<td style="display:block; margin:4px 0; padding:0; border-color:#444; border-radius:1px"></td>
<tr><td style="position:relative; border:0; border-radius:4px">
<div style="width:18px; height:18px; background:#FFF; clip-path:{{:{{FULLPAGENAME}}|edit}}"></div>
<!-- <div style="writing-mode:lr">&nbsp;Edit</div> -->
[{{canonicalurl:{{FULLPAGENAME}}/Sample text}}?action=edit <hr class="vector-menu-checkbox">]
</td></tr>
<td style="display:block; margin:4px 0; padding:0; border-color:#444; border-radius:1px"></td>
<tr><td style="position:relative; border:0; border-radius:4px">
<div style="width:18px; height:18px; background:#FFF; clip-path:{{:{{FULLPAGENAME}}|history}}"></div>
<!-- <div style="writing-mode:lr">&nbsp;History</div> -->
[{{canonicalurl:{{FULLPAGENAME}}/Sample text}}?action=history <hr class="vector-menu-checkbox">]
</td></tr>
<td style="display:block; margin:4px 0; padding:0; border-color:#444; border-radius:1px"></td>
<tr><td style="position:relative; border:0; border-radius:4px">
<div style="width:18px; height:18px; background:#FFF; clip-path:{{:{{FULLPAGENAME}}|sandbox}}"></div>
<!-- <div style="writing-mode:lr">&nbsp;Sandbox</div> -->
[{{canonicalurl:Project:Sandbox}} <hr class="vector-menu-checkbox">]
</td></tr>
</table>
<div style="display:flex; align-items:center; gap:.35em; padding:0 .45em; border-radius:5px; background:#262626; font-size:.8em; user-select:none; margin-left:auto">[[File:Flag-en.png|16x11px|link=]] English</div>
</div>
</div>
<div style="padding:.75em 1em 0; border:1px solid #525252; border-top:0; border-radius:0 0 4px 4px; background:#2D2D2D"><div style="margin-bottom:1em">
{{#ifexist:{{FULLPAGENAME}}/Sample text|{{/Sample text}}|{{Metanotice
| rgb    = 178, 102, 34
| opacity = .07
| text = <b style="color:#F4813F; font-size:1.25em">Uh Oh</b><br>Looks like we dont have this documentation page (or maybe it was incorrectly defined?) <br> <small>''This definitely should be fixed!''</small>
| bdcolor = #B22222;
}}}}
</div></div>
<includeonly>
<onlyinclude>{{#switch:{{{1|}}}
| brackets = 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')
| view = 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')
| edit = path('M12.34 6.85 5.62 13.57l-1.59.4.4-1.59 6.74-6.74 1.17 1.21Zm1.69-3.01.13.13c.29.29.29.77 0 1.06l-.76.76-1.17-1.21.74-.74c.29-.29.77-.29 1.06 0ZM11.91 2.78 10.65 4.04 3.22 11.47c-.1.1-.16.22-.2.35l-.75 3c-.06.25.01.52.2.71.19.19.46.26.71.2l3-.75c.13-.04.25-.1.35-.2l7.39-7.39 1.3-1.3c.88-.88.88-2.3 0-3.18l-.13-.13c-.88-.88-2.3-.88-3.18 0Z')
| history = 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')
| sandbox = path('M2.9 4.8 8.6 1.6q.4-.2.8 0l5.7 3.2q.4.2.6.5l1 1.8q.4.8-.1 1.1l-.9.5v3.8q0 .3-.3.5l-6 3.4q-.4.2-.9 0L2.5 13q-.3-.2-.3-.6V8.2q-.4.3-.8 0-.7-.5-.1-1.3l1-1.6q.2-.3.6-.5m.9 7.1 4.4 2.5v-5L3.8 6.9ZM9 8.1l4.4-2.5L9 3.1Zm1 1.2.4.7L15 7.3l-.4-.7Zm-.2 5.1 4.4-2.5V9.6l-3.6 2.1q-.4.2-.8 0Z')
}}
</onlyinclude>
</includeonly>[[Category:Archived templates]]

Latest revision as of 02:28, 21 October 2025

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.