Difference between revisions of "Template:In the news/footer"

From blackwiki
Jump to navigation Jump to search
imported>Spencer
m (fix)
imported>Izno
(hlist-separated)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if:{{{currentevents|}}}{{{recentdeaths|}}}
+
<div class="itn-footer" style="margin-top: 0.5em;">
|<div class="itn-footer" style="margin-top: 0.5em;">
+
<!-- ongoing --><div>{{#if:{{{currentevents|}}}
<div>{{#if:{{{currentevents|}}}
+
|'''[[Portal:Current events|Ongoing]]''': <div class="hlist hlist-separated inline">
  |'''[[Portal:Current events|Ongoing]]''': <div class="hlist inline">
+
{{{currentevents}}}</div>
{{{currentevents}}}
 
</div>
 
  |'''[[Portal:Current events|Other recent events...]]'''
 
 
}}</div>
 
}}</div>
<div>{{#ifexist:Deaths in {{CURRENTYEAR}}
+
<!-- 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]]'''
 +
}}&#58; <div class="hlist hlist-separated inline">
 +
{{{recentdeaths}}}</div>
 +
}}</div></div>
 +
<!-- rhs links --><div class="itn-footer hlist hlist-separated noprint" style="text-align: right;">
 +
{{#if:{{{currentevents|}}}
 +
||*'''[[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>}}</div>
+
  |*'''[[Deaths in {{#time:Y|-1 years}}|Recent deaths]]'''
</div>
+
}}}}
|<div class="itn-footer hlist noprint" style="text-align: right;">
+
*'''[[Wikipedia:In the news/Candidates|Nominate an article]]'''</div><noinclude>
{{#ifexist:Deaths in {{CURRENTYEAR}}
 
  |*'''[[Deaths in {{CURRENTYEAR}}|Recent deaths]]'''
 
  |*'''[[Deaths in {{#time:Y|-1 years}}|Recent deaths]]'''
 
}}{{#if:{{{nocurrenteventslink|}}}
 
  ||*'''[[Portal:Current events|Other recent events]]'''
 
}}</div>
 
}}<noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:04, 16 May 2020

Template documentation[view] [edit] [history] [purge]

Template:NODOC

Usage