Manjaro Difference between revisions of "Template:CommandOutputTemplate"

Difference between revisions of "Template:CommandOutputTemplate"

Template page
(CommandOutputTemplate create)
 
m
Line 1: Line 1:
<noinclude>
<noinclude>
{{Template}}
{{Template}}
{{Documentation}}
{{Documentation|content=
<templatedata>
{
    "description": "",
    "params": {
        "color": {
            "label":"color",
            "description": "The text color for the prompt",
            "type": "string"
        },
        "color": {
            "label":"prompt",
            "description": "The prompt",
            "type": "string"
        },
        "color": {
            "label":"command",
            "description": "The command part of the template",
            "type": "string"
        },
        "output": {
            "label":"command",
            "description": "The command part of the template",
            "type": "string"
        },
    }
}
</templatedata>
}}
</noinclude><includeonly><div style="display:block;border-radius:5px;margin-bottom:5px;padding:5px;background-color:black;font-family:monospace;font-size:14px"><span style="color:{{{color}}};font-weight:bold;">{{{prompt}}} </span><span style="color:white;background-color:black;font-weight:bold;">{{{command}}}</span><br/><span style="color:white;background-color:black;font-weight:bold;">{{<pre style="color:white;background-color:black;border:none;padding:0;margin:0">{{{output}}}</pre>}}</span></div></includeonly>
</noinclude><includeonly><div style="display:block;border-radius:5px;margin-bottom:5px;padding:5px;background-color:black;font-family:monospace;font-size:14px"><span style="color:{{{color}}};font-weight:bold;">{{{prompt}}} </span><span style="color:white;background-color:black;font-weight:bold;">{{{command}}}</span><br/><span style="color:white;background-color:black;font-weight:bold;">{{<pre style="color:white;background-color:black;border:none;padding:0;margin:0">{{{output}}}</pre>}}</span></div></includeonly>

Revision as of 12:12, 2 October 2020

This page is a template. It contains no Manjaro Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

Template:Documentation

Cookies help us deliver our services. By using our services, you agree to our use of cookies.