Template:Badge data/doc: Difference between revisions
Jump to navigation
Jump to search
(→See also: see also) |
(→Example: add multiple zone example) |
||
Line 4: | Line 4: | ||
Sets data properties for badges that aren't set elsewhere on the page. | Sets data properties for badges that aren't set elsewhere on the page. | ||
== | ==Examples== | ||
===Single zone, single location=== | |||
On the [[Top Dog Badge]] page: | On the [[Top Dog Badge]] page: | ||
Line 15: | Line 17: | ||
| y = 319.7 | | y = 319.7 | ||
| z = -319.5 | | z = -319.5 | ||
}}</pre> | }} | ||
</pre> | |||
Places the page in [[:Category:Atlas Park Exploration Badges]], and sets the properties: | Places the page in [[:Category:Atlas Park Exploration Badges]], and sets the properties: | ||
{{#ask:[[Top Dog Badge]]|?Has index|?Has coordinates}} | {{#ask:[[Top Dog Badge]]|?Has index|?Has coordinates}} | ||
===Mutiple zones=== | |||
On the [[Rail Rider Badge]] page: | |||
<pre> | |||
{{badge data | |||
| index = 1411 | |||
| category = Exploration | |||
| zone = Nova Praetoria | |||
| x = -4551.0 | |||
| y = -187.6 | |||
| z = 469.5 | |||
| zone 2 = Imperial City | |||
| x 2 = -2384.0 | |||
| y 2 = -238.6 | |||
| z 2 = 755.5 | |||
| zone 3 = Neutropolis | |||
| x 3 = 2226.0 | |||
| y 3 = -213.1 | |||
| z 3 = 1111.0 | |||
}} | |||
</pre> | |||
Places the page in [[:Category:Nova Praetoria Exploration Badges]], [[:Category:Imperial City Exploration Badges]], and [[:Category:Neutropolis Exploration Badges]], and sets the properties: | |||
{{#ask:[[Rail Rider Badge]]|?Has index|?Has coordinates}} | |||
==See also== | ==See also== |
Revision as of 17:47, 25 May 2022
Sets data properties for badges that aren't set elsewhere on the page.
Examples
Single zone, single location
On the Top Dog Badge page:
{{badge data | index = 90 | category = Exploration | zone = Atlas Park | x = 131.0 | y = 319.7 | z = -319.5 }}
Places the page in Category:Atlas Park Exploration Badges, and sets the properties:
Has index | Has coordinates | |
---|---|---|
Top Dog Badge | 90 | Atlas Park (131.0, 319.7, -319.5) |
Mutiple zones
On the Rail Rider Badge page:
{{badge data | index = 1411 | category = Exploration | zone = Nova Praetoria | x = -4551.0 | y = -187.6 | z = 469.5 | zone 2 = Imperial City | x 2 = -2384.0 | y 2 = -238.6 | z 2 = 755.5 | zone 3 = Neutropolis | x 3 = 2226.0 | y 3 = -213.1 | z 3 = 1111.0 }}
Places the page in Category:Nova Praetoria Exploration Badges, Category:Imperial City Exploration Badges, and Category:Neutropolis Exploration Badges, and sets the properties:
Has index | Has coordinates | |
---|---|---|
Rail Rider Badge | 1,411 | Nova Praetoria (-4,551.0, -187.6, 469.5) Imperial City (-2,384.0, -238.6, 755.5) Neutropolis (2,226.0, -213.1, 1,111.0) |
See also
- Property:Has index
- Property:Has coordinates
- {{sort order}} and Property:Has sort position
- {{badge display}} - sets properties for visible data, e.g. icon, title, description