"साँचा:In the news/footer": अवतरणों में अंतर
दिखावट
छो Protected Template:In the news/footer: Main page protection ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
Change logic so that both RE and RD links are always visible |
||
पंक्ति १: | पंक्ति १: | ||
{{#if:{{{currentevents|}}}{{{recentdeaths|}}} | {{#if:{{{currentevents|}}}{{{recentdeaths|}}} | ||
|<ul style="list-style:none; margin-left:0;"> | |<ul style="list-style:none; margin-left:0;"> | ||
<li>'''[[Portal:Current events|Ongoing]]'''{{#if:{{{currentevents|}}} | |||
|: <div class="hlist inline"> | |||
{{{currentevents}}} | |||
{{{currentevents | </div>}}</li> | ||
</div></li> | <li>{{#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]]''' | ||
}}: <div class="hlist inline"> | }}{{#if:{{{recentdeaths|}}} | ||
{{{recentdeaths | |: <div class="hlist inline"> | ||
</div></li> | {{{recentdeaths}}} | ||
</div>}}</li> | |||
</ul> | |||
|<div style="text-align: right;" class="hlist noprint"> | |<div style="text-align: right;" class="hlist noprint"> | ||
{{#ifexist:Deaths in {{CURRENTYEAR}} | {{#ifexist:Deaths in {{CURRENTYEAR}} |