Template:YYMMDD Infobox

From HFGCS Wiki
Revision as of 03:00, 10 December 2025 by Maintenance script (talk | contribs) (Update Group article links to new 'Group # EAM' names)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
YYMMDD Infobox


NCS Callsign
STRATCOM Callsign
P1 P2 P3 P4
??Verify? ??Verify? ??Verify? ??Verify?

Creates an infobox for YYMMDD date pages with EAM prefix information

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

Optional title for the infobox. If left blank, defaults to the page name.

Stringoptional
Formatformat

Set to 'skymaster' for red text on black background in the header. Omit for default white text.

Stringoptional
Image(s)image

Can accept single or multiple images/videos. For multiple items, separate with commas. Use 'Label:Filename.jpg' format for custom tab labels. Supports YouTube shortcuts: 'yt:VIDEO_ID' or 'yt-VIDEO_ID'. ※ If you are only providing a single VIDEO_ID, you MUST include a comma afterward.

Stringsuggested
Captioncaption

Optional caption text for the image(s)

Stringoptional
NCS Callsignncs

NCS callsign (displayed in monospace font)

Stringsuggested
STRATCOM Callsignstratcom

STRATCOM callsign (displayed in monospace font)

Stringsuggested
P1 Prefixp1

Group 1 prefix. Can use comma-separated values for transition days (e.g., 'CD,EF'). Use '0' to display as inactive. Leave blank to show '??Verify?'

Stringsuggested
P2 Prefixp2

Group 2 prefix. Can use comma-separated values for transition days (e.g., 'CD,EF'). Use '0' to display as inactive. Leave blank to show '??Verify?'

Stringsuggested
P3 Prefixp3

Group 3 prefix. Can use comma-separated values for transition days (e.g., 'CD,EF'). Use '0' to display as inactive. Leave blank to show '??Verify?'

Stringsuggested
P4 Prefixp4

Group 4 prefix. Can use comma-separated values for transition days (e.g., 'CD,EF'). Use '0' to display as inactive. Leave blank to show '??Verify?'

Stringsuggested

Usage

{{Infobox_ymd_right_infobox
|title=         <-- Optional; leaving it blank will default it to the page name)
|format=        <-- Optional; set to 'skymaster' for red text on black background, omit for default.
|image=         <-- Can accept multiple images, videos and/or any combination; see next section for info.
|caption=       <-- Optional caption text.
|ncs=           <-- NCS callsign, will display as monospace typeface
|stratcom=      <-- STRATCOM callsign, will display as monospace typeface
|p1=AB          <-- Group 1 prefix; will display as expected (monospace typeface, automatic wikilinked)
|p2=CD,EF       <-- Group 2 prefix; will display with arrow separator (CD→EF) for transition days
|p3=            <-- Group 3 prefix; will display as "??^Verify?", prompting verification
|p4=0           <-- Group 4 prefix; will display as ╳ and greyed out
}}

Multiple Images or Videos with Tabs

You can include multiple images or videos that will be displayed as tabs:

|image=Daytime:Photo1.jpg, Night Shot:Photo2.jpg, Closeup:Photo3.jpg

Image Syntax

  • Single image: |image=Filename.jpg
  • Multiple images: |image=Tab1:File1.jpg, Tab2:File2.jpg, Tab3:File3.jpg
    • Separate images with commas
    • Each image can have a custom tab title before the colon (:)
    • If no tab title is provided, defaults to "Tab 1", "Tab 2", etc.

YouTube Video Shortcuts

  • Full syntax: {{#ev:youtube|VIDEO_ID|350}}
  • Shorthand: yt:VIDEO_ID or yt-VIDEO_ID (by default, it will be set to 350px; to match the default width of the infobox)
  • Auto-sizing: If you use {{#ev:youtube|VIDEO_ID}} without width, it will automatically be set to 350px
  • Example with tabs:
|image=TIMECARD:yt:oIwHax40NiM, 251028B:yt:RiA7Fe547WI, 251029A:yt:-9r6Hv_58UI

Caveats

  • If you wish to include a single video in the image field, you must include a comma after the entry or it will fail to load. For example, |image=Video:yt:9yCEYQeMqJc will not appear in the infobox for lack of a comma.


See also