Difference between revisions of "Template:CommandTemplate"

m
removed >
m (added border radius)
m (removed >)
Line 7: Line 7:
<pre>{{CommandTemplate|color=green|prompt=user $|command=cat ~/.profile}}</pre>
<pre>{{CommandTemplate|color=green|prompt=user $|command=cat ~/.profile}}</pre>
{{CommandTemplate|color=lawngreen|prompt=user $|command=cat ~/.profile}}
{{CommandTemplate|color=lawngreen|prompt=user $|command=cat ~/.profile}}
</noinclude><includeonly><div style="display:block;border-radius:5px;margin-bottom:5px;padding:5px;background-color:black;font-family:monospace;"><span style="color:{{{color}}};font-weight:bold;">{{{prompt}}} > </span><span style="color:white;background-color:black;">{{{command}}}</span></div></includeonly>
</noinclude><includeonly><div style="display:block;border-radius:5px;margin-bottom:5px;padding:5px;background-color:black;font-family:monospace;"><span style="color:{{{color}}};font-weight:bold;">{{{prompt}}} </span><span style="color:white;background-color:black;">{{{command}}}</span></div></includeonly>
Moderators, translator
455

edits