Template:Action: Difference between revisions

From Xen
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<br>[[File:Pictogram voting comment_15px.png|15px|link=]]&nbsp;'''Action {{{1}}}:'''{{#if: {{{title|}}}{{{description|}}}{{{status|}}}|&nbsp;
<br>[[File:Pictogram voting comment_15px.png|15px|link=]]&nbsp;'''Action {{{1}}}:'''{{#if: {{{title|}}}{{{description|}}}{{{status|}}}|&nbsp;
{{#if: {{{title|}}}|''{{{title}}}''<br>|<br>}}
{{#if: {{{title|}}}|''{{{title}}}''<br>|<br>}}
{{#if: {{{description|}}}|<p style="tmargin-left:30px;">'''Description:'''&nbsp;{{{description}}}</p>|}}
{{#if: {{{description|}}}|<p style="margin-left:20px;">'''Description:'''&nbsp;{{{description}}}</p>|}}
{{#if: {{{status|}}}|<p style="margin-left:30px;">Status:'''&nbsp;{{{status}}}</p>|}} | }}
{{#if: {{{status|}}}|<p style="margin-left:20px;">Status:'''&nbsp;{{{status}}}</p>|}} | }}
[[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

Revision as of 11:23, 24 October 2014


Pictogram voting comment 15px.png Action {{{1}}}:

Template documentation

This template comes in two forms. A simply form

{{Action|Owner}} Some text here <br>

which renders as


Pictogram voting comment 15px.png 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


Pictogram voting comment 15px.png Action Owner:  My title

Description: Your action here.

Status: NEW


Pictogram voting comment 15px.png Action Owner:  My title

Pictogram voting comment 15px.png 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.