Template:News/core: Difference between revisions

From PZwiki
m (reduced title font size for "official")
(Change to release/blog/wiki)
Line 1: Line 1:
<includeonly>{{#ifeq: {{{type|}}} | announcement | {{#switch: {{{index|}}}  
<includeonly>{{#ifeq: {{{type|}}} | release | {{#switch: {{{index|}}}  
  | 1 = ;{{{date|}}}:{{{text|}}} <small>[<span class="plainlinks">[{{{link|}}} {{Translation|Read more}}]</span>]</small>
  | 1 = ;{{{date|}}}:{{{text|}}} <small>[<span class="plainlinks">[{{{link|}}} {{Translation|Read more}}]</span>]</small>
  | 2 = ;{{{date|}}}:{{{text|}}} <small>[<span class="plainlinks">[{{{link|}}} {{Translation|Read more}}]</span>]</small>
  | 2 = ;{{{date|}}}:{{{text|}}} <small>[<span class="plainlinks">[{{{link|}}} {{Translation|Read more}}]</span>]</small>
Line 6: Line 6:
}} }}<!--
}} }}<!--


-->{{#ifeq: {{{type|}}} | official | {{#switch: {{{index|}}}  
-->{{#ifeq: {{{type|}}} | blog | {{#switch: {{{index|}}}  
  | 1 = <span class="plainlinks">[{{{link|}}} <span style="color:#821E21; text-transform: uppercase; font-weight: bold; font-size:110%;">{{{title|}}} ⟩ </span>]</span><span style="font-size:80%;">{{{date|}}}</span><br>{{{text|}}} <small>[<span class="plainlinks">[{{{link|}}} {{Translation|Read more}}]</span>]</small><br><br>
  | 1 = <span class="plainlinks">[{{{link|}}} <span style="color:#821E21; text-transform: uppercase; font-weight: bold; font-size:110%;">{{{title|}}} ⟩ </span>]</span><span style="font-size:80%;">{{{date|}}}</span><br>{{{text|}}} <small>[<span class="plainlinks">[{{{link|}}} {{Translation|Read more}}]</span>]</small><br><br>
  | 2 = <span class="plainlinks">[{{{link|}}} <span style="color:#821E21; text-transform: uppercase; font-weight: bold; font-size:110%;">{{{title|}}} ⟩ </span>]</span><span style="font-size:80%;">{{{date|}}}</span><br>{{{text|}}} <small>[<span class="plainlinks">[{{{link|}}} {{Translation|Read more}}]</span>]</small><br><br>
  | 2 = <span class="plainlinks">[{{{link|}}} <span style="color:#821E21; text-transform: uppercase; font-weight: bold; font-size:110%;">{{{title|}}} ⟩ </span>]</span><span style="font-size:80%;">{{{date|}}}</span><br>{{{text|}}} <small>[<span class="plainlinks">[{{{link|}}} {{Translation|Read more}}]</span>]</small><br><br>
Line 16: Line 16:
}} }}<!--
}} }}<!--


-->{{#ifeq: {{{type|}}} | community | {{#switch: {{{index|}}}  
-->{{#ifeq: {{{type|}}} | wiki | {{#switch: {{{index|}}}  
  | 1 = ;{{Translation|{{{month|}}}}} {{{day|}}}, {{{year|}}}:{{{text|}}}… <small><nowiki>[</nowiki>[[PZwiki:Community_News#{{{month|}}}_{{{year|}}}|{{Translation|Read more}}]]]</small>
  | 1 = ;{{Translation|{{{month|}}}}} {{{day|}}}, {{{year|}}}:{{{text|}}}… <small><nowiki>[</nowiki>[[PZwiki:Community_News#{{{month|}}}_{{{year|}}}|{{Translation|Read more}}]]]</small>
  | 2 = ;{{Translation|{{{month|}}}}} {{{day|}}}, {{{year|}}}:{{{text|}}}… <small><nowiki>[</nowiki>[[PZwiki:Community_News#{{{month|}}}_{{{year|}}}|{{Translation|Read more}}]]]</small>
  | 2 = ;{{Translation|{{{month|}}}}} {{{day|}}}, {{{year|}}}:{{{text|}}}… <small><nowiki>[</nowiki>[[PZwiki:Community_News#{{{month|}}}_{{{year|}}}|{{Translation|Read more}}]]]</small>

Revision as of 19:57, 19 May 2023

Lock-locked.png
This page has been put into protection by a PZwiki administrator.
[view] [edit] [history] [purge] Template documentation
This template doesn't have any documentation yet! Help out by writing some.
Documentation transcluded from Template:News/core/doc.
Editors can experiment in this template's sandbox (create)