Template:YYMMDD Infobox
Creates an infobox for YYMMDD date pages with EAM prefix information
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Optional title for the infobox. If left blank, defaults to the page name. | String | optional |
| Format | format | Set to 'skymaster' for red text on black background in the header. Omit for default white text. | String | optional |
| 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. | String | suggested |
| Caption | caption | Optional caption text for the image(s) | String | optional |
| NCS Callsign | ncs | NCS callsign (displayed in monospace font) | String | suggested |
| STRATCOM Callsign | stratcom | STRATCOM callsign (displayed in monospace font) | String | suggested |
| P1 Prefix | p1 | 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?' | String | suggested |
| P2 Prefix | p2 | 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?' | String | suggested |
| P3 Prefix | p3 | 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?' | String | suggested |
| P4 Prefix | p4 | 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?' | String | suggested |
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_IDoryt-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:9yCEYQeMqJcwill not appear in the infobox for lack of a comma.
See also
- Auxiliary:YYMMDD Infobox Usage List – Complete list of all YYMMDD pages and values entered