Template:Front page news: Difference between revisions
From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
The front page's news block: photo and headlines, shown when Template:NewsMode says on (magent, 11 Nov) (via create-page on MediaWiki MCP Server) |
Photo column takes only its own width; the news takes the rest of the row (Justin, #pickipedia-style-and-main-page) (via update-page on MediaWiki MCP Server) |
||
| Line 3: | Line 3: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly><div style="display:flex; flex-wrap:wrap; gap:1. | </noinclude><includeonly><div style="display:flex; flex-wrap:wrap; gap:1.2em 2em; align-items:flex-start; margin:1.2em 0 .4em;"> | ||
<div style="flex:0 | <div style="flex:0 0 auto; max-width:300px;"> | ||
{{NewsPhoto}} | {{NewsPhoto}} | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
</div> | </div> | ||
<div style="flex:1 1 | <div style="flex:1 1 360px; min-width:260px;"> | ||
<div style="font-family:ui-monospace,Menlo,Consolas,monospace; font-size:.72em; letter-spacing:.16em; text-transform:uppercase; color:#9a3b1b; font-weight:600; margin-bottom:.4em;">News</div> | <div style="font-family:ui-monospace,Menlo,Consolas,monospace; font-size:.72em; letter-spacing:.16em; text-transform:uppercase; color:#9a3b1b; font-weight:600; margin-bottom:.4em;">News</div> | ||
<div style="font-family:Georgia,'Iowan Old Style',Charter,serif; font-size:1.08em; line-height:1.5;"> | <div style="font-family:Georgia,'Iowan Old Style',Charter,serif; font-size:1.08em; line-height:1.5;"> | ||
Latest revision as of 00:13, 12 November 2026
The news block of Template:Front page: the photo from Template:NewsPhoto and the headlines from Template:NewsShorts, side by side. Shown only while Template:NewsMode says on. It is its own template so the switch in the front page stays a one-liner.