Module:category tree/topic/Nature: Difference between revisions
m →top: clean up |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 333: | Line 333: | ||
} do | } do | ||
local color, desc = unpack(color_etc) | local color, desc = unpack(color_etc) | ||
desc = desc or ("[[wikt:%s|%s]]"):format(color) | desc = desc or ("[[wikt:%s|%s]]"):format(color, color) | ||
labels[color .. "s"] = { | labels[color .. "s"] = { | ||
type = "set", | type = "set", | ||
| Line 791: | Line 791: | ||
labels["moons of " .. planet] = { | labels["moons of " .. planet] = { | ||
type = "name", | type = "name", | ||
description = ("=[[wikt:moon|moon]]s that orbit [[wikt:%s|%s]]"):format(planet), | description = ("=[[wikt:moon|moon]]s that orbit [[wikt:%s|%s]]"):format(planet, planet), | ||
parents = {"moons"}, | parents = {"moons"}, | ||
} | } | ||