Template talk:FDC funded proposals list entry
Add topicAppearance
Latest comment: 9 years ago by Jean-Frédéric in topic Bug
Bug
[edit]Trying to understand this template, I believe there is a bug in it: the first ifexists has four arguments instead of three. This means it is Unreachable code − that I don’t is valid either too. See the pseudo-code below.
Extended content |
---|
if(Impact report){
[[Impact report]]
} else {
if(Progress report)
{
[[Progress report]]
} else {
if(Q3){
[[Q3]] [[Q2]] [[Q1]]
} else {
if(Q2){
[[Q2]] [[Q1]]
} else {
[[Q1]]
}
}
}
} else {
if(Q3){
[[Q3]] [[Q2]] [[Q1]]
} else {
if(Q2){
[[Q2]] [[Q1]]
} else {
if(Q1){
[[Q1]]
} else {
No report
}
}
}
}
|
I’ll just go ahead and fix it. :) Jean-Fred (talk) 00:03, 2 January 2016 (UTC)