btw this Wiki is not meant for a wider audience yet

Template:YYMMDD Infobox: Difference between revisions

From HFGCS Wiki
Jump to navigation Jump to search
Set wrapper to 350px to match infobox width
 
(No difference)

Latest revision as of 01:02, 6 December 2025

YYMMDD Infobox


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

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 stacked on top of each other (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