Webtags/Parameters: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
38 bytes removed ,  05:58, 3 October 2022
m
Line 141: Line 141:


=== Multiple Output Format Modifier parameters for times and dates ===
=== Multiple Output Format Modifier parameters for times and dates ===
Output modification parameters for times and dates are highly complicated!


To start with a simple example, suppose you want date/time in ISO 8601 format:
To start with a simple example, suppose you want date/time in ISO 8601 format:
# This means, something like ''2019-02-28 06:59:05''.
# This means, something like ''2019-02-28 06:59:05''.
# Take the tag name (from tables on [[Webtags]] page)
# Take the tag name (from tables on the [[Full_list_of_Webtags|Full list of Webtags]] page)
# Next check in [[#Which tag names take date/time output formatting modifiers]] to see if that tag accepts both time and date modifiers
# Next check in [[#Which tag names take date/time output formatting modifiers]] to see if that tag accepts both time and date modifiers
# If your tag name does accept both date and time modifiers, simply modify the web tag as shown here <code><#tag_name format="yyyy-MM-dd HH:mm:ss"></code> where tag_name is set from step 1, but all the rest is typed as shown.
# If your tag name does accept both date and time modifiers, simply modify the web tag as shown here <code><#tag_name format="yyyy-MM-dd HH:mm:ss"></code> where tag_name is set from step 1, but all the rest is typed as shown.

Navigation menu