Difference between revisions of "Template:Action"
From Xen
Lars.kurth (talk | contribs) (Added <br> such that action automatically starts on new line) |
Lars.kurth (talk | contribs) (Experimental new template extensions) |
||
Line 1: | Line 1: | ||
− | <br>[[File:Pictogram voting comment_15px.png|15px|link=]] <span style="text-decoration:underline;font-weight:bold;color:blue;">Action {{{1}}}: |
+ | <br>[[File:Pictogram voting comment_15px.png|15px|link=]] <span style="text-decoration:underline;font-weight:bold;color:blue;">Action {{{1}}}: |
+ | {{#if: {{{title|}}}{{{description|}}}{{{status|}}}| YES | NO}} |
||
− | {{Documentation|content=<pre>{{Action|Owner}} Your action here.</pre> produces "{{Action|Owner}} Your action here."}} |
||
+ | </span>[[Category:Pages with actions]]<noinclude> |
||
+ | {{Documentation|content=This template comes in two forms. A simply form |
||
+ | <pre>{{Action|Owner}} Some text here <br></pre> |
||
+ | which renders as |
||
+ | |||
+ | {{Action|Owner}} Some text here <br> |
||
+ | |||
+ | Note that without, the linebreak, the text immediately continues *after* the text you add. |
||
+ | <br> |
||
+ | And a more complex form |
||
+ | |||
+ | <pre> |
||
+ | {{Action|Owner |
||
+ | |title = Short title |
||
+ | |description = Your action here |
||
+ | |status = Description of action status here |
||
+ | }}</pre> |
||
+ | |||
+ | which produces |
||
+ | |||
+ | {{Action|Owner|title=My title|description=Your action here.|status=NEW}} |
||
+ | |||
+ | {{Action|Owner|title=My title}} |
||
+ | |||
+ | {{Action|Owner|description=Your action here.|status=NEW}} |
||
+ | |||
+ | }} |
||
</noinclude> |
</noinclude> |
Revision as of 10:51, 24 October 2014
Action {{{1}}}:
NO
This template comes in two forms. A simply form
{{Action|Owner}} Some text here <br>
which renders as
Action Owner: Some text here
Note that without, the linebreak, the text immediately continues *after* the text you add.
And a more complex form
{{Action|Owner |title = Short title |description = Your action here |status = Description of action status here }}
which produces
Action Owner:
My title
Description: Your action here.
Status: NEW
Action Owner:
My title
Action Owner:
Description: Your action here.
Status: NEW
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |