Template:Console: Difference between revisions
From Wiki³
(Created page with "<table cellspacing="0" cellpadding="0" style="position:relative;left:5px"> <tr><td class="template-console">{{{1}}}</td></tr> </table><noinclude><br /> {{documentation}} [[Cat...") |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<table cellspacing="0" cellpadding="0" style=" | <table cellspacing="0" cellpadding="0" style="margin-left:5px"> | ||
<tr><td class="template-console">{{{1}}}</td></tr> | <tr><td class="template-console">{{{1}}}</td></tr> | ||
</table><noinclude><br /> | </table><noinclude><br /> | ||
Revision as of 22:13, 13 July 2014
| {{{1}}} |
Usage
{{Console
|title=Title (used to show filenames) *
|root=true (default: false) *
|prompt=false (default: true) *
|1=Command
|2=Command
|3=Command
|4=Command
|5=Command
}}
* Optional field
Preview
This preview is with root enabled.
| rm -rf / |
This preview is without specifying the root argument.
| sudo pacman -Syu |
This last preview is without a prompt at all, using color and a title.
| Woo! Hello World! |
Colors
Colors can also be added within the console template. Use the color templates provided in order to specify which color.
Valid colors: Black, Red, Green, Yellow, Blue, Magenta, Cyan, White
If you wish to use the highlighted version, add 'Bold' to the end of the color name (eg. 'BlueBold')
Color Preview
| ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ |