Dead by Daylight Wiki
Register
mNo edit summary
mNo edit summary
(10 intermediate revisions by 4 users not shown)
Line 8: Line 8:
   
 
===IDs===
 
===IDs===
Each [[Teachable Perk]] has a unique numerical ID, which can be looked up in the Documentation.
+
Each [[Teachable Perk]] has a unique numerical ID, which can be looked up in the [[Module:Datatable/Perks|Documentation]].
 
* ID#1: 1st Teachable Perk
 
* ID#1: 1st Teachable Perk
 
* ID#2: 2nd Teachable Perk
 
* ID#2: 2nd Teachable Perk
Line 15: Line 15:
   
 
==Example==
 
==Example==
Adding new like with current perk IDs like this
+
Adding new like with current perk IDs like this:
<syntaxhighlight lang = lua highlight="2">
+
<syntaxhighlight lang=lua highlight="2">
 
sos = {
 
sos = {
 
{1, 4, 7, 10},
 
{1, 4, 7, 10},
Line 30: Line 30:
   
 
==Editing the Interwiki Shrines==
 
==Editing the Interwiki Shrines==
If you are about to update the weekly Shrine, please consider doing so also for the other languages this wiki exists in. Here's how to go about that. If the wiki is using the old Template system then the logic is pretty same the - you write appropriate IDs<br> in the format <syntaxhighlight inline>{{sos|1|4|7|10}}</syntaxhighlight> on the page you get redirected to:
+
If you are about to update the weekly Shrine, please consider doing so also for the other languages this wiki exists in. Here's how to go about that. If the wiki is using the old Template system then the logic is pretty same the - you write appropriate IDs<br> in the format <syntaxhighlight lang=text inline>{{sos|1|4|7|10}}</syntaxhighlight> on the page you get redirected to:
   
   
Line 42: Line 42:
   
 
===Italian Wiki===
 
===Italian Wiki===
#Go to the [https://deadbydaylight-it.gamepedia.com/index.php?title=Template:Reliquiario_dei_Segreti&action=edit Italian Shrine of Secrets]
+
#Go to the [https://deadbydaylight-it.gamepedia.com/index.php?title=Modulo:Datatable/SoS&action=edit Italian Shrine of Secrets]
#Insert the correct IDs into the Template.
+
#Add a new line of correct IDs into the Module.
   
 
===Polish Wiki===
 
===Polish Wiki===
  +
#Go to Polish version of Module (Left sidebar - In Other Languages)
#Go to the [https://deadbydaylight-pl.gamepedia.com/index.php?title=Szablon:Shrine_of_Secrets&action=edit Polish Shrine of Secrets]
 
#Insert the correct IDs into the Template.
+
#Add a new line of correct IDs into the Module.
   
 
===Portuguese Wiki===
 
===Portuguese Wiki===
Line 56: Line 56:
 
#Go to the [https://deadbydaylight-zh.gamepedia.com/index.php?title=Template:Shrine_of_Secrets&action=edit Chinese Shrine of Secrets]
 
#Go to the [https://deadbydaylight-zh.gamepedia.com/index.php?title=Template:Shrine_of_Secrets&action=edit Chinese Shrine of Secrets]
 
#Insert the correct IDs into the Template.
 
#Insert the correct IDs into the Template.
  +
  +
  +
==Optional Parameters==
  +
There are several optional parameters that can be added after a quartet of perk IDs:
  +
* '''offset''' [-1 - -∞] - is moving the Shrine of Secrets to the previous week if needed. Theoretically moving backward should work that far as the inception of SoS, however, It's not tested for more than -2.
  +
* '''color''' [[Template:clr/doc|clr values]] - is determining which color is used in Shrine of Secrets calendar table at [[Shrines of Secrets Archive]].
  +
* '''notice''' ["string"] - is a title for a week at SoS calendar table.
  +
* '''header''' ["string"] - is a title for a week at Archived years pages [[Shrines of Secrets of 2016|2016]], [[Shrines of Secrets of 2017|2017]], [[Shrines of Secrets of 2018|2018]], [[Shrines of Secrets of 2019|2019]], [[Shrines of Secrets of 2020|2020]], [[Shrines of Secrets of 2021|2021]]
  +
* '''text''' ["string"] - is text appearing under a header at archives pages of that week
  +
* '''hideVersion''' [true/false] - is a flag whether the v.# should be hidden or not. It's used in combination of custom header and offset so the next week won't have suffix v.2
 
{{clear}}
 
{{clear}}
 
{{doc/end}}
 
{{doc/end}}
  +
  +
[[pl:Moduł:Datatable/SoS]]
  +
[[it:Modulo:Datatable/SoS]]

Revision as of 18:08, 9 January 2021

Template-info Documentation

This documentation explains how the Shrine of Secrets Module works and is to be used:

Formatting

{ID#1, ID#2, ID#3, ID#4},

IDs

Each Teachable Perk has a unique numerical ID, which can be looked up in the Documentation.

  • ID#1: 1st Teachable Perk
  • ID#2: 2nd Teachable Perk
  • ID#3: 3rd Teachable Perk
  • ID#4: 4th Teachable Perk

Example

Adding new like with current perk IDs like this:

sos = {
	{1, 4, 7, 10},
	{26, 75, 82, 103},
	{46, 62, 73, 84},
	{2, 52, 90, 91},
	...

Attention! Do not remove any already existing row of previous weeks!

will update current Shrine of Secrets table like this: Script error: The function "ManualSoS" does not exist.

Editing the Interwiki Shrines

If you are about to update the weekly Shrine, please consider doing so also for the other languages this wiki exists in. Here's how to go about that. If the wiki is using the old Template system then the logic is pretty same the - you write appropriate IDs
in the format {{sos|1|4|7|10}} on the page you get redirected to:


German Wiki

  1. Go to the German Shrine of Secrets
  2. Insert the correct IDs into the Template.

Spanish Wiki

  1. Go to the Spanish Shrine of Secrets
  2. Insert the correct IDs into the Template and change the next update date in the siguiente field (next in spanish).

Italian Wiki

  1. Go to the Italian Shrine of Secrets
  2. Add a new line of correct IDs into the Module.

Polish Wiki

  1. Go to Polish version of Module (Left sidebar - In Other Languages)
  2. Add a new line of correct IDs into the Module.

Portuguese Wiki

  1. Go to the Portuguese Shrine of Secrets
  2. Insert the correct IDs into the Template.

Chinese Wiki

  1. Go to the Chinese Shrine of Secrets
  2. Insert the correct IDs into the Template.


Optional Parameters

There are several optional parameters that can be added after a quartet of perk IDs:

  • offset [-1 - -∞] - is moving the Shrine of Secrets to the previous week if needed. Theoretically moving backward should work that far as the inception of SoS, however, It's not tested for more than -2.
  • color clr values - is determining which color is used in Shrine of Secrets calendar table at Shrines of Secrets Archive.
  • notice ["string"] - is a title for a week at SoS calendar table.
  • header ["string"] - is a title for a week at Archived years pages 2016, 2017, 2018, 2019, 2020, 2021
  • text ["string"] - is text appearing under a header at archives pages of that week
  • hideVersion [true/false] - is a flag whether the v.# should be hidden or not. It's used in combination of custom header and offset so the next week won't have suffix v.2

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.