User:THE OWL/Sandbox/Templates/Documentation/Sample text: Difference between revisions
< User:THE OWL | Sandbox | Templates | Documentation
Jump to navigation
Jump to search
mNo edit summary |
|||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>{{User:THE OWL/Sandbox/Templates/Documentation subpage}}</noinclude> | |||
This template can break pages. | This template can break pages. | ||
== Usage == | == Usage == | ||
{{Template usage example|inline}} | <!-- {{Template usage example|inline}} --> | ||
<span style="display:inline-block; width:16px; height:16px; background:#FFF; vertical-align:text-bottom; clip-path:path('M0 4v8H1V4ZM9 4v8h1V4ZM3 6v4H7V6Zm9 0v4h4V6Z')"></span> This template prefers inline formatting of parameters. | |||
To use it, insert <code><nowiki>{{</nowiki>Detonator<nowiki>}}</nowiki></code> 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: <code><nowiki>{{</nowiki>Detonator<nowiki>|parameter 1 = value|parameter 2 = value}}</nowiki></code>. | |||
{| | |||
{| cellpadding="6" rules="all" style="width:100%; border:1px solid #555; background:#2D2D2D" | |||
! | |- style="background:#333; color:#DFDFDF" | ||
! style=" | ! Parameters | ||
! {{int:Listfiles description}} | |||
! {{int:Preview}} | |||
|- | |||
| style="background:#333; color:#D8D7D6; font-family:monospace" | {{P| <Text>}} <br> {{P| 1 | <Text>}} | |||
| The text that will be displayed. Can contain links, templates and raw html. | |||
| style="background:#262626" | [[File:Icon-gnome-terminal.png|24px|link=]] Bomb it! | |||
|- | |- | ||
| style="background:#333; color:#D8D7D6; font-family:monospace" | {{P| reason | <Text>}} | |||
| First Line. <br> Second Line. <br> Third Line. | |||
| style="background | | style="background:#262626" | [[File:Icon-gnome-terminal.png|24px|link=]] Bomb it! | ||
| style="background | |||
|} | |} | ||
== See Also == | == See Also == | ||
* [[User:THE OWL/Sandbox/Templates/Documentation/Sample text|Template:Bomb]], a template that marks something as a candidate for deletion. | * [[User:THE OWL/Sandbox/Templates/Documentation/Sample text|Template:Bomb]], a template that marks something as a candidate for deletion. | ||
Latest revision as of 16:53, 18 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.