Difference between revisions of "Template:Cmd"
m (Extend to max. 10 lines. Print error message with 11 lines.) |
(minor updates) |
||
Line 2: | Line 2: | ||
{{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]] |
Revision as of 18:03, 4 August 2012
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.
Contents
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 | ||
| ||
Sandbox version |
Parameter: unnamed with the special characters "=" and "|" | ||
---|---|---|
Wiki code | {{Cmd|a command with {{=}} and {{!}}}} | |
| ||
Main version | ||
| ||
Sandbox version |
Parameter: output | ||
---|---|---|
Wiki code | {{Cmd|a command|output=<pre> Some output </pre>}} | |
| ||
Main version | ||
| ||
Sandbox version |
Parameter: prompt, color | ||
---|---|---|
Wiki code | {{Cmd |a command |prompt=example ? |color=blue }} | |
| ||
Main version | ||
| ||
Sandbox version |
Parameter: unnamed (10x) | ||
---|---|---|
Wiki code | {{Cmd |1. command |... |10. command }} </pre> | |
| ||
Main version | ||
| ||
Sandbox version |
See also
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.
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.
[The Importance of Imagination]
[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
[Mr. Happy Man]
[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.
[Cat Saves Owner Hours After Adoption]
[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."
[The Story of Change]
[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?
[Behind the Beautiful Forevers]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]