Template:WorldSuffix: Difference between revisions

From EarthMC
Jump to navigation Jump to search
(Created template)
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{#count:{{FULLPAGENAME}}|Aurora}} | 0 |
<includeonly>{{#ifeq: {{#count:{{FULLPAGENAME}}|(Aurora)}} | 0 |{{#ifeq: {{#count:{{FULLPAGENAME}}|(Nova)}}| 0 |{{#ifeq: {{#count:{{FULLPAGENAME}}|(Classic)}}| 0 |<!-- none matches -->|Classic}}|Nova}}|Aurora}}</includeonly><noinclude>
{{#ifeq: {{#count:{{FULLPAGENAME}}|Nova}} | 0 |
{{#ifeq: {{#count:{{FULLPAGENAME}}|Classic}} | 0 |<!-- none matches -->| (Classic)}}
| (Nova)}}
| (Aurora)}}</includeonly>
<noinclude>
Template that gets the "world suffix" for the current page.
Template that gets the "world suffix" for the current page.



Latest revision as of 01:09, 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.