Difference between revisions of "Template:News/displayonly"

From PCGamingWiki, the wiki about fixing PC games
m (hide hidden date on home page)
m (correction)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#vardefine: current date | {{#time:F j|{{{Date}}}}} }}<!--
 
<includeonly>{{#vardefine: current date | {{#time:F j|{{{Date}}}}} }}<!--
-->{{#ifeq: {{#var: current date }} | {{#var: previous date }} | <br>{{#ifeq: {{PAGENAME}} | Home | {{{<span style="color: #FFF">'''{{#var: current date }}'''</span> }} | {{#if: {{#var: previous date }} |</li>}}
+
-->{{#ifeq: {{#var: current date }} | {{#var: previous date }} | <br>{{#ifeq: {{PAGENAME}} | Home | | <span style="color: #FFF">'''{{#var: current date }}'''</span> }} | {{#if: {{#var: previous date }} |</li>}}
 
<li class="news_li {{#ifeq: {{{Pin}}} | true | news_icon_pin | news_icon_info }} plainlinks"><!--
 
<li class="news_li {{#ifeq: {{{Pin}}} | true | news_icon_pin | news_icon_info }} plainlinks"><!--
 
-->'''{{#var: current date }}'''
 
-->'''{{#var: current date }}'''

Latest revision as of 08:53, 20 June 2020