Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:TerminalLook: Difference between revisions

Template page
Content deleted Content added
MMONTAGEe (talk | contribs)
No edit summary
Tag: 2017 source edit
MMONTAGEe (talk | contribs)
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
<includeonly><templatestyles src="Template:TerminalLook/styles.css"/><pre<includeonly></includeonly> class="TerminalWindow">{{{text}}}</pre></includeonly><noinclude>
<includeonly><templatestyles src="Template:TerminalLook/styles.css"/><pre><includeonly></includeonly> class="TerminalWindow">{{{text}}}</pre></includeonly><noinclude>
<templatedata>
<templatedata>
{
{
Line 6: Line 6:
"label": "Text",
"label": "Text",
"type": "string",
"type": "string",
"default": "Changes to classic terminal background color, font color to Green and font look"
"default": "Changes to classic terminal background color, font color to Green and font look. Is done by default after including the template"
},
},
"TerminalTextRed": {
"TerminalTextRed": {
Line 24: Line 24:
}
}
},
},
"description": "a",
"description": "",
"format": "block"
"format": "block"
}
}
Line 31: Line 31:


==Explanation==
==Explanation==
All Parameters above are all '''Classes''' for HTML Tags, below will be example code of their use:

<pre>
{{TerminalLook
|text=Welcome to VolexOS 50.09.12 LTS (Volex 9.2.4-generic QTCI)

* Copyright (c) 2187-2250 Voles Sambre and the Global Volunteer Development Network
* Licensed under GPLv10

<span class="TerminalTextRed"><$root> </span>CD vpcs/archg
<span class="TerminalTextRed"><$root/vpcs/archg> </span>SELECT archive_logs FROM library
<span class="TerminalTextRed"><$root/library> </span>SELECT && EXTRACT argela_vayer FROM archive_folder54
Password:
$library: Searched through 1&nbsp;875&nbsp;874 records of argela_vayer. Show full list? (y/n) n
Loading&hellip; <span class="TerminalSpinner"></span>
<span class="TerminalTextRed"><$root/library/archive_folder54> </span>SELECT large_magellanic_cloud && RUN library.vef && OPEN logs
Loading&hellip; <span class="TerminalSpinner"></span>
<span class="TerminalTextRed"><$library> </span><span class="TerminalBlinkerCursor"></span>
}}
</pre>
</noinclude>
</noinclude>

Revision as of 17:05, April 4, 2025

class="TerminalWindow">{{{text}}}</includeonly>

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
TextTerminalWindow

no description

Default
Changes to classic terminal background color, font color to Green and font look. Is done by default after including the template
Stringoptional
TextTerminalTextRed

no description

Default
Changes text color to Red
Stringoptional
TextTerminalSpinner

no description

Default
Adds ASCII Loading Spinner
Stringoptional
TextTerminalBlinkerCursor

no description

Default
Adds Terminal Blinker
Stringoptional

Explanation

All Parameters above are all Classes for HTML Tags, below will be example code of their use:

{{TerminalLook
|text=Welcome to VolexOS 50.09.12 LTS (Volex 9.2.4-generic QTCI)

* Copyright (c) 2187-2250 Voles Sambre and the Global Volunteer Development Network
* Licensed under GPLv10

<span class="TerminalTextRed"><$root> </span>CD vpcs/archg
<span class="TerminalTextRed"><$root/vpcs/archg> </span>SELECT archive_logs FROM library
<span class="TerminalTextRed"><$root/library> </span>SELECT && EXTRACT argela_vayer FROM archive_folder54
Password: 
$library: Searched through 1 875 874 records of argela_vayer. Show full list? (y/n) n
Loading… <span class="TerminalSpinner"></span>
<span class="TerminalTextRed"><$root/library/archive_folder54> </span>SELECT large_magellanic_cloud && RUN library.vef && OPEN logs
Loading… <span class="TerminalSpinner"></span>
<span class="TerminalTextRed"><$library> </span><span class="TerminalBlinkerCursor"></span> 
}}