Template:Category/Meal service

From Miniscope
Jump to: navigation, search

Subobject display template for Category:Meal service.

Renders nothing, on purpose.

The SemanticSchemas dispatcher handles a subobject category in one of two ways. With no has_subobject_display_template on the category, it emits its own #ask against Meal service/subobject-row — one bordered wikitable per serving, stacked in query order rather than by day, headed <h3>Meal Service</h3>. With the field set, it calls that template instead and emits nothing of its own.

Meal services are already rendered — grouped into per-day columns, inside the Food panel — by Template:Category/Workshop logistics via Template:Category/Workshop logistics/meal-day. So this template exists to claim the slot and stay silent. Without it every serving appears twice on the page: once in its day column, once as a raw table at the bottom, and the raw tables are not even in date order.

If Meal service is ever embedded in some other category that does not render it inline, give that category its own display template rather than filling this one in.

Parameters (accepted and ignored):

  • category — "Meal service"
  • page — the container page