"سانچہ:In the news/footer" کے نسخوں کے درمیان فرق

use flatlist
bypass redirect template
سطر 1: سطر 1:
<div class="itn-footer" style="margin-top: 0.5em;">
<div class="itn-footer" style="margin-top: 0.5em;">
<!-- ongoing --><div>{{#if:{{{currentevents|}}}
<!-- ongoing --><div>{{#if:{{{currentevents|}}}
  |'''[[Portal:Current events|Ongoing]]''': {{startflatlist|class=inline}}
  |'''[[Portal:Current events|Ongoing]]''': {{Flatlist|class=inline}}
{{{currentevents}}}{{endflatlist}}
{{{currentevents}}}{{endflatlist}}
}}</div>
}}</div>
سطر 8: سطر 8:
   |'''[[Deaths in {{CURRENTYEAR}}|Recent deaths]]'''
   |'''[[Deaths in {{CURRENTYEAR}}|Recent deaths]]'''
   |'''[[Deaths in {{#time:Y|-1 years}}|Recent deaths]]'''
   |'''[[Deaths in {{#time:Y|-1 years}}|Recent deaths]]'''
}}&#58; {{startflatlist|class=inline}}
}}&#58; {{Flatlist|class=inline}}
{{{recentdeaths}}}{{endflatlist}}
{{{recentdeaths}}}{{endflatlist}}
}}</div></div>
}}</div></div>
<!-- rhs links -->{{startflatlist|class=itn-footer noprint|style=text-align:right;}}{{#if:{{{currentevents|}}}{{{nocurrenteventslink|}}}|
<!-- rhs links -->{{Flatlist|class=itn-footer noprint|style=text-align:right;}}{{#if:{{{currentevents|}}}{{{nocurrenteventslink|}}}|
  |*'''[[Portal:Current events|Other recent events]]'''
  |*'''[[Portal:Current events|Other recent events]]'''
}}{{#if:{{{recentdeaths|}}}
}}{{#if:{{{recentdeaths|}}}