- This wiki is very much under construction. The original wiki was set to be shut down and the wiki was largely mirrored to a Fandom-based version, though most of the reference images had not yet been copied over. This migration was put on hold when it appeared the original wiki could in fact be retained, however the old wiki was lost in its entirety when the server was among the many taken down by a massive series of cyberattacks on data centers during early February, 2023. It is now being rebuilt with the launch of Hel. Sorry if it's a little messy right now!
Mascot Ariel Kid.png

Template:PageRefHel: Difference between revisions

From Drowtales
Jump to navigation Jump to search
(Created page with "<noInclude>Category:Editor ToolsSet the starting page ID for each chapter in the following list. The integrity of the generated links can be tested at the test page. </noInclude><includeOnly>{{#vardefine: id |{{#expr: {{{2}}} + {{#switch: {{{1}}} </includeOnly> | 1 = 1 {{#ifexpr: {{{2|0}}} > 8 | + 1 |}}{{#ifexpr: {{{2|0}}} > 30.5 | + 1|}}{{#ifexpr: {{{2|0}}} > 37.5| + 1|}} <includeOnly> round 0}}}}}}{{#ifexpr: {{#var: id}} < 0 |&#91...")
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noInclude>[[Category:Editor Tools]]Set the starting page ID for each chapter in the following list. The integrity of the generated links can be tested at the [[Template:PageRefHel/test|test page]].
<noInclude>[[Category:Editor Tools]]Set the starting page ID for each Season in the following list. The integrity of the generated links can be tested at the [[Template:PageRefHel/test|test page]].
</noInclude><includeOnly>{{#vardefine: id
</noInclude><includeOnly>{{#vardefine: id
|{{#expr: {{{2}}} +  
|{{#expr: {{{2}}} +  
Line 5: Line 5:
</includeOnly>
</includeOnly>
   | 1 = 1 {{#ifexpr: {{{2|0}}} > 8 | + 1 |}}{{#ifexpr: {{{2|0}}} > 30.5 | + 1|}}{{#ifexpr: {{{2|0}}} > 37.5| + 1|}}
   | 1 = 1 {{#ifexpr: {{{2|0}}} > 8 | + 1 |}}{{#ifexpr: {{{2|0}}} > 30.5 | + 1|}}{{#ifexpr: {{{2|0}}} > 37.5| + 1|}}
  | 2 = 51
<includeOnly>
<includeOnly>
round 0}}}}}}{{#ifexpr: {{#var: id}} < 0  
round 0}}}}}}{{#ifexpr: {{#var: id}} < 0  
Line 16: Line 17:
   
   
  Example:
  Example:
  <nowiki>{{PageRefHel|1|12}}</nowiki> => {{PageRefHel|1|12}} {{PageRefHel|1|37.5}} {{PageRefHel|1|42}}
  <nowiki>{{PageRefHel|1|12}}</nowiki> => {{PageRefHel|1|12}}
<nowiki>{{PageRefHel|1|30.5}}</nowiki> => {{PageRefHel|1|30.5}}
</noInclude>
</noInclude>

Latest revision as of 19:54, 29 October 2023

Set the starting page ID for each Season in the following list. The integrity of the generated links can be tested at the test page.

 | 1 = 1 
 | 2 = 51


Template for creating perma-links to a Helstory page in main archive.

Usage:
{{PageRefHel | <season number> | <episode number> | <custom title (optional)>}}

Example:
{{PageRefHel|1|12}} => Season 1, Episode 12
{{PageRefHel|1|30.5}} => Season 1, Episode 30.5