Difference between revisions of "Template:Issues"
Jump to navigation
Jump to search
m (Trying to remove dev/null from circulation.) |
m |
||
Line 1: | Line 1: | ||
{{#ifeq:{{NAMESPACE}}|Template|{{Multi-lang|<includeonly>category=Jira Issues</includeonly>}}}}<includeonly>{{#if: | {{#ifeq:{{NAMESPACE}}|Template|{{Multi-lang|<includeonly>category=Jira Issues</includeonly>}}}}<includeonly>{{#if: | ||
{{#vardefine:last_issue|{{{{{debugging|Issue}}}|{{{1}}}|{{{2|}}} | The purpose of the following is to swap out the old code and use a new template without breaking the old templates. | ||
{{#if:{{{status|}}}{{{resolution|}}}| | |||
{{#vardefine:last_issue|{{{{{debugging|Issue/Version 1}}}|{{{1}}}|{{{2|}}} | |||
|style={{{style|}}} | |style={{{style|}}} | ||
|status={{{status|}}} | |status={{{status|}}} | ||
Line 10: | Line 12: | ||
|fc={{{fc|}}} | |fc={{{fc|}}} | ||
}}}} | }}}} | ||
| | |||
{{#vardefine:last_issue|{{{{{debugging|Issue/Version 1}}}|{{{1}}}|{{{2|}}} | |||
|style={{{style|}}} | |||
|status={{{status|}}} | |||
|resolution={{{resolution|}}} | |||
|priority={{{priority|}}} | |||
|type={{{type|}}} | |||
|dnc={{{dnc|}}} | |||
|fc={{{fc|}}} | |||
}}}} | |||
}} | |||
{{#vardefine:issues{{#var:direction}}|{{#var:issues{{#var:direction}}}} | {{#vardefine:issues{{#var:direction}}|{{#var:issues{{#var:direction}}}} |
Revision as of 14:12, 26 September 2013
This template has the exact same parameters as Template:Issue but instead of returning the table entry it puts it in a variable that can be accessed by Template:IssueTable or any of the LSL Templates. This allows for a more free form page layout and the templatization of jira issues. The advantage of which is that the data that makes up an issue need not be placed on all articles, just the template.
For a list of templatized issues see: Category:Jira Issues