Template:In the news/footer: Difference between revisions
Change logic so that both RE and RD links are always visible |
m 36 revisions imported Tags: Mobile edit Mobile web edit |
||
| (24 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
{{#if:{{{currentevents | <div class="itn-footer" style="margin-top: 0.5em;"> | ||
| | <!-- ongoing --><div>{{#if:{{{currentevents|}}} | ||
|'''[[Portal:Current events|Ongoing]]''': {{Flatlist|class=inline}} | |||
{{{currentevents}}}{{endflatlist}} | |||
{{{currentevents}}} | }}</div> | ||
</div> | <!-- recent deaths --><div>{{#if:{{{recentdeaths|}}} | ||
< | |{{#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]]''' | ||
}}: {{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|}}} | ||
||{{#ifexist:Deaths in {{CURRENTYEAR}} | |||
|*'''[[Deaths in {{CURRENTYEAR}}|Recent deaths]]''' | |||
|*'''[[Deaths in {{#time:Y|-1 years}}|Recent deaths]]''' | |||
}}}} | |||
*'''[[Wikipedia:In the news/Candidates|Nominate an article]]''' | |||
{{#ifexist:Deaths in {{CURRENTYEAR}} | {{endflatlist}}<noinclude> | ||
{{documentation}} | |||
</noinclude> | |||
} | |||
}}< | |||
}} | |||