Template:DailyForecastLogRow: Difference between revisions

From Ephinea PSO Wiki
m (typo)
(Added note on current excess logging)
Line 10: Line 10:
It is possible to omit fields other than date, but it is good practice to instead omit the field values if missing for today's forecast to prevent user-created errors.
It is possible to omit fields other than date, but it is good practice to instead omit the field values if missing for today's forecast to prevent user-created errors.


Note: This substitution currently exhibits undesired excess logging, but shouldn't have an adverse visual effect on tables.
==Examples==
==Examples==
<pre>
<pre>

Revision as of 20:30, 1 January 2022

|- ||||||

Usage

This template must be substituted,
with the intention of writing to the page source table directly and, if the optional date field is used, print the at-time-of-submission day-month-year date properly.

Meant for simple insertion/replacement in the Daily Forecast log page, which will update the Main Page's Template:DailyForecast transclusion indirectly.
It is possible to omit fields other than date, but it is good practice to instead omit the field values if missing for today's forecast to prevent user-created errors.

Note: This substitution currently exhibits undesired excess logging, but shouldn't have an adverse visual effect on tables.

Examples

{| class="wikitable" style="text-align: center;"
! Profession !! Race !! Gender
{{subst:DailyForecastLogRow|job=Forces|race=Newmans|sex=Males}}
|}
Profession Race Gender
Forces Newmans Males
{| class="wikitable sortable" style="text-align: center;"
! Date !! class="unsortable" | Profession !! class="unsortable" | Race !! class="unsortable" | Gender
{{subst:DailyForecastLogRow|job=|race=Droids|sex=|date}}
|}
Date Profession Race Gender
1 January 2022 Droids