Template:WorldSuffix: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
m (Fixed issue)
Line 1: Line 1:
<includeonly>{{#ifeq: {{#count:{{FULLPAGENAME}}|Aurora}} | 0 |{{#ifeq: {{#count:{{FULLPAGENAME}}|Nova}} | 0 |{{#ifeq: {{#count:{{FULLPAGENAME}}|Classic}} | 0 |<!-- none matches -->| (Classic)}}| (Nova)}}| (Aurora)}}</includeonly>
<includeonly>{{#ifeq: {{#count:{{FULLPAGENAME}}|(Aurora)}} | 0 |{{#ifeq: {{#count:{{FULLPAGENAME}}|(Nova)}} | 0 |{{#ifeq: {{#count:{{FULLPAGENAME}}|(Classic)}} | 0 |<!-- none matches -->| Classic}}| Nova}}| Aurora}}</includeonly>
<noinclude>
<noinclude>
Template that gets the "world suffix" for the current page.
Template that gets the "world suffix" for the current page.

Revision as of 01:49, 21 May 2022


Template that gets the "world suffix" for the current page.

In a page named "La Plata (Aurora)", this would return "Aurora"

This only returns Aurora, Nova, Classic, or nothing otherwise.