User:THE OWL/Sandbox/Templates/Documentation: Difference between revisions
< User:THE OWL | Sandbox | Templates
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 6: | Line 6: | ||
<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 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 style="min-width:42px; height:28px; background:#EEE; clip-path:{{:{{FULLPAGENAME}}|brackets}}"></div> Template Documentation | <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 | <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"> | <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="width:18px; height:18px; background:#FFF; clip-path:{{:{{FULLPAGENAME}}|view}}"></div> | ||
| Line 37: | Line 37: | ||
</td></tr> | </td></tr> | ||
</table> | </table> | ||
<div style="display:flex; align-items:center; gap:.35em; padding:0 .45em; border-radius:5px; background:#262626; font-size:.8em; user-select:none">[[File:Flag-en.png|16x11px|link=]] English</div> | <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> | <includeonly> | ||
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. | |
| | reason = <Text> | First Line. Second Line. Third Line. |
See Also
- Template:Bomb, a template that marks something as a candidate for deletion.