টেমপ্লেট:In the news/footer: সংশোধিত সংস্করণের মধ্যে পার্থক্য

Change logic so that both RE and RD links are always visible
36 revisions imported
ট্যাগ: মোবাইল সম্পাদনা মোবাইল ওয়েব সম্পাদনা
 
(১০ জন ব্যবহারকারী দ্বারা সম্পাদিত ২৪টি মধ্যবর্তী সংশোধন দেখানো হচ্ছে না)
১ নং লাইন: ১ নং লাইন:
{{#if:{{{currentevents|}}}{{{recentdeaths|}}}
<div class="itn-footer" style="margin-top: 0.5em;">
  |<ul style="list-style:none; margin-left:0;">
<!-- ongoing --><div>{{#if:{{{currentevents|}}}
<li>'''[[Portal:Current events|Ongoing]]'''{{#if:{{{currentevents|}}}
  |'''[[Portal:Current events|Ongoing]]''': {{Flatlist|class=inline}}
  |&#58; <div class="hlist inline">
{{{currentevents}}}{{endflatlist}}
{{{currentevents}}}
}}</div>
</div>}}</li>
<!-- recent deaths --><div>{{#if:{{{recentdeaths|}}}
<li>{{#ifexist:Deaths in {{CURRENTYEAR}}
|{{#ifexist:Deaths in {{CURRENTYEAR}}
   |'''[[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; {{Flatlist|class=inline}}
{{{recentdeaths}}}{{endflatlist}}
}}</div></div>
<!-- rhs links -->{{Flatlist|class=itn-footer noprint|style=text-align:right;}}{{#if:{{{currentevents|}}}{{{nocurrenteventslink|}}}|
|*'''[[Portal:Current events|Other recent events]]'''
}}{{#if:{{{recentdeaths|}}}
}}{{#if:{{{recentdeaths|}}}
  |&#58; <div class="hlist inline">
||{{#ifexist:Deaths in {{CURRENTYEAR}}
{{{recentdeaths}}}
  |*'''[[Deaths in {{CURRENTYEAR}}|Recent deaths]]'''
</div>}}</li>
  |*'''[[Deaths in {{#time:Y|-1 years}}|Recent deaths]]'''
</ul>
}}}}
|<div style="text-align: right;" class="hlist noprint">
*'''[[Wikipedia:In the news/Candidates|Nominate an article]]'''
{{#ifexist:Deaths in {{CURRENTYEAR}}
{{endflatlist}}<noinclude>
  |*'''[[Deaths in {{CURRENTYEAR}}|Recent deaths]]'''
{{documentation}}
  |*'''[[Deaths in {{#time:Y|-1 years}}|Recent deaths]]'''
</noinclude>
}}{{#if:{{{nocurrenteventslink|}}}
  ||*'''[[Portal:Current events|More current events...]]'''
}}</div>
}}