Difference between revisions of "Template:Cmd"

From stoney cloud
Jump to: navigation, search
(minor updates)
m (14 revisions from gentoo-wiki:Template:Cmd: import from wiki.gentoo.org)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{GenericCmd|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|prompt={{{prompt|user $}}}|color={{{color|#4E9A06}}}|output={{{output|}}}}}<noinclude>
+
<includeonly>{{#if: {{{1|}}}
 +
|{{#if: {{{11|}}}
 +
|{{Error|Cmd|11}}
 +
|{{GenericCmd|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|prompt={{{prompt|user $}}}|color={{{color|#4E9A06}}}|output={{{output|}}}}}
 +
}}
 +
|{{Error|Cmd|unnamed}}
 +
}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>
 
== The Importance of Imagination ==
 
 
While growing up, Id never really considered how important it is to be imaginative. Its a childhood profession, you could say. It comes naturally. Then we hit an age when were presented with a scantron of bubble-in options, a template for a CV that we need to create, and Excel. At that point, our learning has to fit into certain parameters: within that little bubble, within the one page limit, and within a tiny digital graph. So, what happens to our imagination?It seems to fade.
 
 
[[http://goodvillenews.com/The-Importance-of-Imagination-BvyL3n.html The Importance of Imagination]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Mr. Happy Man ==
 
 
For six hours each day, Bermudas Johnny Barnes stands at a busy traffic intersection telling all who pass that he loves them. His delight and sincerity are infectious, and the people of the island love him back. His service is a simple reminder of the power of happiness and loving-kindness to change any day for the better
 
 
[[http://goodvillenews.com/Mr-Happy-Man-VDrbVr.html Mr. Happy Man]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Cat Saves Owner Hours After Adoption ==
 
 
A newly-adopted cat repaid his owners loving gesture earlier this month by saving her from a medical emergency just hours after he was brought home, the Green Bay Press Gazette reports.
 
 
[[http://goodvillenews.com/Cat-Saves-Owner-Hours-After-Adoption-ixHpp7.html Cat Saves Owner Hours After Adoption]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== The Story of Change ==
 
 
"Ive come to see that we have two parts to ourselves; its almost like two muscles -- a consumer muscle and a citizen muscle. Our consumer muscle, which is fed and exercised constantly, has grown strong: So strong that "consumer" has become our primary identity, our reason for being. Were told so often that were a nation of consumers that we dont blink when the media use "consumer" and "person" interchangeably."
 
 
[[http://goodvillenews.com/The-Story-of-Change-hgReTV.html The Story of Change]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
 
== Behind the Beautiful Forevers ==
 
 
For two decades, and currently at The New Yorker, youve written about the distribution of opportunity, and the means by which people might get out of poverty, in America. What inspired you to start asking the same kinds of questions in India?
 
 
[[http://goodvillenews.com/Behind-the-Beautiful-Forevers-YtCKM3.html Behind the Beautiful Forevers]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 

Latest revision as of 08:55, 22 August 2014

[edit Documentation
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.

As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements, fixes or voice your opinion.

Use this template to show a shell box with a user command.

Parameters

Unnamed parameters (up to 10)
Add commands. Use {{=}} or {{!}} instead of the characters "=" or "|".
prompt (optional)
Change the command prompt (default: user $).
color (optional)
Change the prompt color (default: some green).
output (optional)
Add the command's output.

Usage

See the template's testcases:


Parameter: 1. unnamed
Wiki code
{{Cmd|a command}}

Main version
user $ a command

Sandbox version


Parameter: unnamed with the special characters "=" and "|"
Wiki code
{{Cmd|a command with {{=}} and {{!}}}}

Main version
user $ a command with = and |

Sandbox version


Parameter: output
Wiki code
{{Cmd|a command|output=<pre>
Some output
</pre>}}

Main version
user $ a command
Some output

Sandbox version


Parameter: prompt, color
Wiki code
{{Cmd
|a command
|prompt=example ?
|color=blue
}}

Main version
example ? a command

Sandbox version


Parameter: unnamed (10x)
Wiki code
{{Cmd
|1. command
|...
|10. command
}}
</pre>

Main version
user $ 1. command
user $
2. command
user $
3. command
user $
4. command
user $
5. command
user $
6. command
user $
7. command
user $
8. command
user $
9. command
user $
10. command

Sandbox version


See also

Note
The above documentation is transcluded from Template:Cmd/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.