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

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
== 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.
<span style="display:inline-block; width:16px; height:16px; background:#FFF; vertical-align:text-bottom; clip-path:path('M0 4v8H1V4ZM9 4v8h1V4ZM3 6v4H7V6Zm9 0v4h4V6Z')"></span>&ensp;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>.
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:#282828"
{| cellpadding="6" rules="all" style="width:100%; border:1px solid #555; background:#2D2D2D"
|- style="color:#DDD"
|- style="background:#333; color:#DFDFDF"
! Parameter(s)
! 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.
| 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. 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.