User:THE OWL/Sandbox/Templates/Documentation/Sample text: Difference between revisions
< User:THE OWL | Sandbox | Templates | Documentation
Jump to navigation
Jump to search
(→Usage) |
mNo edit summary |
||
| Line 8: | Line 8: | ||
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>. | 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:# | {| cellpadding="6" rules="all" style="width:100%; border:1px solid #555; background:#2D2D2D" | ||
|- style="color:# | |- style="background:#333; color:#DFDFDF" | ||
! | ! Parameters | ||
! {{int:Listfiles description}} | ! {{int:Listfiles description}} | ||
! {{int:Preview}} | ! {{int:Preview}} | ||
|- | |- | ||
| style="font-family:monospace" | {{P| <Text>}} <br> {{P| 1 | <Text>}} | | style="background:#333; color:#D8D7D6; font-family:monospace" | {{P| <Text>}} <br> {{P| 1 | <Text>}} | ||
| style="background:#333" | | | The text that will be displayed. Can contain links, templates and raw html. | ||
| [[File:Icon-gnome-terminal.png|24px|link=]] Bomb it! | | 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:#262626" | [[File:Icon-gnome-terminal.png|24px|link=]] Bomb it! | |||
|} | |} | ||
== 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.