Difference between revisions of "Template:News/displayonly"

From PCGamingWiki, the wiki about fixing PC games
m (correction)
 
(48 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="mw-collapsible mw-collapsed plainlinks"><!--
+
<includeonly>{{#vardefine: current date | {{#time:F j|{{{Date}}}}} }}<!--
-->'''{{{Date}}}''' - {{{Title}}}<!--
+
-->{{#ifeq: {{#var: current date }} | {{#var: previous date }} | <br>{{#ifeq: {{PAGENAME}} | Home | | <span style="color: #FFF">'''{{#var: current date }}'''</span> }} | {{#if: {{#var: previous date }} |</li>}}
-->{{#if:{{{Link1}}}|<sup>[{{{Link1}}} &#91;1&#93;]</sup>|}}<!--
+
<li class="news_li {{#ifeq: {{{Pin}}} | true | news_icon_pin | news_icon_info }} plainlinks"><!--
-->{{#if:{{{Link2}}}|<sup>[{{{Link2}}} &#91;2&#93;]</sup>|}}<!--
+
-->'''{{#var: current date }}'''
-->{{#if:{{{Link3}}}|<sup>[{{{Link3}}} &#91;3&#93;]</sup>|}}<!--
+
}}<!--
-->{{#if:{{{Notes}}}|<div class="mw-collapsible-content">{{Notes}}</div>|}}<!--
+
--> · {{{Title}}}<!--
-->{{#if:{{{Community}}}|<sup>&#91;[{{{Community}}} Thread]&#93;</sup>|}}<!--
+
-->{{#if:{{{Link1}}}|<span class="news_ref">[{{{Link1}}} &#91;1&#93;]</span>|}}<!--
--></div></includeonly>
+
-->{{#if:{{{Link2}}}|<span class="news_ref">[{{{Link2}}} &#91;2&#93;]</span>|}}<!--
 +
-->{{#if:{{{Link3}}}|<span class="news_ref">[{{{Link3}}} &#91;3&#93;]</span>|}}<!--
 +
-->{{#if:{{{Notes}}}|<span class="news_ref">&#91;{{Abbr|Notes|{{{Notes}}}}}&#93;</span>}}<!--
 +
-->{{#if:{{{Community}}}|<span class="news_ref">&#91;[{{{Community}}} Thread]&#93;</span>|}}<!--
 +
-->{{#vardefine: previous date | {{#var: current date }} }}</includeonly>

Latest revision as of 08:53, 20 June 2020