Template:ProductLineInfobox: Difference between revisions
Quietrebel (talk | contribs) No edit summary |
Quietrebel (talk | contribs) No edit summary |
||
| Line 78: | Line 78: | ||
<!-- LOGO / PLACEHOLDER --> | <!-- LOGO / PLACEHOLDER --> | ||
<tr><td colspan="2" style="background:#1E2B7A; padding:8px; text-align:center; border-bottom:1px solid rgba(255,255,255,0.2);">{{#ifexist:File:Logo-ProductLine-{{{line_slug|}}}. | <tr><td colspan="2" style="background:#1E2B7A; padding:8px; text-align:center; border-bottom:1px solid rgba(255,255,255,0.2);">{{#ifexist:File:Logo-ProductLine-{{{line_slug|}}}.jpg | ||
| [[File:Logo-ProductLine-{{{line_slug|}}}. | | [[File:Logo-ProductLine-{{{line_slug|}}}.jpg|260px|center|{{{line_name|}}} logo]] | ||
| <div style="border:1px dashed rgba(255,255,255,0.4); border-radius:3px; padding:10px 8px;"><div style="color:#ffffff; font-weight:bold; font-size:1.05em; margin-bottom:4px;">{{{line_name|}}}</div><div style="color:rgba(255,255,255,0.5); font-size:0.8em; font-style:italic;">No logo yet — [{{fullurl:Special:Upload|wpDestFile=Logo-ProductLine-{{{line_slug|}}}}} Upload logo]</div></div> | | <div style="border:1px dashed rgba(255,255,255,0.4); border-radius:3px; padding:10px 8px;"><div style="color:#ffffff; font-weight:bold; font-size:1.05em; margin-bottom:4px;">{{{line_name|}}}</div><div style="color:rgba(255,255,255,0.5); font-size:0.8em; font-style:italic;">No logo yet — [{{fullurl:Special:Upload|wpDestFile=Logo-ProductLine-{{{line_slug|}}}.jpg}} Upload logo]</div></div> | ||
}}</td></tr> | }}</td></tr> | ||
Latest revision as of 15:51, 24 April 2026
Template:ProductLineInfobox[edit source]
Infobox for Product Line category pages. Navy color scheme throughout. Single unified structure across all 8 product lines — no variant flags needed. The logo is integrated as the top row of the infobox table.
Control system compatibility is handled separately by Template:ProductLineCompatTable/[LineName] — a standalone table below the prose showing eras as columns with checkbox rows.
Requires: ParserFunctions extension (ships with MediaWiki 1.39, enabled by default).
Usage[edit source]
{{ProductLineInfobox
| line_name =
| line_slug =
| price_point =
| years_active =
| scale =
}}
Parameters[edit source]
| Parameter | Description | If Empty |
|---|---|---|
line_name |
Full official product line name e.g. Lionel Legacy | — |
line_slug |
Short slug for logo filename e.g. Legacy, LionMaster, LionChiefPlus2. Filename: File:Logo-ProductLine-[line_slug].svg | (placeholder shown) |
price_point |
e.g. Entry, Mid-range, Premium, Ultra-premium | — |
years_active |
Full span of the line e.g. 2007–present | — |
scale |
e.g. Scale (1:48), Non-Scale, Scale & Non-Scale | — |
Notes[edit source]
- Logo filename constructed as File:Logo-ProductLine-[line_slug].svg
- When no logo file exists, a dashed-border placeholder displays the line name
and an "add one" prompt. Self-contained — no separate utility template needed.
- Control system compatibility is NOT in this template — it lives in
Template:ProductLineCompatTable/[LineName] called separately on the page.
- This template is identical in structure for all 8 product lines.
Product Line Reference[edit source]
| Product Line | line_slug | Price Point | Years Active | Scale |
|---|---|---|---|---|
| Conventional | Conventional | Entry | Pre-2000–2022 | Non-Scale |
| TMCC | TMCC | Mid-range | 2000–2006 | Scale |
| LionChief | LionChief | Entry–Mid | 2013–present | Non-Scale |
| LionChief+ | LionChiefPlus | Mid-range | 2014–present | Non-Scale |
| LionChief+ 2.0 | LionChiefPlus2 | Mid-range | 2019–present | Scale & Non-Scale |
| Legacy | Legacy | Premium | 2007–present | Scale (1:48) |
| LionMaster | LionMaster | Premium | 2004–present | Non-Scale |
| VisionLine | VisionLine | Ultra-premium | 2010–present | Scale (1:48) |
Color Reference[edit source]
Navy throughout.
| Element | Hex |
|---|---|
| Header / logo background | #1E2B7A |
| Alternating rows | #D0D5F0 |