Template:Action: Difference between revisions
From Xen
Jump to navigationJump to search
Lars.kurth (talk | contribs) No edit summary |
Lars.kurth (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{{#if: {{{title|}}}| ''{{{title}}}''<br>|}} |
{{#if: {{{title|}}}| ''{{{title}}}''<br>|}} |
||
{{#if: {{{description|}}}|'''Description:''' {{{description}}}<br>|}} |
{{#if: {{{description|}}}|'''Description:''' {{{description}}}<br>|}} |
||
{{#if: {{{status|}}}|'''Status:''' {{status}}}<br>|}} | }} |
{{#if: {{{status|}}}|'''Status:''' {{{status}}}<br>|}} | }} |
||
[[Category:Pages with actions]]<noinclude> |
[[Category:Pages with actions]]<noinclude> |
||
{{Documentation|content=This template comes in two forms. A simply form |
{{Documentation|content=This template comes in two forms. A simply form |
||
Line 21: | Line 21: | ||
}}</pre> |
}}</pre> |
||
which produces |
which depending on what variables are used, produces |
||
{{Action|Owner|title=My title|description=Your action here.|status=NEW}} |
{{Action|Owner|title=My title|description=Your action here.|status=NEW}} |
Revision as of 11:14, 24 October 2014
Action {{{1}}}:
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 depending on what variables are used, 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. |