Difference between revisions of "Template:FrequentlyChangedElements"

From Paladins Wiki
Jump to: navigation, search
m
Line 3: Line 3:
 
Champions in Rotation
 
Champions in Rotation
   
-->{{#vardefine:champ1|Ying}}<!--
+
-->{{#vardefine:champ1|Atlas}}<!--
-->{{#vardefine:champ2|Zhin}}<!--
+
-->{{#vardefine:champ2|Tiberius}}<!--
-->{{#vardefine:champ3|Sha Lin}}<!--
+
-->{{#vardefine:champ3|Ying}}<!--
-->{{#vardefine:champ4|Khan}}<!--
+
-->{{#vardefine:champ4|Zhin}}<!--
 
_________________________
 
_________________________
 
Period of this Rotation
 
Period of this Rotation
   
-->{{#vardefine:date|May 5th - May 12th, 2021}}<!--
+
-->{{#vardefine:date|May 12th - May 19th, 2021}}<!--
 
_________________________
 
_________________________
 
Battle Pass and Events
 
Battle Pass and Events
Line 20: Line 20:
 
| newsEventsDate = May 10th - May 17th 2021
 
| newsEventsDate = May 10th - May 17th 2021
 
| newsOther = {{Chest|Community 2021}} [[Community 2021 Chest]]<br>The Bounty Store was taken offline on March 31st for [https://paladins.com/news/the-future-of-the-bounty-store maintenance].
 
| newsOther = {{Chest|Community 2021}} [[Community 2021 Chest]]<br>The Bounty Store was taken offline on March 31st for [https://paladins.com/news/the-future-of-the-bounty-store maintenance].
| newsThisWeek = https://paladins.com/news/this-week-in-the-realm-may-3-9
+
| newsThisWeek = https://steamcommunity.com/games/444090/announcements/detail/3070869695415247221
 
| mainRotation = {{Template discuss|FrequentlyChangedElements}}{{Champion list|{{#var:champ1}}{{!}}{{#var:champ2}}{{!}}{{#var:champ3}}{{!}}{{#var:champ4}}|||1}}<br><small>As by: {{#var:date}}</small>
 
| mainRotation = {{Template discuss|FrequentlyChangedElements}}{{Champion list|{{#var:champ1}}{{!}}{{#var:champ2}}{{!}}{{#var:champ3}}{{!}}{{#var:champ4}}|||1}}<br><small>As by: {{#var:date}}</small>
 
| champRotation = {{FreeRotation|{{#var:champ1}}|{{#var:champ2}}|{{#var:champ3}}|{{#var:champ4}}|date={{#var:date}}}}
 
| champRotation = {{FreeRotation|{{#var:champ1}}|{{#var:champ2}}|{{#var:champ3}}|{{#var:champ4}}|date={{#var:date}}}}

Revision as of 13:56, 12 May 2021

Error

Template-info.png Documentation

Documentation

Code

{{FrequentlyChangedElements|<<Element>>}}
  • Element which should be displayed:
  • newsBattlePass - the name of the current Battle Pass
  • newsBattlePassDate - the period of time for the current Battle Pass
  • newsEvents - the name of the current event
  • newsEventsDate - the period of time for the current event
  • newsOther - other news that are important
  • newsThisWeek - link to the official Paladins "This Week in the Realm" article
  • update - update banner of the current Patch notes
  • mainRotation - the Champion Rotation for the main page
  • champRotation - the Champion Rotation for the Champion's page

Usage

Template to to have all Frequently Changed Elements in one place. This template is used for the Champion Rotation at the Champion's page and the Main page. Also for displaying news on the Main page.

The information can be directly changed in the template. The champions for the current rotation can be changed at the top of this template.

-->{{#vardefine:champ1|Buck}}<!--
-->{{#vardefine:champ2|Furia}}<!--
-->{{#vardefine:champ3|Kinessa}}<!--
-->{{#vardefine:champ4|Terminus}}<!--

After that the period for the rotation can be changed.

-->{{#vardefine:date|September 2 - September 8, 2020}}<!--

Following the information about events and Battle Passes etc can be changed.

Example

{{FrequentlyChangedElements|mainRotation}}

Result


Champion Atlas Icon.pngWinterEvent FreeRotationAll.pngTransparentChampion-icon.png
Atlas
Champion Tiberius Icon.pngWinterEvent FreeRotationAll.pngTransparentChampion-icon.png
Tiberius
Champion Ying Icon.pngWinterEvent FreeRotationAll.pngTransparentChampion-icon.png
Ying
Champion Zhin Icon.pngWinterEvent FreeRotationAll.pngTransparentChampion-icon.png
Zhin

As by: May 12th - May 19th, 2021