Difference between revisions of "Template:Issues"

From Second Life Wiki
Jump to navigation Jump to search
(lighten the load this should)
m
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:issues|{{#var:issues}}
{{#ifeq:{{NAMESPACE}}|Template|{{Multi-lang|<includeonly>category=Jira Issues</includeonly>}}}}<includeonly>{{#if:
{{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 6: Line 9:
|priority={{{priority|}}}
|priority={{{priority|}}}
|type={{{type|}}}
|type={{{type|}}}
}}}}{{Template|{{#ifeq:{{NAMESPACE}}|Template|IssueTable}}
|dnc={{{dnc|}}}
|after=[[Category:Jira Issues|{{#explode:{{{1}}}|-|0}}-{{#pad:{{#explode:{{{1}}}|-|1}}|6|0}}]]
|fc={{{fc|}}}
}}</includeonly><noinclude>
}}}}
|
{{#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}}}}
{{#var:last_issue}}}}
 
{{#ifexpr:{{#var:count-last-issue|0}} > 0|
{{#vardefine:bugs{{#var:direction}}|{{#var:bugs{{#var:direction}}}}
{{#var:last_issue}}}}
}}
 
}}{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACE}}|Template|{{IssueTable}}[[Category:Jira Issues{{#var:lang}}|{{#explode:{{{1}}}|-|0}}-{{#pad:{{#explode:{{{1}}}|-|1}}|6|0}}]]}}}}</includeonly><noinclude>
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.
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]]</noinclude>
For a list of templatized issues see: [[:Category:Jira Issues{{#var:lang}}]]</noinclude>

Revision as of 15:12, 26 September 2013